#kanonhian

1 messages · Page 1 of 1 (latest)

grave compassBOT
icy osprey
#

Can you share the ID of a request (req_xxx) where you encountered that error?

exotic vine
#

hi sorry

#

sure

#

req_eEXAJj4Qdhl36F

icy osprey
#

Thank you, in that request it looks like you're trying to set the Customer's default payment method. Doing so does not first attach the Payment Method to the Customer, it must already be attached to them.
You would need to use this first to attach the Payment Method:
https://stripe.com/docs/api/payment_methods/attach

However, using our Setup Intent approach would likely be better for creating and attaching Payment Methods to your Customers:
https://stripe.com/docs/payments/save-and-reuse

Learn how to save card details and charge your customers later.

exotic vine
#

thanks

#

thing is I do not create the payment method

#

I receive it via API

#

and its suppossed to be one time payment

#

not future usage

#

anyway i will take a lokk

#

look

#

thanks

icy osprey
exotic vine
#

yes

#

in deed

icy osprey
exotic vine
#

great. I will check this one

#

thanks bro

#

nice day for you

icy osprey
#

Thanks, same to you!