CodeIgniter Forums
cleansing query string after third party redirect to my site - 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: cleansing query string after third party redirect to my site (/showthread.php?tid=10209)



cleansing query string after third party redirect to my site - El Forum - 07-22-2008

[eluser]cwpollock[/eluser]
I am trying to get paypal to return a customer to a site.. when it returns it sticks a bunch of query string information on the end:

http://mywebsite.com/paypal/success/?merchantRet.x=Return+To+Merchant&form_charset=UTF-8

This breaks my app. Any thoughts on how to handle this?


cleansing query string after third party redirect to my site - El Forum - 07-22-2008

[eluser]johnwbaxter[/eluser]
Are you using IPN?

In your form you send to paypal, you should have a extra hidden form field with with the name "rm"and the value of "2" which means that the return should be post data.

I hope that helps!


cleansing query string after third party redirect to my site - El Forum - 07-22-2008

[eluser]cwpollock[/eluser]
You know!! I just found that.. but thank you!


cleansing query string after third party redirect to my site - El Forum - 07-22-2008

[eluser]johnwbaxter[/eluser]
No problem.