#ceci
1 messages · Page 1 of 1 (latest)
Can you send the invoice id so I can check? For that card, that's the expected behavior
It requires auth on all transactions
Likely you want to use 4000002500003155
the invoice id on the real payment that went with the two webhook events?
Thats the ID in_1NGh5cE5V5UmiQs1xJqQjUbe in production environment
Ah yeah we attempted payment on the invoice but it failed due to needing authentication. Once the customer authed the payment, it succeeded. You can see the chain of events at the bottom here: https://dashboard.stripe.com/invoices/in_1NGh5cE5V5UmiQs1xJqQjUbe
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
That's expected
Can you give me some hints how to solve that case and prevent responding to that event and sending an email when the payment is properly handled in stripe?
So do you only want to send the email when the customer's payment fails for off-session payments?
yes
There's a few ways to do this. Since this is a subscription creation invoice and customer will need to be on-session to pay it, you can check billing_reason: "subscription_create" in the invoice.payment_failed event
That's one option
That would be sufficient, let me try.
Thank you for your time and help!
If something is not right I will type back here.
Have a great day!
Sounds good