Stripe cancellation payment from popup to trigger an action

Hi,

I have a work flow with Stripe to “Charge the current user”. when the action is completed the Stripe popup which ask you to enter your card number to process the payment closes down fine, you receive a confirmation message of your payment and the workflow is completed.
However, I would like to trigger an action when this Stripe popup is closed down manually (by clicking on the X of this popup) which means that the transaction was stopped and the workflow did not finish.

Normally on regular popup you can use “when a popup is closed then…” but with Stripe popup you cannot select this Stripe popup from dropdown list.

How can I trigger an action when the Strippe popup window is closed because the user cancel the payment?

Thank you

1 Like

You should be able to use an event ‘when the popup is closed’. What did you try so far?

Hi Emmanuel,

Thank you your input.

Indeed, it is the first thing I tried but I cannot select any popup in the dropdown list coming from Stripe. That will help a lot if it was possible.

Though part of the problem will still remain because when the popup is closed the stripe action workflow to charge the customer is still incomplete. The blue progress bar on the top on the page is still ongoing and it is a few seconds later that the alarm message appears “Your card has successfully been charged…”. So between the popup from Stipe when you enter your credit card number and the confirmation message that the card was charged (successfully or not) there is a gap that can be more or less long where users can click again on the “Pay” button.

I tried other few things to use custom state for the button “Pay” element but still doesn’t work because I need a trigger and the trigger is the Stripe popup window for which it is not possible to select anywhere.

The best would be to have a function that says” When the progress blue line is ongoing then …” and another function to select the Stripe popup in the dropdown list.

Let me know any other suggestions.

Thank you

Hi Emmanuel,

I am still stuck. Do you have any suggestions to trigger an action based on the Stripe popup window when it closes?

Thank you

Hi,

Did you get any answer to this as I would also like to be able to trigger an action if the Stripe payment popup window is closed by the user using the X.

Like you I am unable to use ‘A popup is closed’ for this as the Stripe popup is not an option in the workflow.

Thanks

Unfortunately, I did not get an answer and can’t find a work around. Very annoying!

I believe a new action needs to be created in Bubble or a Java script that will test when the Stripe window is closed.

If you find a way to do it please let me know.

Thanks

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.