Menu

#8 Return URLs don't work

open
matt_t
5
2006-05-09
2006-05-09
Anonymous
No

I've been testing the Paypal module in Sandbox mode,
and when I complete a payment, the URL that Paypal
sends me to is broken. I checked the form values that
were being submitted, and here's what they are:

<input type="hidden" name="return"
value="main.php?g2_view=checkoutpaypal.PaymentComplete"
/>
<input type="hidden" name="cancel_return"
value="main.php?g2_view=checkoutpaypal.PaymentCancelled" />
<input type="hidden" name="notify_url"
value="main.php?g2_controller=checkoutpaypal.IPN&amp;g2_navId=xff9b6ed8"
/>

So, it's not getting the site name in there somehow...
I looked into the module code, and found the form
values. $g->url seems like it only has "main.php" as
it's value, rather than
"www.example.com/gallery2/main.php".

Any updates, please mail me at chris@kilauea.net

Discussion


Log in to post a comment.

MongoDB Logo MongoDB