Our API will notify your web server when the status of a transaction changes.
We will add 2 parameters to the notification:
MultiSafepay will always call the notification_url with the timestamp parameter.
When MultiSafepay calls the notification_url without a timestamp, the call should be ignored.
The call should also be ignored when the same order status is received.
In a request we receive:
This request is done through a GET request.
"order_id": 12345, "notification_url": https://yourdomain.com/index/paymentprovidernotification?invoice_id=840,
When the status of this transaction changes, we will notify the web server with this URL: https://yourdomain.com/index/paymentprovidernotification?invoice_id=840&transactionid=12345×tamp=140292929
Carry out the following 3 tasks within your custom implementation:
As response, MultiSafepay expects an empty page with just OK in the body of the response on this request, with a HTTP 200 OK in the header. When an OK is not received, MultiSafepay will repeat this notification. The notification with timestamp is repeated twice within 15 minutes.
Please make sure that our IP ranges is authorized to process the notification URL.
When our systems call the code at your notification_url, your code can perform a GET request on our API to receive the actual status of the transaction. The field status is relevant for further processing of the order.