nativescript-adyen-cse
Adyen NativeScript client-side encryption plugin
npm i --save nativescript-adyen-cse
- Version: 1.0.3
- GitHub:
- NPM: https://www.npmjs.com/package/nativescript-adyen-cse
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
NativeScript Adyen CSE Plugin
Adyen NativeScript client-side encryption
Installation
tns plugin add nativescript-adyen-cse
Usage
import { AdyenCse, Card } from 'nativescript-adyen-cse';
this.adyenCse = new AdyenCse();
const data: Card = {
cvc: '737',
expiryMonth: '08',
expiryYear: '2018',
generationTime: new Date(),
holderName: 'holderName',
number: '4111111111111111'
};
let encryptedCardString = this.adyenCse.encrypt(data, 'your_adyen_public_Key');
License
MIT