Jump to content

Edit History

Jurist

Jurist

@202 ecommerce could you help me on fixing the issues related to PayPal module for PS 1.7 please?

We use latest PayPal module 5.4.4 and we have PS 1.7.6.

We get the following errors with PayPal module enabled:

shortcut.js?v=5.4.4:formatted:86 Uncaught TypeError: prestashop.on is not a function
    at Object.init (shortcut.js?v=5.4.4:formatted:86)
    at waitPaypalIsLoaded (duschrinne-wiper-premium-600-mm-ponente:3180)

and another error:

Uncaught ReferenceError: jQuery is not defined
    at jquery-migrate-1.2.1.min.js:2

It is caused by PayPal JS being loaded too high in the site, before prestashop object is initialised.

Is there a way to push the PayPal to the bottom of the list of the loaded items? I think this would resolve both problems.

Thanks

Jurist

Jurist

@202 ecommerce could you help me on fixing the issues related to PayPal module for PS 1.7 please?

We use latest PayPal module 5.4.4 and we have PS 1.7.6.

We get the following errors with PayPal module enabled:

shortcut.js?v=5.4.4:formatted:86 Uncaught TypeError: prestashop.on is not a function
    at Object.init (shortcut.js?v=5.4.4:formatted:86)
    at waitPaypalIsLoaded (duschrinne-wiper-premium-600-mm-ponente:3180)

There's another error "jquery is not defined" that I wasn't able to replicate at this time.

It is caused by PayPal JS being loaded too high in the site, before prestashop object is initialised.

Is there a way to push the PayPal to the bottom of the list of the loaded items? I think this would resolve both problems.

Thanks

×
×
  • Create New...