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
214 stars 136 forks source link

Web Checkout not displaying all payment options #580

Closed moesalih closed 5 years ago

moesalih commented 5 years ago

I'm currently the web checkout flow using checkout.getWebUrl() and displaying that in a WebView.

On iOS, we get all available payment options during web checkout as expected. But on Android it seems like we're getting a different flow where we only get a credit card option and paypal. No Google Pay or Amazon Pay, and even the credit card payment section seems to be different than normal where it forwards you to a payment gateway.

Why would that be the case? How can I fix this?

rebeccajfriedman commented 5 years ago

Hi @moesalih - this doesn't sounds like an issue with the SDK, but rather one with your checkout in general. I just tested loading your shop on an Android web browser and the "Google Pay" option popped in for me. I recommend reaching out to Shopify support if you continue to experience issues with it.

moesalih commented 5 years ago

@rebeccajfriedman I'm aware that the checkout works fine in the regular browser. As I said, the issue is when the checkout is being embedded in a WebView like the SDK instructs.

And how did you know what store I'm referring to? This is for a large ShopifyPlus client, and I did contact support, they said I should open an issue here.

rebeccajfriedman commented 5 years ago

Sorry for the confusion, I was looking at moesalih.myshopify.com. Google Pay is only supported if you use a Chrome tab or open a native web browser Chrome. If you use an embedded webview, it does not support Google Pay.