For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
We've had many migrations from other platforms where Stripe was being used for billing. Creating Shopify CustomerPaymentMethods works as expected but there's a pretty big issue if the billing address (in Stripe) was "invalid" according to Shopify at the moment the Shopify payment method is created; it will remain invalid unless the customer is notified and has to replace or update it manually (which tends to have negative effects on average LTV for merchants). Invalid billing addresses in Stripe lead to orders with invalid billing addresses which are uneditable which is problematic four our merchants.
This seems very avoidable though. A couple options seem simple enough:
1. Let Shopify subscription apps update customer payment method billing addresses. I'm sure its in the vein of security but I don't see why there wouldnt be an API to update CPM's billing addresses
2. Shopify could/should pull the latest billing address from Stripe before billing attempts. We've attempted to correct billing addresses on the original Stripe payment methods, hoping that Shopify would pick up the change but it doesn't work.
The problem this causes is that Orders created by Subscription Contracts with CustomerPaymentMethods with invalid billing addresses become uneditable. Orders with invalid billing addresses can not be edited, blocking a lot of important functionality around those orders. And it seems the only option that Shopify has given merchants is to tell their customers to update their payment methods (even though the billing is working just fine).
My requests/questions are:
- Is there any way that you could help us with a specific merchant that is struggling with this currently?
- Do you have any guidance on how to correct invalid billing addresses without contacting customers?
- Do you have any guidance on how to avoid this for future migrations?
Thanks you!
Solved! Go to the solution
This is an accepted solution.
ok - this has become enough of an issue that we had to find a work around and there does seem to be one. I don't think this is a Shopify security issue, I think it's just lack of functionality.
NOTE: this is not actually a solution. It's a pretty annoying work around.
In order to adjust the billing address on a payment method that you migrated from stripe:
Hey Brian,
I think you're right that the inability to update a remote customer payment method's billing address is due to security concerns.
In order to assist further, could you provide examples of what made the billing addresses you've encountered invalid for Shopify? (please don't share any customer information, just indicate the class of errors e.g. "postal code doesn't match street address").
In these situations, how would a subscription app know or be able to derive the correct billing address without customer input?
Thank you for your patience while I work out this problem with you.
J-ROM
To learn more visit the Shopify Help Center or the Community Blog.
I think you're right that the inability to update a remote customer payment method's billing address is due to security concerns.
Yea - it's strange though bc you can manage the billing address with a PayPal billing agreement
In order to assist further, could you provide examples of what made the billing addresses you've encountered invalid for Shopify? (please don't share any customer information, just indicate the class of errors e.g. "postal code doesn't match street address").
The billing addresses were invalid in a number of different ways. Some were missing zip codes, some were missing countries, some ONLY had zip codes. The ones that are invalid are clearly invalid. It's less of an issue that they start out invalid (or how they start out that way) and more of an issue that they are STUCK as invalid and Shopify is blocking order editing as a result.
In these situations, how would a subscription app know or be able to derive the correct billing address without customer input?
Good question - there are a few things that come to mind:
Thanks for your help on this @J-ROM
Hey Brian,
Thanks for sharing this context. I don't have a workaround to offer at the moment, nor can I promise any timeline, but I've passed down this information to our technical teams for their consideration.
I also know we are working on a plan to allow customers to skip the email step when updating their payment method details. The best way for subscription apps to prepare for this is to use the customerPaymentMethodGetUpdateUrl mutation as explained in this forum post (middle paragraph).
Hope this helps.
J-ROM
To learn more visit the Shopify Help Center or the Community Blog.
Thanks J-ROM -
If you think it might be possible to bulk update billing addresses for a Shopify Plus merchant we (and they) would really appreciate it.
🙏
This is an accepted solution.
ok - this has become enough of an issue that we had to find a work around and there does seem to be one. I don't think this is a Shopify security issue, I think it's just lack of functionality.
NOTE: this is not actually a solution. It's a pretty annoying work around.
In order to adjust the billing address on a payment method that you migrated from stripe: