ct-react-native-datatrans

datatrans android and ios integration


Keywords
react-native, react-native-datatrans, ios, android, datatrans, datatrans-twint, datatrans-paypal, datatrans-visa, datatrans-master, datatrans-postfinance, payment
License
MIT
Install
npm install ct-react-native-datatrans@1.5.1

Documentation

ct-react-native-datatrans

datatrans android and ios integration

Installation

npm install ct-react-native-datatrans

Usage

import Datatrans from "ct-react-native-datatrans";

// ...

const result = await Datatrans.transaction('mobileToken');

or

const result = await Datatrans.transaction('mobileToken',options);

 options = {
  aliasPaymentMethods?: [{
    alias?: string,
    ccNumber?: string,
    expiryMonth?: number,
    expiryYear?: number,
    paymentMethods?: string
    cardHolder?:string
  }],
  isTesing: boolean,
  isUseCertificatePinning: boolean,
  appCallbackScheme: string
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

Note

IOS card payment done

License

MIT