Issue 40: PayPal back to merchant link broken
Status:  Fixed
Owner: ----
Closed:  Jun 2008
Reported by rayvi...@gmail.com, Mar 6, 2008
What steps will reproduce the problem?
1. Set up for PayPal test mode
2. Place and pay for an order 
3. Click the link to return to merchant

What is the expected output? What do you see instead?
It tries to go to localhost:port/blah... instead of mydomain.com/blah

What version of the product are you using? On what operating system?
Substruct 1.0.a2, Ubuntu Feisty

Please provide any additional information below.
I set up Apache to proxy balance requests to mongrel instances running on
multiple ports on the same server.  I guess when Substruct makes the call
to PayPal, PayPal uses some HTTP header to determine the URL to go back to
merchant, and this happens to be set to localhost:port.

How can I override that to be mydomain.com ?
Mar 7, 2008
#1 rayvi...@gmail.com
Fix the paypal return link in _paypal_cart.rhtml
Applicable if you are running substruct behind apache in reverse proxy
paypal_return_link.diff
752 bytes   View   Download
Jun 14, 2008
Project Member #2 subim...@gmail.com
Thanks for the patch. Fixed with r87
Status: Fixed