Shopify / mobile-buy-sdk-android

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using their credit card.
MIT License
216 stars 136 forks source link

Google Pay - which payment tokenization method? #576

Open Migge opened 6 years ago

Migge commented 6 years ago

In the README, you leave out the setup needed for Google Pay, which makes sense for the most part. One can follow Google's own instructions.

However, in step 2 in Google's tutorial: https://developers.google.com/pay/api/android/guides/tutorial#tokenization , it says that you should choose which payment method you want to use. Either Direct or Gateway.

What should one choose? I'm not too familiar with all the terminology. On the one hand, Shopify Payments is a gateway I suppose, but it's not in the list of the supported gateways. But Stripe is, and Shopify Payments is powered by Stripe if I understand it correctly.

Or should one choose the "Direct" method and provide the Google Pay public key one got from Shopify?

Migge commented 6 years ago

If the correct one to choose is Gateway and gateway is shopify or stripe or whatever, then what should the gatewayMerchantId be? Is that the Google Pay public key retrieved from Shopify?

sav007 commented 6 years ago

Sorry, we are in the middle of updating the docs with the GPay integration section.

Here is what you need: gateway - shopify gatewayMerchantId - YOUR SHOP ID

Additionally you have to follow the submission process in order to get prod access to GPay from Google https://developers.google.com/pay/api/android/guides/test-and-deploy/integration-checklist

Migge commented 6 years ago

Thanks @sav007 , will give it a shot and will get back to you if I encounter any other issues :+1:

Migge commented 6 years ago

Hi @sav007 , just one more quick question. I realized that I don't have the shop ID (only the API key) and I don't have access to my client's account, so I need to give him instructions on how to get the shop ID for me. What's the easiest way for him to get his shop ID?

moesalih commented 5 years ago

Sorry, we are in the middle of updating the docs with the GPay integration section

@sav007 Any ETA on that?

vikashkrjha commented 5 years ago

Sorry, we are in the middle of updating the docs with the GPay integration section.

Here is what you need: gateway - shopify gatewayMerchantId - YOUR SHOP ID

Additionally you have to follow the submission process in order to get prod access to GPay from Google https://developers.google.com/pay/api/android/guides/test-and-deploy/integration-checklist

@sav007 any eta?

pandeyVishakha commented 5 years ago

I am trying to integrate google pay in my android app. I want to integrate google pay without any payment gateway in between (DIRECT method).

I found DIRECT method integration code on official site. In that google asks for protocolVersion and publicKey as parameter and below i found that i can get my public key in my Google Pay Developer Profile. I searched for Google Pay Developer account but unable to found public key Anyone can help me to get public key for google pay DIRECT integration?

Maragues commented 4 years ago

Hi @sav007 , has there been any progress on this?