We are using Caldera Forms in wordpress.
You will need to be familiar with Caldera Form builder to work on this project.
We have a caldera form that takes payment via a simple form. The form work fine but now that we have to introduce "Two Factor Authentication' to the form process. We are having some issues.
The form has three processes.
1. go to stripe and process the order for the amount
2. Redirect to the than you page
3. Send automated email to the user confirming order and also email the website admin about the new order
All of this is setup and working fine.
Recently we switched to two factor authentication
Now when the use click on the form the form runs to go to stripe to make the payment but it seems to run to the second part of the process to go to the redirect page 'Thank you page' while the Strip window opens to do the payment process.
We would like to add a conditional element to the second part of the script.. to pause and wait until the payment has been processed before it moves on to the redirect to thank you page part of the process.
We would like to add ... wait for stripe to send element back back to the main website before moving on to the redirect page. and then move on to the send email to customer and admin with notification.
This is the general overview of what we want to add to the form process.
Remember we are using Caldera Forms in Wordpress and Stripe payment gateway.
Please see screenshot of the caldera form process actions list.