1.2.2 • Published 4 years ago
@dicty/stripe v1.2.2
@dicty/stripe
Dicty Stripe plugin
Install
npm install @dicty/stripe
npx cap syncAPI
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
4 years ago
1.2.1
4 years ago
1.1.10
4 years ago
1.1.9
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago