appcharge-checkout-vanilla-js-sdk
v1.0.2
Published
Welcome to Appcharge's Checkout Solution, get up and running in a few easy steps.
Readme
Appcharge's Checkout Solution
Welcome to Appcharge's Checkout Solution, get up and running in a few easy steps.
Installation
To install, run this code:
npm i appcharge-checkout-vanilla-js-sdk
Init
AppchargeCheckout function can recieve the following args:
| Prop | Type | Mandatory |
| ---------------------------- | -------- | --------- |
| domain | string | Yes |
| sessionToken | string | Yes |
| onInitialLoad | Function | No |
| onPaymentIntentFailed | Function | No |
| onPaymentIntentSuccess | Function | No |
| onOrderCompletedFailed | Function | No |
| onOrderCompletedSucessfuly | Function | No |
