adamdixon-idooh Posted March 3, 2014 Share Posted March 3, 2014 Hi, I am creating a site that allows users to upload items they have for sale for a small charge (similar to gumtree). I intend to create a page that the user can fill in the information about the item. What I want to do is when they hit the NEXT button they can pay the small charge via Paypal before the information is uploaded to the database. I intended to create a button using the Paypal merchant services that once pressed takes the user to Paypal so they can pay. They would then be taken back to the sites payment confirmation page and their information would be uploaded to the database but I am not sure about the following When the user presses the paypal button and taken to pay will the information they have inputted (stored in variables) be lost when they come back to the payment complete page as they have left the site before returning? If so, how can I stop this or is there another way to do this. Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
gristoi Posted March 3, 2014 Share Posted March 3, 2014 store the data in the db before making the request to paypal , but set a flag to say payment not received Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.