Migrating st.js from version 1 to version 3

  Last updated: 

 

We have introduced a new version of the JavaScript Library, which we refer to as st.js v3.

To learn how to migrate your solution from JavaScript Library version 1 to version 3, please refer to the guidance linked below:

 


 

Why should you upgrade from version 1?

  • The v1 library will be discontinued for ECOM and MOTO payment solutions after the 1st October 2024.
  • Migrating to version 3 will ensure that payment processing is not affected and your integration will continue to receive the latest features and security patches.
  • Using the st.js v3 card components ensure that the customer card details won't be posted to your server, resulting in less stringent self-assessment criteria for PCI DSS.

 

  Features in Version 3

  • Processing e-commerce (ECOM) card payments with EMV 3DS (3-D Secure version 2).
  • Processing Mail Order Telephone Order (MOTO) card payments.
  • Processing payments with supported digital wallets:
    • Apple Pay
    • Google Pay
  • Scheduling a subscription following EMV 3DS-authenticated payments.
  • Enhanced fraud analysis and screening tools provided by TRU Fraud Check (supported for merchants with a Trust Payments acquiring account).
  • Performing Address Verification Service (AVS) and security code checks.
  • Tokenisation of cards.
  • Accompanying the payment with other secondary requests (e.g. Account Checks).
  • Card payment form customisation.
  • Multi-language and custom translations.
  • Call-back trigger following payment form submission.

 

  Other functions are performed using our Webservices API

This includes:

  • Merchant-Initiated Transactions (MIT) / Customer Not Present (CNP) transactions
  • Re-authorisations
  • Refunds and payouts
  • Payments not using Strong Customer Authentication (SCA)
  • Transactions queries and updates
  • Supported Alternative Payment Methods (APM) (e.g. PayPal, Alipay & WeChat Pay)
  • Incremental authorisations

Click here to open our Webservices API documentation in a new tab

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