Integrating with the SDK

📘

Why Choose the SDK Method of Integration?

The SDK integration is most relevant for web-based POS/OMS systems that can easily use a JavaScript SDK.

To start using the SDK from the POS:

  1. Integrate the ChargeAfter SDK via NPM to enable modal functionality.
    See SDK Integration.
  2. Integrate the Apply flow with the SDK.
    See Apply.
  3. Integrate the Apply Completion Callback to know when a consumer has completed an Apply flow.
    See Events (callbacks).
  4. Integrate the Checkout flow with the SDK.
    See Checkout.
  5. Integrate the Checkout Completion Callback to know when a consumer has completed a Checkout flow.
    See Events (callbacks).

What’s Next