Best Practices

Best practices you must follow for smoother integration and payment experience.


You can use Curlec Custom Checkout to customise the checkout experience as per your requirements and use it as a white-label solution.

Given below are some of the best practices to be followed for smoother integration and payment experience.

Use Payments Rainy Day kit to overcome payments exceptions such as:

Orders help in binding multiple payment attempts against a single order. This helps to prevent multiple payments.

on your server-side and pass the order_id to Checkout.

Verifying the Signature is a mandatory step that lets you confirm the authenticity of the details returned to the Checkout form for successful payments. Know more about

.

Check the payment/order status, that is, if the payment's status is captured and the order's status is paid before proving the services to the customers.

You can determine payment and order status using:

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. Some of the webhook events you should enable are:

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

Know more about

.

Implement 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.


Is this integration guide useful?