admin管理员组文章数量:1325236
I have been looking all over Google for hours now and am very confused. Everyone has a different answer, and most don't explain where to put the code snippet that they post.
I am attempting to create a new blog and web store with a self-hosted WordPress site. The site is running on a machine running the latest version of Ubuntu Server and apache2. I am using the plugin "WP Simple PayPal Shopping Cart" to create a way for users to checkout. On the checkout page, attempting to checkout with PayPal Express will cause the "ReferenceError: jQuery is not defined" error, seemingly due to a JavaScript file on PayPal's servers.
I am not sure how to fix this. I am aware that jQuery should be loaded before anything attempts to run it, but I have no idea how to do that, or if it's already correct and that isn't the issue at all. I also saw that some speed boosting plugins could cause the issue but I have not installed any of them. Any help would be appreciated.
The site is broketrainenthusiast but to see the issue you'll need to add this fake item to your cart at broketrainenthusiast/example/ and then initiate a purchase by clicking the PayPal button on broketrainenthusiast/cart/ (don't worry. it's in Sandbox mode).
As I said, any help with this would be appreciated, as this error prevents any successful transaction from occurring.
I have been looking all over Google for hours now and am very confused. Everyone has a different answer, and most don't explain where to put the code snippet that they post.
I am attempting to create a new blog and web store with a self-hosted WordPress site. The site is running on a machine running the latest version of Ubuntu Server and apache2. I am using the plugin "WP Simple PayPal Shopping Cart" to create a way for users to checkout. On the checkout page, attempting to checkout with PayPal Express will cause the "ReferenceError: jQuery is not defined" error, seemingly due to a JavaScript file on PayPal's servers.
I am not sure how to fix this. I am aware that jQuery should be loaded before anything attempts to run it, but I have no idea how to do that, or if it's already correct and that isn't the issue at all. I also saw that some speed boosting plugins could cause the issue but I have not installed any of them. Any help would be appreciated.
The site is broketrainenthusiast but to see the issue you'll need to add this fake item to your cart at broketrainenthusiast/example/ and then initiate a purchase by clicking the PayPal button on broketrainenthusiast/cart/ (don't worry. it's in Sandbox mode).
As I said, any help with this would be appreciated, as this error prevents any successful transaction from occurring.
Share Improve this question edited Aug 10, 2020 at 15:56 bravokeyl 3,3776 gold badges27 silver badges33 bronze badges asked Aug 8, 2020 at 16:59 MacBook1MacBook1 11 Answer
Reset to default 0This could be caused by the WordPress 5.5 update which has removed jQuery. I'd suggest trying the Enable jQuery Migrate Helper plugin.
本文标签: javascriptquotjQuery Not Definedquot Error When Connecting to PayPal
版权声明:本文标题:javascript - "jQuery Not Defined" Error When Connecting to PayPal 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742167197a2426044.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论