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.
*** SOLVED *** Stripe ecommerce
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Re: Stripe ecommerce bug
Do you have a demo project?
Re: Stripe ecommerce bug
Thanks! That was helpful.
I have updated the software to address this issue. You can download the update here (10/3/2021):
https://www.wysiwygwebbuilder.com/download.html
I have updated the software to address this issue. You can download the update here (10/3/2021):
https://www.wysiwygwebbuilder.com/download.html
Re: Stripe ecommerce bug
I have done as Vedran did. I set up a button with an eCommerce event, as well as an accept and decline page. I followed the instructions for setting up Stripe as explained in the manual. I have setup Product Ids correctly on Stripe's Dashboard, but when I press the Stripe button to which the eCommerce event is attached, nothing happens. I have downloaded the latest version so have the fixes Pablo is referring to.
Can somebody please offer some help. Is there something else I must do on Stripe or is it a WYSIWYG issue?
Thank you.
Can somebody please offer some help. Is there something else I must do on Stripe or is it a WYSIWYG issue?
Thank you.
Re: Stripe ecommerce bug
To be able to help you, I need a DEMO project (.wbs file) so I can see all your settings.
I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.
For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.
For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
Re: Stripe ecommerce bug
The settings look ok.
Did you publish the page?
Are there any errors in the browser's error console?
Did you publish the page?
Are there any errors in the browser's error console?
Re: *** SOLVED *** Stripe ecommerce
These are the errors
► POST https://api.stripe.com/vl/pavment pages
4 Shared-4e08b2beac87f-e0d0e8bf03726a.js:1
0
0
► Uncaught (in promise)
IntegrationError: No such plan:
'prod_LFkx4dQfw9n7By'
at et (v3:1:94950)
at e._handleMessage (v3:1:103953)
at e._handleHessage (v3:1:74083)
at v3:1:101904
What does this mean?
► POST https://api.stripe.com/vl/pavment pages
4 Shared-4e08b2beac87f-e0d0e8bf03726a.js:1
0
0
► Uncaught (in promise)
IntegrationError: No such plan:
'prod_LFkx4dQfw9n7By'
at et (v3:1:94950)
at e._handleMessage (v3:1:103953)
at e._handleHessage (v3:1:74083)
at v3:1:101904
What does this mean?
Re: *** SOLVED *** Stripe ecommerce
This seems to indicate that the product id is incorrect.
Re: *** SOLVED *** Stripe ecommerce
Thank you for your help and an excellent product which I have used for years.