appcharge-checkout-js-sdk
v3.1.0
Published
Welcome to Appcharge's Checkout Solution, get up and running in a few easy steps.
Keywords
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-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 |
