CodeIgniter Forums
Help with paypal - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Help with paypal (/showthread.php?tid=6303)



Help with paypal - El Forum - 02-21-2008

[eluser]steelaz[/eluser]
I'm working with paypal_lib library from wiki, but this might be irrelevant.

Payment process seems to work fine. I am logging status 'VERIFIED' and all the vars from POST array.

My problem is with returning to the success page. After payment is processed and I click on 'Return to website' (or something similar), instead or returning to the page specified in paypal form:

name="return" value="http://www.domain.com/index.php?/paypal/success"

I get redirected to:

http://www.domain.com/index.php?tx=765486548686&st=Completed&amt=1.00&cc=USD&cm=1234567890&item_number=6941&/paypal/success=&tx=2EE09636YC459914F&st=Completed&amt=1.00&cc=USD&cm=1234567890&item_number=6941&sig=LnpJ2yunkp1i9IkXnFehnweLwKh ... etc

Is paypal cutting everything past '.php?' ? And why is it dumping all vars to URI instead of sending POST?


Sorry if this is something obvious, I'm new to paypal.


Help with paypal - El Forum - 02-21-2008

[eluser]steelaz[/eluser]
Nevermind, I had 'Payment Data Transfer' turned on in 'Website Payment Preferences'. Turned it off and everything works fine now.