Merge pull request #154 from woocommerce/PCP-138-paypal-payments-doesnt-work-with

Filter PayPal-supported language codes
This commit is contained in:
Emili Castells 2021-05-20 11:42:54 +02:00 committed by GitHub
commit cc1cd30bb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 59 additions and 2 deletions

View file

@ -726,7 +726,6 @@ class SmartButton implements SmartButtonInterface {
$params = array(
'client-id' => $this->client_id,
'currency' => get_woocommerce_currency(),
'locale' => get_user_locale(),
'integration-date' => PAYPAL_INTEGRATION_DATE,
'components' => implode( ',', $this->components() ),
'vault' => $this->can_save_vault_token() ?