#Kacy • Émeline

1 messages · Page 1 of 1 (latest)

faint hareBOT
buoyant quarry
#

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?

solar root
#

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

buoyant quarry
#

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

solar root
buoyant quarry
#

Not sure I understand, when are you expecting the PaymentMethod to be updated? After creating the PaymentIntent?

solar root
#

The payment intent is updated at next trial

#

I check if the payment intent's status is requires_payment_method

#

Anyways, I think I'll switch back to the Stripe subscription thing and just deal with the webhooks to create invoices using my accounting software 😅