arrowpay-react-checkout

1.3.1 • Public • Published

React Checkout component, for accepting Nano payments via ArrowPay

Get started

  1. npm install arrowpay-react-checkout
  2. Import the component and styles
  import RaiCheckout from 'arrowpay-react-checkout';
  import 'arrowpay-react-checkout/build/css/index.css';
  1. 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

none

Package Sidebar

Install

npm i arrowpay-react-checkout

Weekly Downloads

1

Version

1.3.1

License

MIT

Last publish

Collaborators

  • konk353535