Custom redirect back to web site is going to the default page

tscoff
New Community Member

I created a PayPal button and after a customer pays using that button I want to redirect them back to a page on my web site.  I followed the directions to set up an Auto Return page on my web site named thank_you.php.  That is working perfectly.  However I want to send customers to a custom page where their order details are displayed.

 

I created a page named thankyou.php and I added <input type="hidden" name="return" value="https://www.example.com/thankyou.php?id=xx"> to the form for the PayPal button.  When I used Firebug to monitor the network calls, that input is passed to PayPal as one of the POST parameters.

 

Unfortunately the generic thank_you.php page is displayed after a customer completes their purchase instead of the customized thankyou.php page which has the details of their order for them.

 

What am I doing incorrectly and what do I need to change please?  Thank you very much!!

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.