- 状态
- 已由作者解决
- 相关插件/主题
- WooCommerce PayPal Payments
- 主题标签
- Compatibility, WCML
问题概述
使用 WooCommerce PayPal Payments 2.9.1 版本时,使用默认站点货币以外的货币所下的订单会失败,并显示错误 CANNOT_MIX_CURRENCIES:
Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CANNOT_MIX_CURRENCIES PayPalGateway.php:685 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CANNOT_MIX_CURRENCIES OrderEndpoint.php:584 Order status changed from Pending payment to Failed.
临时解决方法
推荐的临时解决方法是将WooCommerce PayPal Payments降级至 2.9.0 版本。此版本不存在该问题,且可以正确处理不同货币的付款。
WooCommerce团队已知晓该问题,由于它影响了多个多货币插件,他们正在制定通用的解决方案。