1.2.2 • Published 3 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
3 years ago
1.2.1
3 years ago
1.1.10
3 years ago
1.1.9
3 years ago
1.1.8
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago