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
.