#Kacy • Émeline
1 messages · Page 1 of 1 (latest)
Hello 👋
No, it doesn't confirm the payment automatically. Taking a step back, what flow are you trying to achieve?
Are you following any guides?
I'm not following any guides at all
I'm making a subscription flow, but I can't use Stripe's subscriptions as the invoices are insanely hard to make regulations proof
Basically, I have a CRON task ran every day at 6 AM, that checks if the organisation's subscription is due, and if so, I update the payment intent using their default payment method on file
Gotcha. We have an API endpoint for confirmation if the PaymentIntent moves to requires_confirmation status
https://stripe.com/docs/api/payment_intents/confirm
Quick question, why do you need to update the payment intent with a PaymentMethod?
You can pass one at the PaymentIntent creation and confirm it at the same time
The flow shown here basically
https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements#charge-saved-payment-method
As the default payment method may have been updated, I get the customer's default payment method and update just in case.
Not sure I understand, when are you expecting the PaymentMethod to be updated? After creating the PaymentIntent?