Redirect To Checkout

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

External Redirect

Redirect the customer to an external checkout window using the following URL:

https://checkout.tebex.io/checkout/{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.

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.

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 - the webhook sent to the server will contain the details of the actual items purchased (the basket at the point of payment). It is important to verify that webhook contents always match the items and amount you are expecting.

Last updated