Skip to content

Instantly share code, notes, and snippets.

@michelle
Created August 25, 2017 18:53
Show Gist options
  • Save michelle/8a5d344b1eb2ef3e419f161a3afad3b4 to your computer and use it in GitHub Desktop.
Save michelle/8a5d344b1eb2ef3e419f161a3afad3b4 to your computer and use it in GitHub Desktop.
{
supportedMethods: ['https://android.com/pay'],
data: {
environment: 'TEST',
merchantId: ANDROID_PAY_MERCHANT_ID,
cardRequirements: {
allowedCardNetworks: supportedNetworks.map(network =>
network.toUpperCase()
),
},
paymentMethodTokenizationParameters: {
tokenizationType: 'GATEWAY_TOKEN',
parameters: {
gateway: 'stripe',
'stripe:publishableKey': key,
'stripe:version': ANDROID_PAY_STRIPE_VERSION,
},
},
},
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment