arrowpay-react-checkout
1.3.1 • Public • Published React Checkout component, for accepting Nano payments via ArrowPay
Get started
npm install arrowpay-react-checkout
- Import the component and styles
import RaiCheckout from 'arrowpay-react-checkout';
import 'arrowpay-react-checkout/build/css/index.css';
- Use the component
<RaiCheckout
onPaymentConfirmed={({ token, item_id }) => this.tryItNowTokenMethod({
token, item_id
})}
payment={{
amount: 1,
currency: 'USD'
}}
public_key='public_7de3b4ac-6fb4-42bc-83d1-0e6c60c0011e'
sub_title='Test Item Name'
title='My Shop'
item_id='test_item_id'
text='Pay with Nano $0.01'
/>
Readme
Keywords
nonePackage Sidebar
Install
npm i arrowpay-react-checkout
Weekly Downloads