Stax.js

Stax.js
Integrate seamless payment processing into your platform.
Stax.js is our JavaScript library, which allows your business to collect and tokenize payment information on the web without having to worry about handling sensitive information directly. It provides your business with a simple solution for accepting payments.
Whether you plan to run one-time payments or need to store payment tokens on file for additional capabilities such as recurring payments or charging a payment method on file, Stax.js is the first step in your payment flow, making integration easy and secure.
Adding Stax.js to your site
Add the following script tag to the head of your HTML file.
<script src="https://staxjs.staxpayments.com/staxjs-captcha.js"></script>
Initializing Stax.js
First, you must know your Web Payments Token (public key). To complete this step, you will need a Stax sandbox account.
var staxjs = new StaxJs("your_website_payments_token",{});
Embedded reCAPTCHA
Stax.js embeds Google’s reCAPTCHA technology directly into its payment form to provide an additional layer of security. By leveraging advanced risk-analysis techniques, reCAPTCHA helps Stax.js detect and mitigate fraudulent activity; such as credential stuffing, account takeover attempts, and automated account creation before payment details are even tokenized.
This seamless protection safeguards both merchants and customers, defending against threats while ensuring a smooth, uninterrupted experience for legitimate users.
Updated 3 days ago