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

WPML - Using VND in a multi-currency store, OnePay does not work #36

Open
htdat opened this issue Oct 4, 2017 · 0 comments
Open

WPML - Using VND in a multi-currency store, OnePay does not work #36

htdat opened this issue Oct 4, 2017 · 0 comments
Labels
enhancement Pri - Low Low priority issues.

Comments

@htdat
Copy link
Owner

htdat commented Oct 4, 2017

Reported from https://wordpress.org/support/topic/uing-vnd-but-cant-get-one-pay-to-work/

This is not a bug. It's the intention to support VND with OnePay only.

Issue:

  • Main currency store - USD, but setup in WPML/WCML with VND also.
  • See the VNese products, VND displays.
  • But in the back end, see this error Your store currency is USD. This gateway is not active on your site. Because OnePay supports VND only.

Code:

you can tweak true/false to enable the OnePay gateway (by changing the ‘VND’ to ‘USD’).

Bigger issue:

The OnePay class I wrote is good, just the issue with sending the correct amount value of the order and its currency.

Solution:

  • Check how WPML sends the amount of money and currency during the checkout process.
  • Check how to enable the settings in the back-end, "code" section above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pri - Low Low priority issues.
Projects
None yet
Development

No branches or pull requests

1 participant