Hello Shopify Community,
I’m currently working on integrating a feature within our subscription app to allow customers to update their payment methods, specifically for third-party providers like Stripe and PayPal. The documentation outlines that we can send a customer payment update email using the customerPaymentMethodSendUpdateEmail
mutation, but this only supports ShopPay, and for other gateways, it returns an error: “No supported payment gateway found.”
In addition, I need to pass details such as customer_id
and payment_method_id
from Stripe, but it’s unclear how to retrieve this information directly through Shopify’s API.
Here’s what I’ve tried so far:
Reviewing Shopify Documentation: I’ve reviewed the provided mutation options, but none seem to support updating payment methods for third-party gateways.
Direct PayPal Integration: For PayPal, it appears the only option is to redirect customers to manage their billing agreements on PayPal directly.
Is there anyone who has successfully implemented a workaround for this scenario or has suggestions on managing customer payment methods when using third-party payment gateways in a Shopify app?
I would greatly appreciate any insights or guidance on this issue!
Thank you,
Lucia Clifford
CTO & Co-founder, Sharpei