Closed htdat closed 5 years ago
Related commit https://github.com/htdat/woo-viet/commit/12649806c3012835410bb27b964ec9fea6cc08f6
In fact, the fix for https://github.com/htdat/woo-viet/issues/56 is creating this issue.
match_order_currency_and_amount() changes currency
and total
of $order
valid_response() is run then these checks for currency
and total
are passed.
Email is sent during this portion of the code. More specifically:
Another idea is to hook into woocommerce_order_get_currency
filter where valid_response
is being run, which can be checked by using debug_backtrace()
.
This is NOT feasible as debug_backtrace() can not be used in production env.
Fixed in #67
From https://wordpress.org/support/topic/currency-not-converted-in-order-confirmation-mail/
How to replicate
Support VND for the PayPal Standard gateway
.