Best Practices for Hosted Checkout Integration

Best practices for a smoother Hosted Checkout web integration and payment experience.

Follow these best practices while integrating with Hosted Checkout:

2. Integrate Orders API🔗

Orders bind multiple payment attempts for a single order. This helps to prevent multiple payments. Integrate with Orders API on your server-side and pass the order_id to Checkout.

5. Implement Webhooks🔗

Implement webhooks or the query API to avoid any cases of callback failure (drop offs could be connectivity or network failure) and to verify the payment details via an S2S call. Know more about Webhooks. You should enable the following webhooks:

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