2CO Instant payment notification

Discussion in 'PHP' started by Kuna, Oct 16, 2009.

  1. #1
    Hello. I have script like this Someone needs to fill some information first, when he does, he clicks on submit, and then it takes him to 2CO purchase page. When payment is finished url should redirect him to this page
    <input type="hidden" name="x_receipt_link_url" value='./orderconfirmation.php?email=<?php echo "$email"; ?>&link=<?php echo "$link"; ?>&7letterword=<?php echo "$sevenletterword"; ?>&name=<?php echo "$name"; ?>&surname=<?php echo "$surname"; ?>'>
    
    Code (markup):
    But it doesnt, why?
     
    Kuna, Oct 16, 2009 IP
  2. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Don't know anything about 2CO, but perhaps you should add the full URL instead of value='./***' - so change that to value ='http://www.mysite.com/****'

    Don't know if it'll help though..
     
    premiumscripts, Oct 16, 2009 IP
  3. Kuna

    Kuna Well-Known Member

    Messages:
    426
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #3
    I tried that, but it doesn't redirect to
    it redirects only to orderconfirmation.php

    If someone please can help me, I'm struggling
     
    Last edited: Oct 16, 2009
    Kuna, Oct 16, 2009 IP