If you initiate a payment, but do not receive a payment response confirmation due to a network error or internet outage, try the following to check the transaction status:
-
Use the GET /transactions endpoint from Judopay’s Transaction API and include yourPaymentReference. and yourConsumerReference.in the request.
This will return a list of transactions associated with those references.
For more information, see Get Transactions. -
Use the GET /webpayments/{reference} endpoint and include the paymentSession reference returned in response to the creation of the session.
For more information, see Get Transactions with paymentSession.
-
Implement Webhooks.
Webhooks notify your system when a transaction or event has taken place. The benefit of using webhooks means you do not need to pull information from the Judopay API for every event.
You can set up webhooks from the Judopay Portal.
For more information on setting up webhooks, see Enable Webhooks.
For more common troubleshooting information, see our Developer Documentation.