We have released a brand new Web SDK! Check it out here and give it try!
How does EBANX JS works?
The customer will inform their creditcard data through your store page. This data will be used by EBANX to generate a token.
Using LIB js, the request will be made directly from customer’s browser to EBANX server. Meaning that customer’s credit card information will not be stored in Merchant’s server.
A request will be made from customer’s browser to EBANX server, sending the customer creditcard data to generate a token that represents the customer credit card information. The token will be returned to the customer to continue the request.
Once the token is received, the form with the payment details will be submitted to our API, which will create the payment.
The diagram below show the flow of the operation.
Why use LIB JS One of the main reasons to use LIB JS is that you don’t have to worry about storing and securing cardholder data.
According to PCI DSS requirements, you must restrict access and protect stored cardholder data.
Through LIB JS, the customer will inform their creditcard data and our servers will generate a token for this creditcard, so you don’t have to store any sensitive data. This token will be used for the whole request.
How to use EBANX JS
Add this script to your page:
The following is an example of action to create a single use token, used to pass credit-card information to your server in a safe way.
If you have any doubts or need help, you can send and email to: EBANX Integration