Cookie Consent by Free Privacy Policy Generator Update cookies preferences

Production

https://portal.clearpay.co.uk/afterpay.js

Sandbox

https://portal.sandbox.clearpay.co.uk/afterpay.js

The afterpay.js is used to launch the Clearpay screenflow, where the consumer logs in (or registers) then confirms their payment schedule.

📘

Note

Before this JavaScript can be used, the merchant must call Create Checkout from their server backend and retrieve a checkout token. The token is then used in conjunction with this JavaScript to launch the Clearpay screenflow.

📘

Note

It is only after the consumer completes the Clearpay screenflow and returns to the merchant's website that a subsequent Auth or Capture (Without Auth) call can be completed.