Before proceeding, please ensure you have met all requirements
Click here to open this information in a new tab
Our JavaScript Library is used to process e-commerce payments from your website, providing a seamless and secure checkout experience for your customers. This solution offers full support for Secure Customer Authentication (SCA) (required by PSD2 mandate). It can be integrated with single or multi-page applications that have been tested with AngularJS, React, Vue.js, React Native.
Please follow the steps below to configure your e-commerce solution to accept payments using our JavaScript Library:
1. Configure the payment form and initialise the Library
You will need to update your server-side payment form to include our “st.js” JavaScript Library. The JavaScript Library will process requests and handle the responses returned. When the customer enters their payment details into your form and submits, our st.js will contact the card issuer to determine if the card is enrolled. If the card issuer determines that there is an elevated risk of fraud, an overlay will automatically be displayed to the customer where they will be prompted for authentication.
2. Construct the JSON Web Token
JSON Web Tokens are an open, industry standard RFC 7519 method for securely transmitting data between two parties.
3. Configure webhooks
We recommend you configure webhooks to ensure you are notified of transactions processed on your account.
4. Process your first transaction
Once you have updated your payment form and configured the library, you can process a test card payment through our sandbox.
Once you have completed the steps above, we recommend returning to the Getting started page to learn more about enabling add-ons, testing your solution and going live.