#ggmghoul

1 messages · Page 1 of 1 (latest)

devout prawnBOT
small rock
#

Hi there!

#

What's the issue? And can you share the PaymentIntent ID (pi_xxx)?

terse sage
#

hello

#

ofc

#

pi_3LorQHHrKMzhnGvg0hnT7CxI

#

"status": "requires_payment_method"

#

Means of payment
None

#

in the subscription details there is a payment mean and it is set to default yet one the payment intent is executed it is shown that there is no payment mean

#

this is really urgent it is already very late

small rock
#

Thanks! Give me a few minutes to look into this.

terse sage
#

of course take your time and thank you

small rock
#

Both the subscription and the customer objects don't have a default payment method set, so it's expected that the payment fail.

#

You need to add a default payment method to the customer or the subscription, and then re-try the payment.

terse sage
#

there is no difference between adding it the the customer of the subscription ?

#

and is there a way to do it from the interface ?

#

the defaul payment method i want to use is separate mandate btw

small rock
#

there is no difference between adding it the the customer of the subscription ?
If you add it to the customer, all invoice for that customer will use the default payment method by default. If you set it to the subscription, only all invoice for that specific subscription will use the default payment method.

#

and is there a way to do it from the interface ?
For the customer you can do it from the dashboard. For the subscription I don't think so.

terse sage
#

understood

#

can you tell me how did you know that there is no default payment method

#

besides the response of the payment intent

#

okay i think it's in the logs right ?

small rock
#

a customer with a default payment method looks like this in the dashboard:

#

And for a subscription it looks like this:

terse sage
#

now i get it

#

my customer has a payment method

#

it's just not set to default

terse sage
#

yes i already read the docs and got it but i wanted a solution from the dashboard and then i would change the code for future actions

#

thank you so much

small rock
#

Happy to help 🙂