0.1.0 • Published 3 years ago
rn-braintree-noncehelper v0.1.0
rn-braintree-noncehelper
React native module to get payment nonce for credit, debit cards
Installation
npm install rn-braintree-noncehelper
Usage
import RnBraintreeNoncehelper from "rn-braintree-noncehelper";
// ...
const result = await RnBraintreeNoncehelper.createNonce(authToken, {
number: 'XXX',
expirationMonth: 'XX',
expirationYear: 'XXXX',
cvv: 'XXX',
postalCode: 'XXXX' // This is optional parameter
});
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
0.1.0
3 years ago