Best Practices

Follow these Best practices while doing TPV integration.

Given below are some of the best practices to be followed for a smooth TPV integration and payment experience:

5. Use Webhooks🔗

Use Webhooks or API query to avoid any cases of callback failure (drop-offs can be dues to connectivity or network failure) and to verify the payment details using an S2S call. Following are some of the Webhook events you should enable:

  • payment.captured
  • payment.failed
  • order.paid

Know more about Webhooks.

6. Use Callback URL🔗

Use the callback_url if your customers make online payments on browsers such as Instagram, Facebook Messenger, Opera, UC browsers and so on. This is because these browsers do not support i-frame.