Magento2Msp icon indicating copy to clipboard operation
Magento2Msp copied to clipboard

[PLGMAGTWOS-498] Uncaught typeError on multiple property when fastcheckout enabled

Open GuidoHub opened this issue 9 years ago • 1 comments

When you have enabled fastcheckout you will get several uncaught typeErrors when adding a product to the cart.

  • Uncaught TypeError: Cannot read property 'quoteData' of undefined
  • Uncaught TypeError: Cannot read property 'defaultSuccessPageUrl' of undefined
  • Uncaught TypeError: Cannot read property 'storeCode' of undefined
  • Uncaught TypeError: Cannot read property 'checkoutAgreements' of undefined
  • Uncaught TypeError: Cannot convert undefined or null to object

Tested with chrome in incognito mode.

Steps to reproduce:

  • Enable fastcheckout in Stores->Configuration->Multisafepay (1.4.6) ->Fastcheckout
  • Go to product detail page
  • Add product to cart
  • You will now see the script errors.

GuidoHub avatar Oct 27 '17 15:10 GuidoHub

A patch with this fix can be found in a2b69b9dd5adf9a0592efdecff70e2a447651d06 We will include this patch in the upcoming version of our plugin.

Jasper-MultiSafepay avatar Nov 12 '19 11:11 Jasper-MultiSafepay