#theuknowner_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1384514137236701204
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- theuknowner_unexpected, 6 days ago, 47 messages
- theuknowner_unexpected, 6 days ago, 65 messages
hi there!
hi
can you share a Subscription ID (sub_xxx) with this issue?
Yes, in test mode: sub_1RayhmCYiKPyEjfg2kBUqDcJ
well that subscription has one invoice and its paid. so what's the issue?
Every time I create a new sub, I get in the webhooks endpoint an invoice payment failed event
When I set paymentBehavior to "default_incomplete" does stripe try to charge the customer?
I need to handle the 1st payment of the subscription manually in frontend
I see. When trying to confirm the PaymentIntent of an invoice: if it requires 3DS, then we send two webhook events: invoice.payment_failed and invoice.payment_action_required.
This is mentioned here: https://docs.stripe.com/billing/migration/strong-customer-authentication#summary-webhooks
Okay so I can skip the check in invoice.payment_failed if the status is payment_action_required
When I set paymentBehavior to "default_incomplete" does stripe try to charge the customer?
Hey there, catching up here. soma had to step away.
Right, so using payment_behavior=default_incomplete will instead not attempt payment right away, and instead keep the subscription incomplete by default, then you can confirm the first payment client side so the customer can handle 3ds if required
Ok, so why does it send a payment failed event ?
It didnt send it when you created the subscription
it sent that event when you confirmed the payment client side: https://dashboard.stripe.com/test/logs/req_VIJh3uAFdVSZoK
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 expected when the confirmation is not successful, including 3ds