Search
K
Comment on page

Redirect To Checkout

When you are ready to redirect the customer to checkout, use 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.
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.