Magento 2 JavaScript Error – customer-data.js Error in Instant Purchase

customer-datainstant-purchasejavascriptmagento2

I keep getting a JS error in my site, it's an ajax get request to http://domain.com/customer/section/load/?sections=instant-purchase&update_section_id=false&_=1517327157790 which results in a "code 400 Bad request".

It gets called by the Instant Purchase module – which is disabled in my Magento 2.2.2 site.

What could cause this?

My understanding is that the sections.xml file does this, but if the module is disabled, it should stop, right?

What am I missing?

Best Answer

See my answer for a different question concerning similar issues:

https://magento.stackexchange.com/a/213550/14403

I believe this will work for you concerning instant-purchase as well.

Related Topic