donglvlao8367 2018-10-26 23:09
浏览 145

Wordpress Avada主题 - 方形付款问题删除Woocommerce结帐字段

Having issues removing checkout fields that is not needed. When client pays through PayPal, there is no problem. But through Square, its showing the following error when I remove billing_country, billing_address_1, billing_city, billing_state and billing_postcode:

Array
(
[0] => stdClass Object
(
[category] => INVALID_REQUEST_ERROR
[code] => INVALID_ENUM_VALUE
[detail] => “ is not a valid enum value for `billing_address.country`.
[field] => billing_address.country
)

)
Order status changed from Pending payment to Failed.

As it shows in the code, it is requiring billing_address.country. So I added that field again and when I try to submit the payment, it shows me the following error:

Array
(
[0] => stdClass Object
(
[category] => INVALID_REQUEST_ERROR
[code] => MISSING_REQUIRED_PARAMETER
[detail] => Missing required parameter.
[field] => card_nonce
)

)
Order status changed from Pending payment to Failed.

I did some research and apparently its stopped becoming a Woocommerce issue and it became a theme issue.

Have contacted Avada's support, but no response from them so far.

Any help would be appreciated.

  • 写回答

1条回答 默认 最新

  • doulingzou1712 2018-10-27 04:44
    关注

    This work for me: disconnect square, log into square in the same browser, connect square in wordpress and ensure there is a test product of at least $1. Worked.

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog