#akdj16

1 messages · Page 1 of 1 (latest)

silver ridgeBOT
warm wigeon
#

👋 happy to help

#

would you mind sharing the request id?

broken plank
#

Hello @warm wigeon here it is req_kDHpAVlWla5YJ0

warm wigeon
#

taking a look

#

sorry for keeping you waiting

#

still looking into this

#

are you trying to confirm the latest_invoice.payment_intent on the frontend?

broken plank
#

yes

#

if the latest_invoice.status is not paid, I return the latest_invoice.payment_intent to the frontend

warm wigeon
#

but you shouldn't touch it, it's a charge_automatically subscription with a customer who already has a invoice_settings.d_p_m

broken plank
#

but I have a "requires_payment_method" status

warm wigeon
#

this is because you have tried to confirm the PaymentIntent without passing a Payment Method

#

so now you need to wait for Stripe to retry paying this invoice

#

or you can confirm the PaymentIntent by passing the customer's invoice_settings.d_p_m as the payment_method param

broken plank
#

so even if the default payment method is set, I still need to passe it to subscription.update?

warm wigeon
#

no you shouldn't

#

it's just that you didn't wait for things to happen on their own

#

so you interrupted the normal behavior

broken plank
#

why when I tried with a 3DS v2 payment method as default, it returns a payment intent status "requires_confirmation"? I would like to have the same status for 3DS v1

broken plank
#

sorry, I need to go, will be back in 3 hours

warm wigeon
#

no worries

#

in the time being I will close that thread