@capgo/capacitor-stripe
v8.0.1
Published
Capacitor plugin for Stripe Payment Sheet, Apple Pay, and Google Pay.
Maintainers
Readme
@capgo/capacitor-stripe
Stripe SDK bindings for Capacitor Applications
Install
npm install @capgo/capacitor-stripe
npx cap syncHow to use
Learn at the official @capgo/capacitor-stripe documentation.
日本語版をご利用の際は ja.stripe.capacitorjs.jp をご確認ください。
API
initialize(...)
initialize(opts: StripeInitializationOptions) => Promise<void>| Param | Type |
| ---------- | ----------------------------------------------------------------------------------- |
| opts | StripeInitializationOptions |
handleURLCallback(...)
handleURLCallback(opts: StripeURLHandlingOptions) => Promise<void>iOS Only
| Param | Type |
| ---------- | ----------------------------------------------------------------------------- |
| opts | StripeURLHandlingOptions |
Interfaces
StripeInitializationOptions
| Prop | Type | Description |
| -------------------- | ------------------- | ------------------------------------------------- |
| publishableKey | string | |
| stripeAccount | string | Optional. Making API calls for connected accounts |
StripeURLHandlingOptions
| Prop | Type |
| --------- | ------------------- |
| url | string |
License
@capgo/capacitor-stripe is MIT licensed.
