I’ve sent the app to shopify and got rejected, I needed to let customers to change payment method for his subcriptions. But they don’t give any more information, just this link:
https://shopify.dev/apps/store/requirements#a-storefront-requirements
According to the link, we need to use:
https://shopify.dev/api/admin-graphql/2021-10/objects/customerpaymentmethod#fields-CustomerPaymentMethod-OBJECT
So do we need to request for customer credit card? Isn’t that dangerous? Also, do we need to show current payment method?
Hello Webdibs, Did you solve the problem ?
Yes, I needed to create a button to generate the email that is sent to the customer to change their payment info
could you tell me how to generate the email ? which api or gql should I trigger ?
where i will get paymentId ? could you provide a sample paymentId ?
You can get it from contract’s information. There’s a customerPaymentMethod with that info.
I have created and post today here , link I made a request but got error.