Hi Max,
Using the Stripe plugin, I can see that I have the ability to go to a page if the payment succeeds, and a different page if the payment fails, but what is to stop a clever person from simply changing the URL in the browser to go to the success page and make it look like the payment succeeded when it did not?
Is there a success/fail data variable that is returned that I can look at?
Thanks!
Brian
Hi Brian
Stripe will post to a page on your website after a purchase is made, you set this up in your Stripe account, on this page there should be some code to verify that it's called by Stripe and update the order in your database, this is called a Stripe Listener action and is not yet available, but I can try to add it in the next update or the one after
Hi Max,
I noticed that the "Stripe Listener" is available now. How do we set it up?
In "RSEvents!PRO" there is is instructions to set up a webhook like "https://<yourwebsite>/index.php?rseprostripewebhook=1" and to use "Tokens" at Stripe-checkout.
What is the CF8 equivalent? And what do I have to add to the DB?
//Dennis
Hi Dennis
Please check this updated tutorial:
I have taken some time but eventually got this working based on the faq with the following change:
I used the variable {str:uuid} shortcode to get a unique order identifier.
What I discovered is that in the Stripe listener action, on payments success the database 'Save Data' - 'Where' statement needed to be:
order_id="{var:order_id}"
Hope this helps others.
Wallyhowe
Hi Wallyhowe
Thank you very much for posting this fix, I have updated the tutorial.
