Licence
Apache-2.0
Version
0.1.0
Deps
0
Size
757 kB
Vulns
0
Weekly
0
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; } |