0.1.0 • Published 1 year ago
sc-applepay v0.1.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; } |