Skip to main content

AndDone JS

AndDoneJS Overview

AndDoneJS is an embeddable payment interface that simplifies the integration of secure payment processing into merchant websites and applications while offering a user-friendly and seamless checkout experience to customers.

AndDoneJS leverages the AndDone platform’s robust infrastructure to securely handle customer payment data, incorporating features such as tokenization and encryption. This enables merchants to provide a trusted and secure payment experience for their customers.

User Experience

AndDoneJS offers an intuitive payment interface that can be easily embedded into merchant websites or applications. Optimized for mobile devices, AndoneJS enables efficient payment capture from smartphones, tablets, and PCs. AndDoneJS allows merchants to tailor the user interface to align with their branding, providing a seamless payment experience from start to finish.

Ease of Integration

AndDoneJS offers a simple and straightforward integration process. With just a few lines of code, developers can embed the payment form directly into their website or application, greatly reducing development time and complexity.

How It Works: AndDoneJS Payment Flow


The AndDoneJS payment flow comprises the following steps:

  1. The merchant's website or app collects essential payment information from the customer, including the payment amount and accepted payment methods (Debit, Credit, ACH).
  2. Using the collected details, the merchant application submits a PaymentIntent request by calling the AndDone API.
  3. The AndDone server generates the PaymentIntent and sends back a PaymentIntent token to the merchant server.
  4. The merchant server uses the token to initialize AndDoneJS, and displays the payment form to the customer.
  5. The customer enters their account details in the payment form, confirms the payment amount, and submits the payment.
  6. AndDoneJS securely transmits the payment request from the customer's browser to the AndDone server.
  7. The AndDone server completes the authorization and payment process, providing transaction status updates to the merchant application through webhooks.