Checkout SDK

Checkout SDK enables users to checkout on a third-party platform with a bank transfer and BNPL(buy now and pay later) option.

Checkout SDK enables users to checkout on a third-party platform with a pay with transfer and buy now and pay later option.

Checkout SDK is the client-facing project of Checkout SDK, written in Javascript It enables products to do more with payments in general.

Steps

For Pay with Transfer

The checkout experience for a user on Duplo’s checkout SDK involves the following stages:

  • Payment method option bank transfer (pay-with-transfer)

  • When a user clicks bank transfer a bank details page that shows the account number payment should be made to is displayed and an “I've made payment“ button that takes the user to a verification page.

  • The transaction is confirmed on the verification page.

  • A success or error page is displayed depending on the outcome of the verification.

For BNPL

The checkout experience for a user on Duplo’s checkout SDK involves the following stages:

  • Payment method option buy now pay later (bnpl)

  • When a user clicks Buy Now Pay Later the user will be redirected to the loan details page to confirm the loan details (the payment date, amount, interest rate, and amount payable)

  • If the user confirms the loan agreement, a success page is displayed, and the user is redirected to your website

  • If the user does not confirm the loan agreement, an error page is displayed.

Usage

Include Checkout JS and CSS files in your HTML like so:

For Pay With Transfer

For BNPL

The checkout_info includes the customer’s information and the items in the cart

Last updated

Was this helpful?