Hosted fields — payment.js
payment.js integration offers a secure way to accept card payments. It integrates card number and CVV/CVC input directly into your checkout process, avoiding the need for redirection to a separate payment form.
The library renders two separate iframes for card number and CVV/CVC on your checkout page. This efficient approach minimizes your PCI-DSS scope, reaching the lowest possible level with SAQ-A.
At the end of this JavaScript flow, a one-time transactionToken
is generated, which identifies the customer's card.
This token is then passed to the Transaction API request.
For a detailed, step-by-step guide on integrating the payment.js, refer to the payment.js guide in our guides section.
Articles
In this section, you will find detailed information and resources to help you integrate and effectively utilize payment.js in your payment process with IXOPAY platform. Explore the following topics to gain insights into the implementation, benefits, and outcomes of payment.js:
Method reference
Methods for initializing and using PaymentJs.
Error codes
These error codes are provided as parameters to the errorCallbacks of tokenize and
Event listening
Both, number and CVV support listening for the following events:
Advanced guides
In-depth information on integrating our client-side API into your workflow.