mirror of
https://github.com/zhigang1992/tipsi-stripe.git
synced 2026-06-13 01:38:29 +08:00
656 B
656 B
id, title, sidebar_label
| id | title | sidebar_label |
|---|---|---|
| usage | Usage | Usage |
Let's require tipsi-stripe module:
import stripe from 'tipsi-stripe'
And initialize it with your Stripe credentials that you can get from dashboard. If you want to use Apple Pay you must provide your Merchant ID.
stripe.setOptions({
publishableKey: 'PUBLISHABLE_KEY',
merchantId: 'MERCHANT_ID', // Optional
androidPayMode: 'test', // Android only
})
androidPayMode String (Android only) - Corresponds to WALLET_ENVIRONMENT.
Can be one of: test|production.