Verify Paypal Script... PHP Autosubmit


#1

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


#2

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


#3

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


#4

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


#5

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.