Start the Checkout Process

When you are ready to redirect the customer to checkout, there are two ways of beginning the checkout experience:

1. Embedded - via Tebex.js

If you'd like the customer to remain on your website to complete their purchase, you're able to integrate Tebex.js, which is our embeddable checkout experience.

Head over to the Tebex.js documentation to get started.

2. External - via Redirect

You may also redirect the customer to an external checkout window using the following URL:

https://pay.tebex.io/{ident}

This is the same as the links.checkout value in a Basket API response. Where {ident} is the ident value returned when creating the basket.

When a customer starts their payment (is redirected to PayPal, provides their card details etc), a copy of the basket at that point in time is converted to a pending payment.

Any changes made to the basket after this point will not be reflected unless the checkout process is re-started.

Last updated