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


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

works but

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.



[eluser]Phil Sturgeon[/eluser]
Search is a wonderful thing.

How to use URI Segments and Query Strings in the same project

Great stuff thank you.

Obviously I need to sharpen up my search skills.

Have been practising my search skills all day now. Have discovered a site called google that is especially good.

Hope that helps someone

Theme © iAndrew 2016 - Forum software by © MyBB