#jay123-payment methods
1 messages · Page 1 of 1 (latest)
To reuse a Payment Method you have to attach it to a customer - otherwise, they can only be used a single time
I am just authorizing it and will capture when shipping
But attach api is giving error for few orders, for few its working fine
Do you have an example request ID where attachment fails?
You need to do the attachment before you use the Payment Method for payment - for that particular Payment Method you used it in a Payment Intent first, and then tried to attach it, which won't work
But it is working for some of the orders
We are using the Shopify, Payment Intend created by their integration
Do you have an example where it worked?
I just checked, it shows error for those orders too. But Customer has the payment method for the order, whose payment method is pm_1Jv6NcCEdgcfoYmN6s6Gf2pO
But other order doesn't have payment method, not sure why ? Because we have same implementation for all the orders.
Few Orders, we have customer with Payment Method but not for all. Due to this, we are not able to charge all the customer.
That Payment Method has also been consumed and also can't be used again - if you're using Stripe through Shopify I'd recommend you actually contact their support team for more information on how you can enable Payment Methods to be attached + used in the future
Shopify Support team says they don't provide option to save credit card for future use
If they don't support this, then you won't be able to attach any payment methods created by Shopify to a customer
Your only option would be to not use Shopify
We do offer this option, but if you're using Shopify then they are the ones in control of how you use Stripe. If you were to integration directly against Stripe this would be easy for you to do
there is only 1 option to integrate with stripe in shopify
We will check if any custom integration available with shopify orders
May be I will contact you again if I have any doubt or have any more information about the existing integration
Again, if you're using Shopify these are question you'll likely have to ask them