#heshamelhattab
1 messages · Page 1 of 1 (latest)
Hi there!
The Subscription congains a latest_invoice
And the Invoice contains a Paymentintent
And the PaymentIntent explains the error here: https://stripe.com/docs/api/payment_intents/object?lang=node#payment_intent_object-last_payment_error
is that available through the dashboard ?
Yes, if you look at the PaymentIntent in the dashboard you can see why it failed
what does this mean "The PaymentIntent requires a payment method"
why does it requires payment method. shouldn't it use the default used when first time buying the subscripiton
I guess you didn't save a default payment method on the Customer/Subscription.
Can you share the PaymentIntent ID (pi_xxx)?
yes you need to set a default payment method on the customer or the subscription for refurring payments to work
wait, give me a few minutes to double check something.
I am using python SDK. I passed the default payment method in the subsrition creation as argument
Yes that correct, sorry I missed that. However that PaymentMethod ahs been removed from the customer, so it can no longer be used: https://dashboard.stripe.com/logs/req_brixEcpGxPtrRm
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
this is the removal log ?
Yes
thanks