Instant payment notification
Last updated
Last updated
A notification is a callback. A gateway sends it back to you to let you know about changes. It could be due a refund or pending payment acceptance. The diagram shows two examples where notification could be very handy:
If you follow get it started and used a payum builder to create paypal gateway, you do not have to care about notify url. Payum does it for you. You just have to make sure notify script is accessible from web.
The model will be updated automatically once the notification is sent. What you have to do is add an extension to detect payment status changes, and act accordingly.
Here's an example of the extension:
Payum is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our customers. If you'd like to join them, please consider: