#tbhaxor-paymentmethod
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
yes, it looks like this request worked! So what is the issue? Can you share the request Id with the error?
Oh I see, that's normal.
Payment method attack is success, but default invoice payment method on customer object not working
attach*
When you attached the payment method, you will get back a new Payment Method ID pm_xxx. It's this ID that you need to use for the default_payment_method.
Also, if you goal is to attach a payment method to a customer, we recommend using a SetupIntent instead: https://stripe.com/docs/api/setup_intents