I'm working on a form in php. A user will enter in info and based on that info a second page will either send the form via email or required the user to pay X dollars for the service using PayPal before the info is sent. My problem/issue is that when the user clicks to pay via PayPal they are redirected to PayPal's site and then redirected back to a predetermined page on our site once payment has been finalized. Is the information from the form still accessible once they leave our site and come back? I'd hate to have the user reenter their info again.
Thanks, Nick
No. You will need to store the data somewhere, and track the user with a session. You can also have paypal post most of the payment data back to your form, if that will help.
How is that typically stored? In a database? Cookies? How do you call up that info again after coming back from an external site?
The payment info itself isn't that important right now. I need the form info to be recalled to send.
If there's no sensitive data in your form, the easiest way would be to use a cookie - then when they come back, you can just read the cookie.
No, they will have their name, address, and email. So am I basically looking at storing this info in a db?