In-context checkout

In-context checkout makes it easier than ever to pay online using a modal window. Customers never lose sight of your store during this seamless checkout.

<script>
  options = {
    locale: 'en'
  };

  postpay.checkout('{checkoutToken}', options);
</script>

Parameter

Type

Description

token

String❗

The checkout token generated by Postpay API.

locale

String

The locale code, options are en (English) and ar (Arabic). Default: the value defined in the [initialization](quickstart).

<demo/>