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?
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.
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.