problem with paypal-ecommerce plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 years ago
I setting up paypal-ecommerce plugin on nopcommerce version 4.0.4. I am getting following error.
I am using default theme. can any body please help me.

jquery.min.js:2 Uncaught ReferenceError: paypal is not defined
    at HTMLDocument.<anonymous> (<anonymous>:5:31)
    at e (jquery.min.js:2:30005)
    at t (jquery.min.js:2:30307)
(anonymous) @ VM773:5
e @ jquery.min.js:2
t @ jquery.min.js:2
setTimeout (async)
S.readyException @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
e @ jquery.min.js:2
t @ jquery.min.js:2
setTimeout (async)
(anonymous) @ jquery.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
fire @ jquery.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
t @ jquery.min.js:2
setTimeout (async)
(anonymous) @ jquery.min.js:2
c @ jquery.min.js:2
add @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
s.Deferred.s.Deferred @ jquery-migrate.js:847
then @ jquery.min.js:2
S.fn.ready @ jquery.min.js:2
(anonymous) @ VM773:2
b @ jquery.min.js:2
Pe @ jquery.min.js:2
append @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
$ @ jquery.min.js:2
html @ jquery.min.js:2
setStepResponse @ public.onepagecheckout.js:77
nextStep @ public.onepagecheckout.js:505
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
load (async)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
s.ajax.s.ajax @ jquery-migrate.js:305
save @ public.onepagecheckout.js:475
onclick @ VM740 onepagecheckout:1
2 years ago
See this Post https://www.nopcommerce.com/en/boards/topic/94640/paypal-commerce-plugin-hit-uncaught-referenceerror-paypal-is-not-defined-during-checkout
2 years ago
Yidna wrote:


I all ready see this post but its not helping me.  I added
insert into Setting values ('widgetsettings.activewidgetsystemnames','Payments.PayPalCommerce',0)

then clear cache even restart application.
2 years ago
Try restart webserver / app pool i.e. Not the Application
2 years ago
Yidna wrote:
Try restart webserver / app pool i.e. Not the Application


sir, I did that but still have same problem.
2 years ago
What nop version and plugin version?
Are there any customizations or third-party plugins (especially for checkout)?
Site under SSL?
2 years ago
RomanovM wrote:
What nop version and plugin version?
Are there any customizations or third-party plugins (especially for checkout)?
Site under SSL?


nopcommerce version 4.40.4
plugin version 1.00
no third party plugin for checkout
yes its under ssl
2 years ago
I just tested the plugin (version 1.0) on a clean installation (4.40.4 without customizations and third-party themes/plugins). It works fine, no errors in logs and browser console, checkout was successful.
Make sure you've configured the plugin correctly.
2 years ago
RomanovM wrote:
I just tested the plugin (version 1.0) on a clean installation (4.40.4 without customizations and third-party themes/plugins). It works fine, no errors in logs and browser console, checkout was successful.
Make sure you've configured the plugin correctly.


Thanks sir,  I was using version 1.0 which was already part of nopcommerce I download the latest plugin code and now its work fine one more problem its not showing "Venmo button".
2 years ago
Where is this button not shown? If it's at the checkout "payment info" step, then it's entirely up to PayPal, they decide which payment methods to show based on your PayPal business account and customer info (country, language, etc).
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.