appcharge-checkout
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Appcharge's Checkout Solution

Welcome to Appcharge's Checkout Solution, get up and running in a few easy steps.

To install, run this code:

npm i appcharge-checkout

The easiest way to get started is by using this code snippet:

<AppchargeCheckout
  url='http://checkout.yourdomain.com'
  priceInCents={price}
  sessionMetadata={payload}
  isOpen={isModalOpen}
/>

AppchargeCheckout component can recieve the following props:

Prop Type Mandatory
playerId string Yes
priceInCents number Yes
url string Yes
isOpen boolean Yes
sessionMetaData any No
width string No
height string No
closeIconColor string No
closeIconRender ReactNode No
onCloseModal Function No

/appcharge-checkout/

    Package Sidebar

    Install

    npm i appcharge-checkout

    Weekly Downloads

    2

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    1.36 MB

    Total Files

    23

    Last publish

    Collaborators

    • nirtz89