Skip to content

"Section source is not supported" JS error when enabling PayPal #10660

@codedge

Description

@codedge

After enabling PayPal Express as payment method, the following Javascript error appears on all pages:

http://sds-shop.local.dev/customer/section/load/?sections=cart-data&update_section_id=false&_=1503661222518

The mentioned solution in here #6410, to clear the local storage does not help.

Preconditions

  1. Magento CE 2.1.8
  2. Google Chrome 60.0.3112.101

Steps to reproduce

  1. Configure and enable PayPal Express
  2. Put product in to cart
  3. Go to checkout
  4. Cancel and go back to homepage
  5. Error appears.

Expected result

The AJAX call to http://sds-shop.local.dev/customer/section/load/?sections=cart-data&update_section_id=false&_=1503661222518 should work and not resulting in a Javascript error.

Actual result

The console in Google Chrome shows an error.
AJAx Request fails with error 400: http://sds-shop.local.dev/customer/section/load/?sections=cart-data&update_section_id=false&_=1503661222518

Uncaught Error: [object Object]

Response: {"message":""cart-data" section source is not supported."}

jserror

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releasebug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions