I am using Paypal getway in our project.
My question is that if we has been successful payment then store items detail in database and go to confirmation page. and if Payment is not successful the all item detail show on Unconfirmation page.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Posted Sep 26, 2013, 8:03 AM EDT
You need to use paypay response to decide it.
If the payment is unsuccessful you can remove / shop the items in shopping cart.
Once the payment is success, you empty the shopping cart and update the database also.
https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/integration-guide/ECGettingStarted/
https://developer.paypal.com/webapps/developer/docs/classic/api/NVPAPIOverview/
Please let me know, if you need more information.