#DramaLlama-PM

1 messages · Page 1 of 1 (latest)

smoky lodge
#

Hi @proven mist! Could you share the PaymentIntent ID (pi_xxx)?

proven mist
#

yepp, one sec

#

pi_3KAF94L09RI1Bo1N1uv252ui

smoky lodge
#

Thanks, having a look.

proven mist
#

Great, thanks!

#

Any luck?

smoky lodge
#

Sorry for the delay, I think I found the issue.

#

When the invoice related to the paymentintent you shared was created, the customer had not yet a default payment method.

#

So that's why the payment intent doesn't have a payment method.

proven mist
#

But then I have curiosity!

#

Because

smoky lodge
#

To avoid having this issue, you need to set the default payment method of the customer earlier.

proven mist
#

pi_3K85d3L09RI1Bo1N0Ha60IrV

#

This is another customer

#

And this customer does not have a default payment method at all and still it works

#

They have a payment method, it's just not set to default

#

It was actually met setting the first customers payment method to default as a test just now.

smoky lodge
proven mist
#

ahhh right. I think that was how I wrote the code now that you remind me!

Thank you, and somehow there wasn't on this customer

#

weird