API的Coinbase Commerce Woocommerce错误响应:缺少必需的参数:price_type

时间:2018-09-25 15:29:06

标签: wordpress woocommerce coinbase-api coinbase-php

将Coinbase Commerce集成到我的Wordpress Woocommerce网站上,自昨天以来一切正常。 当客户单击“继续进行Coinbase”按钮完成购买时,网站显示“处理结帐出错。请重试。”

我登录了Coinbase Commerce插件,我看到的错误是:

2018-09-25T10:57:06+00:00 INFO Coinbase Request Args for charges: Array
(
    [name] => DomainName
    [description] => some description
    [pricing_type] => fixed_price
    [local_price] => Array
        (
            [amount] => 3000.00
            [currency] => USD
        )

    [metadata] => Array
        (
            [order_id] => 438
            [order_key] => wc_order_5ba994a3a976c
        )

    [redirect_url] => https://example.com/checkout/order-received/438/?key=wc_order_5ba994a3a976c
)

2018-09-25T10:57:07+00:00 INFO Error response from API: Required parameter missing: pricing_type

我不知道该怎么办,我需要更改以解决此问题。

0 个答案:

没有答案