Welcome Guest, Not a member yet? Register   Sign In
Handle GET vars from Paypal PDT
#1

[eluser]ecigraeme[/eluser]
Hi,

I want to implement paypal's PDT on a site I am developing. In paypal you specify a URL on your site that paypal will send the user to after payment. Paypal appends a tx code as a GET variable to the URL you specify, which your site then POSTS back to paypal to verify authenticity.

However this gets messed up because of the way codeignitor handles GET variables.
Just by testing these in my browser I see that

http://www.mydomain.com/dev/index.php/paypal/success
works but
http://www.mydomain.com/dev/index.php/pa...ess?tx=123

gives a CI page not found error.

I am using a windows server so do not have an .htaccess to hide the index.php.

Can anybody suggest a way to capture the tx value from paypal without having to change the enable_query_strings setting for the whole site.

Thanks

Graeme


Messages In This Thread
Handle GET vars from Paypal PDT - by El Forum - 06-25-2009, 05:41 AM
Handle GET vars from Paypal PDT - by El Forum - 06-25-2009, 06:51 AM
Handle GET vars from Paypal PDT - by El Forum - 06-25-2009, 06:55 AM
Handle GET vars from Paypal PDT - by El Forum - 06-25-2009, 09:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB