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

International Pricing Android SDK Issue #717

Open AbhishekDubey987 opened 2 years ago

AbhishekDubey987 commented 2 years ago

I am implementing international pricing in our Shopify app and it's working fine everywhere but when i am creating checkout i don't know why it is not giving me the converted price can anyone help me in this ?

I am using latest shopify sdk version implementation ('com.shopify.mobilebuysdk:buy3:12.0.0'){ exclude group: "com.shopify.graphql.support" }

i am sending country code in mutation as you can see below

Storefront.MutationQuery { var createcheckoutmutation: Storefront.MutationQuery? = null createcheckoutmutation = Storefront.mutation(directive) { root -> root

AqeelAaqi commented 1 month ago

hi sir,

actually am facing issues to show international pricing on products can you please help me i am using sdk //Shopify with GraphQL implementation('com.shopify.mobilebuysdk:buy3:14.0.0') { exclude group: "com.shopify.graphql.support" }

//

and issue you facing is resolved by adding input on checkout input.setBuyerIdentity(new Storefront.CheckoutBuyerIdentityInput(Storefront.CountryCode.PK)); you can change according to you country then you can see the converted prices