Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter hook for currency code. #587

Closed
angelleye opened this issue Nov 11, 2016 · 3 comments
Closed

Filter hook for currency code. #587

angelleye opened this issue Nov 11, 2016 · 3 comments
Assignees
Milestone

Comments

@angelleye
Copy link
Collaborator

angelleye commented Nov 11, 2016

@angelleye angelleye added this to the 1.3.0 milestone Nov 11, 2016
@angelleye
Copy link
Collaborator Author

I have edited the function buy_now_button() in paypal-for-woocommerce.php adding

if(get_woocommerce_currency() != "EUR") {
return false;
}

but don't want to hack your code like that.

@kcppdevelopers
Copy link
Contributor

We have added below supported currencies filters:

  • woocommerce_paypal_express_supported_currencies
  • woocommerce_paypal_advanced_supported_currencies
  • woocommerce_paypal_rest_api_supported_currencies
  • woocommerce_paypal_pro_supported_currencies
  • woocommerce_paypal_pro_payflow_supported_currencies

Also we have added Aelia Currency Switcher compatibility to our plugin.

@daigo75
Copy link
Contributor

daigo75 commented Dec 9, 2016

Thanks everybody, excellent work! 👍

angelleye pushed a commit that referenced this issue Dec 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants