Page 1 of 1

PayPal e-commerce in Cards missing settings in WWB 19

Posted: Mon Dec 04, 2023 4:36 pm
by Bluesman
Hi Pablo and Team. Having the latest update 19.0.1 - 4/12. Using the e-commerce in "cards" I can not find where to enter the product-id. And is it correct to enter the PayPal email in Options/Ecommerce? Is this project specific and can be different for different projects?

Re: PayPal e-commerce in Cards missing settings in WWB 19

Posted: Mon Dec 04, 2023 4:52 pm
by Pablo

Re: PayPal e-commerce in Cards missing settings in WWB 19

Posted: Mon Dec 04, 2023 5:11 pm
by Bluesman
Pablo wrote: Mon Dec 04, 2023 4:52 pm This has not changed compared to previous versions.
https://www.wysiwygwebbuilder.com/ecommerce.html

See also:
https://www.wysiwygwebbuilder.com/ecommerce_cards.html
Ok... sorry Pablo missed the "Event" part :roll: but the part where you enter the PayPal email has changed to be set up in Options/Ecommerce. Is this setting project specific? Because I thought the settings in "Options" were applied to all projects?

Re: PayPal e-commerce in Cards missing settings in WWB 19

Posted: Mon Dec 04, 2023 5:58 pm
by Pablo
This option is for use with the new PayPal JavaScript SDK.
viewtopic.php?t=97868#p490093

These settings are project specific.

Re: PayPal e-commerce in Cards missing settings in WWB 19

Posted: Mon Dec 04, 2023 6:31 pm
by Bluesman
Pablo wrote: Mon Dec 04, 2023 5:58 pm This option is for use with the new PayPal JavaScript SDK.
viewtopic.php?t=97868#p490093

These settings are project specific.
Hi again Pablo, when I started my project I checked the "pizzashop" template. In this the PayPal Shopingcart was set to "Legacy Payment button". So it means I must change this to "JavaScript SDK"?

Re: PayPal e-commerce in Cards missing settings in WWB 19

Posted: Mon Dec 04, 2023 6:34 pm
by Pablo
You only need to change it if you want to use the new PayPal JavaScript SDK.
You can try them both and see what work best for you.

Re: PayPal e-commerce in Cards missing settings in WWB 19

Posted: Tue Dec 05, 2023 7:06 am
by Bluesman
Pablo wrote: Mon Dec 04, 2023 6:34 pm You only need to change it if you want to use the new PayPal JavaScript SDK.
You can try them both and see what work best for you.
Hi again... sorry to disturb. I think I have all settings correct but it will not work. I used the Pizza template copying card and modified. But when clicking Add to Cart it doesn't work... Can you have a check Pablo?
Testproject: https://www.chevere.ec/web_storage/knig ... _error.zip

Addition: I noticd it's the "Age verification" that makes the error... Can this be fixed?

Re: PayPal e-commerce in Cards missing settings in WWB 19

Posted: Tue Dec 05, 2023 7:31 am
by Pablo
You have selected 'don't publish assets' for the extension.

If you do not publish the script for "Age verification" then the browser will throw an error and the other scripts on the page will also not work.

Tip: if something does not work then remove everything that is not relevant to the issue from the page. That is the only way to reliably test something.

Re: PayPal e-commerce in Cards missing settings in WWB 19

Posted: Tue Dec 05, 2023 9:07 am
by Bluesman
Pablo wrote: Tue Dec 05, 2023 7:31 am You have selected 'don't publish assets' for the extension.

If you do not publish the script for "Age verification" then the browser will throw an error and the other scripts on the page will also not work.

Tip: if something does not work then remove everything that is not relevant to the issue from the page. That is the only way to reliably test something.
Ok Pablo, tnx. Will remember that :) I did'nt know that "don't publish assets" also affected other objects/scripts on the page.