Shopify / mobile-buy-sdk-ios

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 Apple Pay or their credit card.
MIT License
453 stars 199 forks source link

ApplePay: SDK forces the user to enter shipping address when checking out with non-physical product #1178

Open bartosz-treeline opened 2 years ago

bartosz-treeline commented 2 years ago

I have a feeling that the Pay framework is very limited in terms of configuration & customisation. I am not sure if this is by design or some improvements have not been added yet.

The question is: Is there a way to not force users to provide shipping address for non physical products?

I think that this is the SDK limitation, there’s even a PR opened addressing that issue: https://github.com/Shopify/mobile-buy-sdk-ios/pull/1167/files#diff-826ed097f22711b75f0973ba8383ab130f1ea753987789c3fa43dd6763f40671R195

Do you have plans addressing that issue? Or maybe this is due to some system requirements? How does Shopify backend calculate the taxes (based on customer / shipping address / billing address)?

TheiOSDude commented 2 years ago

@bartosz-treeline you are welcome to use our fork of the repository if it helps, we use it to allow a user to purchase a virtual gift card, where there is no shipping required. We are awaiting the PR to be merged, before we can close the fork.