1.2.2 • Published 2 years ago
@dicty/stripe v1.2.2
@dicty/stripe
Dicty Stripe plugin
Install
npm install @dicty/stripe
npx cap sync
API
initialize(...)
isApplePayAvailable()
handleApplePay(...)
isGooglePayAvailable()
handleGooglePay(...)
- Interfaces
- Enums
initialize(...)
initialize(opts: InitializeOptions) => Promise<void>
Param | Type |
---|---|
opts | InitializeOptions |
isApplePayAvailable()
isApplePayAvailable() => Promise<void>
handleApplePay(...)
handleApplePay(opts: ApplePayOptions) => Promise<ApplePayResult>
Param | Type |
---|---|
opts | ApplePayOptions |
Returns: Promise<ApplePayResult>
isGooglePayAvailable()
isGooglePayAvailable() => Promise<void>
handleGooglePay(...)
handleGooglePay(opts: GooglePayOptions) => Promise<GooglePayResult>
Param | Type |
---|---|
opts | GooglePayOptions |
Returns: Promise<GooglePayResult>
Interfaces
InitializeOptions
Prop | Type |
---|---|
publicKey | string |
ApplePayResult
Prop | Type |
---|---|
result | ApplePayResults |
ApplePayOptions
Prop | Type |
---|---|
productId | string |
GooglePayResult
Prop | Type |
---|---|
result | GooglePayResults |
GooglePayOptions
Prop | Type |
---|---|
clientSecret | string |
Enums
ApplePayResults
Members | Value |
---|---|
Completed | 'completed' |
Cancelled | 'cancelled' |
Failed | 'failed' |
GooglePayResults
Members | Value |
---|---|
Completed | 'completed' |
Failed | 'failed' |
1.2.2
2 years ago
1.2.1
2 years ago
1.1.10
2 years ago
1.1.9
2 years ago
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago