Skip to content

Braintree PayPal locale should have it's own setting #9639

@tomasinchoo

Description

@tomasinchoo

Preconditions

Any version of Magento 2

Steps to reproduce

  1. Create (for example) website with en_IE locale.
  2. Configure Braintree sandbox.
  3. Try to buy something

Expected result

  1. One should be able to use PayPal via Braintree payment method

Actual result

  1. JavaScript error in console: "Error: This PayPal integration does not support this country"

Issue is trivial:
Magento reads locale from config and when locale is not supported, it throws error.
Issue wouldn't happen in case there is configuration field where you can explicitly configure one of
supported locales for Braintree.

This is actually BUG, not feature request ;)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions