*** SOLVED *** Stripe ecommerce
Posted: Sun Oct 03, 2021 1:17 pm
Hi Pablo,
I have tried out the new stripe payment feature that was added in wysiwyg v17.
Turns out that there is a bug with your script, it looks like it is unable to give success and cancel url to stripe's checkout and therefore it doesn't allow me to use it.
I have done the following:
1) I've made a button of type normal on a php page.
2) I've created success and cancel pages as php page
3) I went to settings and filled out the publish key with stripe's public key, than I filled out the website name field.
4) Then I added the click event onto the button.
5) In click event I have filled out price id, quantity, I've set type as payment and I have selected the pages that I created for success and cancel events.
6) I uploaded all three pages and tried the button but I got the following error:
Uncaught IntegrationError: stripe.redirectToCheckout: You must provide successUrl and cancelUrl.
I have tried out the new stripe payment feature that was added in wysiwyg v17.
Turns out that there is a bug with your script, it looks like it is unable to give success and cancel url to stripe's checkout and therefore it doesn't allow me to use it.
I have done the following:
1) I've made a button of type normal on a php page.
2) I've created success and cancel pages as php page
3) I went to settings and filled out the publish key with stripe's public key, than I filled out the website name field.
4) Then I added the click event onto the button.
5) In click event I have filled out price id, quantity, I've set type as payment and I have selected the pages that I created for success and cancel events.
6) I uploaded all three pages and tried the button but I got the following error:
Uncaught IntegrationError: stripe.redirectToCheckout: You must provide successUrl and cancelUrl.