admin管理员组文章数量:1181439
I have a custom fee that I add to the woocommerce checkout page if a user checks a checkbox. I'm adding this fee like this
$cart->add_fee("My Custom Fee", 60, true);
If i change the currency with WooPayments this fee does not change. How can I tap into WooPayments to convert this for me OR how can i get the current currency exchange rate to do the math myself programatically?
本文标签: Woocommerce Payments Currency Conversion on Custom FeeStack Overflow
版权声明:本文标题:Woocommerce Payments Currency Conversion on Custom Fee - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738158877a2066503.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论