MBWay Auth Notification Updated on 19-11-2018

Workflow of MBWay authorization notification.

1 - easypay call your URL

When your client confirm the authorization, easypay call your "Url de Notificação de autorização MBWAY” / "MBWAY auth Notification".
You can configure this URL on easypay's backoffice under "URL Configurations"

Example URL

http://www.yoursite.com/your/mbway-auth-notification_url.php?username=USER010101&cin=9999&entity=10611&reference=999907995&key=3&type=auth&status=success&status_message=Sucesso: Operação concluida com sucesso&token=gU5a34d6rbnahOGcdQypMJpZt6m0cdX7

Parameters

username USER of the payment received.
Example value: USER010101
cin CIN of the autorization received.
Example value: 9999
entity entity of the autorization received.
Example value: 10611
reference reference of the autorization received.
Example value: 999907995
key An identifier of the order corresponding to this autorization request.
Example value: 3
type Operation type of autorization received.
Example value: auth
status status of the autorization received.
Example value: success
status_message Autorization detail received.
Example value: Sucesso: Operação concluida com sucesso
token The hash of the autorization received.
Example value: gU5a34d6rbnahOGcdQypMJpZt6m0cdX7

2 - Request payment (capture)

Once you have recived the confirmation of the autorization, you can follow the step 4 Request payment (capture)