nativescript-adyen-cse
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

Package Sidebar

Install

npm i nativescript-adyen-cse

Weekly Downloads

4

Version

1.0.3

License

MIT

Unpacked Size

7.84 kB

Total Files

15

Last publish

Collaborators

  • kanclalg