Help with stripe module please

:bullseye: What is your goal?

Want a failed stripe payment like card declined to end scenario instead of a warning which keeps scenario going.

:thinking: What is the problem & what have you tried?

Have payment intent stripe module when card declines it sends a warning but scenario is still active. Tried confirm payment intent but no output bundle and doesnt go to next module.

Hello,

Welcome to the community!

Could you please show us your workflow- especially where your Stripe module is used?

There are a few approaches to solve your issue.
The simplest is to use Router and use one route with a filter for success and another with a filter configured for failure.

I tried but stripe module had no output bundle and didnt have a status field.

There is no error code or error details? Sorry for question but I still dont know which exactly module you are reffering to.

In that case, you can use one of the error handlers- which one depends on your process. I don’t know your scenario or triggers, so I can’t suggest a specific one.

Learn more about error handlers:

Have a nice day,
Michal

Make is not stopping because Stripe is giving a warning, not a full stop.

So instead of waiting for Make to stop by itself, add one more check after the Stripe step:

  • if payment worked, continue

  • if payment failed or card was declined, stop there

So the easy fix is: check the Stripe payment status and only continue when it says success.