Gravity Forms Stripe Time-Based Sales
-
I have a sales page with a time-sensitive offer. Whoever comes to the page and buys first gets the product.
Therefore when charge succeeded event is triggered, I want the sales page to be redirected to an out of stock page.
So for example, I have a page called http://www.example.com/sales-page.
It is available for 3 days.1 day into the sale someone comes along and buys the product.
If someone else comes to http://www.example.com/sales-page after the product has been purchased, I want it to go to http://www.example.com/too-late.
How do I redirect someone using wordpress+stripe? I assume it is a function in charge succeeded event. I am just not sure what function.
How do I check if someone has purchased before them in order to show them the too-late page?
Where would this code go (functions.php)?
- The topic ‘Gravity Forms Stripe Time-Based Sales’ is closed to new replies.