Learn how to verify transactions using the transaction ID
After charging your customer, you need to verify if the payment was successful before giving value to your customer. You must issue a transaction ID for every transaction.
Here are some important things to look out for when verifying the payment:
- Verify the transaction reference
- Verify the status of the transaction to be
- Verify the
currencyto be the expected currency
- Most importantly validate the amount paid to be equal to or at least greater than the amount of the value to be given
Here is a sample code of how to implement server-side validation in different programming languages:
Checkout Modal Customizations
Authorization: Bearer [PUBLIC_KEY]
Here is a simple verification response
Join Developers Channel on Slack
Join our developers channel to stay up to date on latest news and features. Find answers to your problems and network with other developers. Join Developers Channel.