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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Sep 26, 2013, 12:03 PM
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.