PayPal Commerce won't load in checkout

4 tháng cách đây
I have installed the PayPal commerce plugin on my upgraded 4.7 Nop Commerce (previously we used Smart Buttons). All of the settings are correct. I have the newest version of the plugin from November 2024.

Firstly, the PayPal buttons don't show up on the cart page even though I have checked "Display buttons on shopping cart". There are no Javascript errors, though. They just don't show up.

Secondly, you can choose PayPal Commerce as a payment type, but on the paymentinfo page, there is nothing shown other than the order summary.

I do get Javascript errors. "Uncaught Error: Invalid layout:"

This is the URL it is trying to get: https://www.paypal.com/sdk/js?client-id=[myclientid]&commit=true&components=buttons,funding-eligibility&currency=USD&debug=false&intent=authorize&vault=false

This URL is also causing an error:
https://www.paypal.com/tagmanager/pptm.js?id=www.powerequipmentwarehouse.com&t=xo&v=5.0.465&source=payments_sdk&client_id=[myclientid]&comp=buttons,funding-eligibility&disableSetCookie=true&vault=false

This is my webhook URL: https://www.powerequipmentwarehouse.com/plugins/paypalcommerce/webhook

There are no errors in my Log pertaining PayPal.

I don't know where to go from here...

I have the plugin disabled in my store for now, so customers don't choose it on checkout.
4 tháng cách đây
Well, this resolved itself after I uninstalled and re-installed the plugin. Kind of a bummer that installing over the plugin didn't work but I'm glad to have it resolved!