We've moved discussions to Discord

"Confirm your latest payment" notification won't go away even though payment is successful

Even though credit card SCA was successful and payment for a subscription was also successfully made, I keep getting this notification banner that says "Confirm your latest payment". See proof for payment is successful:

payment_successful_initial.png 32.7 KB


Clicking on "Confirm your latest payment" banner, I see that the payment is successful. Clicking on "Back" will get me back to the page that says "Confirm your latest payment" again. It's like an endless loop.

payment_successful.png 46.5 KB



Webhooks are running in development mode:

2020-10-17 23:33:23   --> payment_intent.succeeded [evt_1HdSe7FpD1Vi3MJwjS9RaJ9c]
2020-10-17 23:33:23  <--  [404] POST http://localhost:3000/pay/webhooks/stripe [evt_1HdSe7FpD1Vi3MJwjS9RaJ9c]
2020-10-17 23:33:23   --> charge.succeeded [evt_1HdSe7FpD1Vi3MJwNfn1YcLZ]
2020-10-17 23:33:23  <--  [404] POST http://localhost:3000/pay/webhooks/stripe [evt_1HdSe7FpD1Vi3MJwNfn1YcLZ]
2020-10-17 23:33:24   --> customer.subscription.updated [evt_1HdSe7FpD1Vi3MJwiQRRFcOI]
2020-10-17 23:33:24   --> invoice.paid [evt_1HdSe7FpD1Vi3MJwXS6p1s0H]
2020-10-17 23:33:24   --> invoice.updated [evt_1HdSe7FpD1Vi3MJwBWIgWKnh]
2020-10-17 23:33:24   --> invoice.payment_succeeded [evt_1HdSe7FpD1Vi3MJwXtMZ2MAv]
2020-10-17 23:33:24  <--  [404] POST http://localhost:3000/pay/webhooks/stripe [evt_1HdSe7FpD1Vi3MJwiQRRFcOI]
2020-10-17 23:33:24  <--  [404] POST http://localhost:3000/pay/webhooks/stripe [evt_1HdSe7FpD1Vi3MJwXS6p1s0H]
2020-10-17 23:33:24  <--  [404] POST http://localhost:3000/pay/webhooks/stripe [evt_1HdSe7FpD1Vi3MJwBWIgWKnh]
2020-10-17 23:33:24  <--  [404] POST http://localhost:3000/pay/webhooks/stripe [evt_1HdSe7FpD1Vi3MJwXtMZ2MAv]
Chris Oliver
It sounds like one of the payments in the database did not get updated by the webhook. Did you have a previous payment that was not updated by the webhook? Maybe the webhook wasn't running when you tested it once?
Tim Dowling
I am having exactly the same problem I can see through the stripe CLI the payment is successful but im not seeing the webhooks updating the database in the logs. Where should I be looking for the fix on this one?

UPDATE - getting this error -[Report Only] Refused to send form data to 'https://hooks.stripe.com/three_d_secure/redirect_complete/tdsrc_1IKZzZLsJ66A9al5hjVuUhI7' because it violates the following Content Security Policy directive: "form-action 'self'".

That error goes away with a different card. Clearly i've done something wrong to stop the webhooks updating the DB

And ignore me, i failed to add the webhook signing key to the credentials


Notifications
You’re not receiving notifications from this thread.