Skip to content

Instantly share code, notes, and snippets.

@michelle
Created August 25, 2017 18:43
Show Gist options
  • Save michelle/94d8f3a20c5960cfaba08bc798657260 to your computer and use it in GitHub Desktop.
Save michelle/94d8f3a20c5960cfaba08bc798657260 to your computer and use it in GitHub Desktop.
{
supportedMethods: ['https://google.com/pay'],
data: {
environment: 'TEST',
merchantId: ANDROID_PAY_MERCHANT_ID,
apiVersion: 1,
phoneNumberRequired: false,
emailRequired: false,
shippingAddressRequired: false,
allowedPaymentMethods: ['CARD', 'TOKENIZED_CARD'],
cardRequirements: {
allowedCardNetworks: ['VISA'],
billingAddressRequired: false,
},
paymentMethodTokenizationParameters: {
tokenizationType: 'PAYMENT_GATEWAY',
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