@iteratorsmobile/react-native-accept-sdk
v1.0.5
Published
React-native bindings for AcceptSDK (Authorize.net)
Downloads
14
Readme
react-native-accept-sdk
Getting started
$ npm install @iteratorsmobile/react-native-accept-sdk --save
or
$ yarn add @iteratorsmobile/react-native-accept-sdk
Mostly automatic installation
$ react-native link @iteratorsmobile/react-native-accept-sdk
Usage
import AcceptSdk from '@iteratorsmobile/react-native-accept-sdk';
AcceptSdk.getTokenWithRequest(tokenRequest: TokenRequest, isProduction: boolean)
interface TokenRequest {
loginId: string;
clientKey: string;
cardNumber: string;
cardExpirationYear: string;
cardExpirationMonth: string;
cardCode: string;
}