We are working with a merchant to move their existing subscriptions from a subscription app using Shopify's checkout to our app.
I would like to know if we can use existing customer payment methods for contracts we create / migrate in our app. Are there any better ways to migrate subscription contracts from one app to the other?
Interesting question. I don't know if anyone has asked this before. Unfortunately, I'm relatively new to this area, and most of the folks on my team are gone for the day. I'll try to get an answer for you tomorrow (Thursday) Pacific Time.
I assume you've seen this guide (although I believe you're asking for a different migration, perhaps it has some clues): https://shopify.dev/apps/subscriptions/migrate/contracts.
Thanks Larry. You're correct, that tutorial discusses migrating payment information and creating payment methods, while I'm hoping to use existing payment methods for new contracts.
At the moment there isn't a way to move existing payment contracts from one subscription app to another. It is on our roadmap, but we don't have any dates for when it might be available.
Hey Larry, thanks for getting back. I believe the question is, after u call customerPaymentMethodRemoteCreditCardCreate, and u didn't get the customer payment method ID in the response. How can we retrieve it after? Right now there doesn't seem to be a way as the customer's paymentMethods do not return anything, nor does calling customerPaymentMethodRemoteCreditCardCreate again.
I'm not sure if the original question was ever answered here but yes, you can use the existing payment methods.
It is true that you can't fetch subscription contacts from another app but the paint methods are re-usable