Server to server notification V1(call back request)

FawryPay system will send an HTTP request to your system once the order created/paid/canceled/expired/delivered.

You can optionally implement a service to receive this request so that you can avail the service to the customer or update your stock automatically.

http://MerchantURL/merchatCallbakPage?MerchantRefNo=123456&FawryRefNo=9990076204&OrderStatus=NEW&Amount=300.0&MessageSignature=5AD9731AE0FF009D586E6FB1F5CE26F8

You need to provide us with the callback notification URL for both integration and production

Request Parameters:

FawryRefNo The reference number of the order on FawryPay system which is displayed to the customer and used during the payment.
MerchnatRefNo The reference number of the order on merchant's system which passed through loadFawryPluginPopup()
OrderStatus NEW, PAID, CANCELED, DELIVERED, REFUNDED, EXPIRED
Amount The amount value received from merchant to be paid by the customer, the merchant can use it to verify that the customer pay the required amount to enable the service to the customer.
Message Signature The MD5 digested for the following concatenated string fawryRefNo + merchantRefNum + orderStatus amount(in two decimal format 10.00) + secureKey
Response Body:

FawryPay check on the http response status so return empty response and in case of http response status 200 the call back will marked as delivered else FawryPay will keep send for configured number of retries