dots-checkout-react
v1.0.5
Published
Add Dots checkout to your website
Downloads
3
Readme
Dots Checkout React
The Dots Checkout React library provides a convinient way to integrate Dots into any react app
Documentation
See the API docs.
Installation
To install the package run:
npm install --save dots-checkout-react
Usage
The library needs to be configured with your client_id
which can be found in the Developer Dashboard
<DotsCheckout dotsClientID='<CLLIENT ID>' invoiceID={this.state.invoiceID} invoiceURL={this.state.invoiceURL} onSuccess={() => {console.log('completed')}}/>