问题描述
嗨,我在WooCommerce中使用REST API退款时遇到以下错误
Payeezy Gateway Credit Card Void Failed: HTTP 400 Bad Request: Bad Request (28) - Invalid Authorization Number
但是我只想这样做refund manually
。我还将refunded_payment
设置为0
来使付款错误,但每次仍会引发相同的错误。我没有关于退款API的任何信息。
这是我用来创建退款的代码
Array
(
[line_items] => Array
(
[0] => Array
(
[item_id] => 168
[name] => 99 BRAND BANANAS-750
[product_id] => 7687
[quantity] => 1
[subtotal] => 19.99
[subtotal_tax] => 0.00
[total] => 19.99
[total_tax] => 0.00
[sku] => 080660620053
[price] => 19.99
)
[1] => Array
(
[item_id] => 169
[name] => # 3L FRANZIA PINOT GRIGIO
[product_id] => 5218
[quantity] => 1
[subtotal] => 20.99
[subtotal_tax] => 0.00
[total] => 20.99
[total_tax] => 0.00
[sku] =>
[price] => 20.99
)
)
[amount] => 40.98
[refunded_payment] => 0
)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)