JavaScript Library Overview

​  Last updated: 

In today's digital landscape, providing a smooth and secure online checkout experience is crucial for businesses to thrive. Our JavaScript Library is a powerful solution designed to streamline the integration of payment processing into your web application.

 

What is the JavaScript Library?

The JavaScript Library is a collection of pre-built code that simplifies the process of accepting card payments from your customers. It encapsulates industry best practices and handles complex tasks, such as Strong Customer Authentication (SCA) and secure data transmission, allowing you to focus on enhancing your core product offerings.

  Seamless Integration

Seamlessly integrate secure payment processing, including support for credit/debit cards and digital wallets like Apple Pay and Google Pay.

  Regulatory Compliance

Stay ahead of the curve with built-in support for SCA and PSD2 compliance, ensuring your business meets the latest security and regulatory requirements.

  Secure Data Handling

Sensitive payment data is transmitted directly from the customer's session to Trust Payments in a secure manner, minimising the risk of data being intercepted by bad actors.

  Customisable Checkout

Tailor the checkout user interface to match your brand's look and feel, providing a consistent and engaging experience for your customers.

  Multi-language Support

Cater to a global customer base by offering a localised checkout experience in multiple languages.

  Accelerated Development

Leverage pre-built functionality to save time and effort, allowing your development team to focus on delivering innovative features and enhancing your core product.

Payment flow diagram

Flow diagram: Your server generates the JWT and initialises st.js. User enters their card and st.js processes the payment.

 

Ready to get started?

Use our JavaScript Library to build out your checkout.

Request access to docs   

Was this article helpful?
0 out of 0 found this helpful