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.init({
publishableKey: 'PUBLISHABLE_KEY',
merchantId: 'MERCHANT_ID', // Optional
androidPayMode: 'test', // Optional, android only, 'production' by default
})
androidPayMode String (Android only) - Corresponds to WALLET_ENVIRONMENT. Accept test or production.