Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Add a new Gateways class to handle the locale code of Paypal checkout #6

Merged
merged 1 commit into from Jun 24, 2015

Conversation

nicobea
Copy link
Contributor

@nicobea nicobea commented Jun 24, 2015

Hello Hyyan,

I've just added a new Gateways class to handle the locale code of Paypal checkout. The class hooks on the builtin woocommerce "woocommerce_paypal_args" filter to add an extra argument "locale.x" with the current value of pll locale. In this way the Paypal checkout is on the same language that the current pll language.

Regards

@hyyan
Copy link
Owner

hyyan commented Jun 24, 2015

@nicobea thank you very much for your valuable contribution , I'll merge this as I can not see any side effects in this PR 👍

hyyan pushed a commit that referenced this pull request Jun 24, 2015
Add a new Gateways class to handle the locale code of Paypal checkout
@hyyan hyyan merged commit 34b8fb2 into hyyan:master Jun 24, 2015
@ilariamast ilariamast mentioned this pull request Jun 9, 2019
@Novy85 Novy85 mentioned this pull request Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants