1.5.1 • Published 2 years ago
ct-react-native-datatrans v1.5.1
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
}],
isTesting: boolean,
isUseCertificatePinning: boolean,
appCallbackScheme: string
}
callbackshema name is "ctdtsdk"
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
Datatrans version 1.5
If you need to activate datatrans version 1.4 use ct-react-native-datatrans@1.4 or else use latest version to support to datatran version 1.5.1
Note
IOS card payment done. Live payment also tested
License
MIT
1.5.1
2 years ago
1.5.0
2 years ago
1.4.0
2 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago