h2io-braintree
v0.4.2
Published
Braintree Form for React by H2io
Downloads
4
Readme
h2io Braintree
Installation
npm install h2io-braintree
Usage
<H2ioBraintree
currency="USD"
amount=1
uri="http://www.example.com"
postData={{ orderId: 1234 }}
/>
Props
uri
(required)
The location of a "braintree server"
amount
(required)
The amount that will be sent to the Braintree payment gateway
currency
(required)
Used only visual reference and for PayPal settings
postData
This object will be send to the server when a payment request is made