sc-applepay
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

sc-applepay

SkipCash ApplePay Ionic Plugin; The plugin facilitates SkipCash Apple Pay integration within your ionic app.

Install

npm install sc-applepay
npx cap sync ios

Example (capacitor)

LINK -> https://github.com/SkipCash/ionic-sc-applepay/blob/main/example/src/js/capacitor-welcome.js

API

initiatePayment(...)

initiatePayment(options: { paymentData: string; }) => void
Param Type
options { paymentData: string; }

isWalletHasCards()

isWalletHasCards() => Promise<{ value: boolean; }>

Returns: Promise<{ value: boolean; }>


setupNewCard()

setupNewCard() => void

loadSCPGW(...)

loadSCPGW(options: { payUrl: string; paymentTitle: string; returnURL: string; }) => void
Param Type
options { payUrl: string; paymentTitle: string; returnURL: string; }

Readme

Keywords

Package Sidebar

Install

npm i sc-applepay

Weekly Downloads

2

Version

0.1.0

License

Apache-2.0

Unpacked Size

775 kB

Total Files

52

Last publish

Collaborators

  • skipcash-solutions