Verify Paypal Script... PHP Autosubmit

All,

I am implementing a Paypal payment solution for a nonprofit organization. Paypal’s documentation suggests using hidden input fields to pass variables to their servers. I am not comfortable doing this. I would like to have the users information (eg. Name, Address, Amount etc) to a page on my server and submit the Paypal form after validation. Is there any PHP function which will allow me to submit a form without a user event?

Thank you for you help,
Bob

I have been there - I was told there are 3 options - Javascript, stream_context, and cURL. cURL is not available on my server, I couldn’t get the stream_context to work, so I used javascript.

Reference:
http://www.php.net/stream
http://www.php.net/curl

Have you tried using the Paypal IPN before, all you need to do is pass 1 identifying variable to it and IPN then send the $_POST data back to the file specified in the IPN and that file is where you figure out the variables.

Maybe i should ask if you can use IPN first, LOL

Have you tried using the Paypal IPN before, all you need to do is pass 1 identifying variable to it and IPN then send the $_POST data back to the file specified in the IPN and that file is where you figure out the variables.

Maybe i should ask if you can use IPN first, LOL

Actually, Paypal might just have some external interface for applications. E-Bay does, and they own paypal…

Try to find something about SOAP or XML-RPC.

Sponsor our Newsletter | Privacy Policy | Terms of Service