For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
We have a custom subscription app and we are having trouble figuring out how to deal with adding a second region to our store.
Right now we sell the subscription in USD and are looking to allow people to buy in GBR.
We have figured out how to, with the storefront api, display the correct prices and allow people to make the initial purchase, but the problem comes when we want to allow them to update their subscription form a 1 month plan to 12.
If we want to display the price to the user that they are going to be changing to the most obvious thing is to display in their current region.
The problem then comes when someone moves regions, or uses an existing subscription before we started selling in GBR and we want to update in the back end. As far as I can tell there is no way to update the currency of the subscription to match their new local currency so there is no way for me to set it to the correct value that they now see.
So then the idea would be to display it in the original region, but then we run into this issue:
https://community.shopify.com/c/subscriptions/subscriptions-shopify-markets-determining-country-mark...
Where its not actually possible for us to tell what region it is from, and there is no way to query by the currency itself so our website can't know what the real price is for their subscription.
Is there some piece of the API I am missing to make this possible? Right now I cannot figure out a way that doesn't leave a bunch of edge cases, or me duplicating a lot of data that Shopify should be taking care of for us.
Thanks for getting in touch with us. This is indeed an interesting issue.
Have you considered actually creating a new subscription contract when the buyer wants to update their subscription in a new market? In some ways this is makes sense: the price might be different, and the currency definitely is, so it's a new agreement between the merchant and buyer.
I realize there may be a lot of reasons why that doesn't work for you, so let me know if you have more questions.
To learn more visit the Shopify Help Center or the Community Blog.
That is essentially what I decided, just not ideal.
If you have a chance, I'd like to hear in what ways this isn't ideal? I'm going to bring this to the attention of our Product people, so the more info the better.
To learn more visit the Shopify Help Center or the Community Blog.