Paypal自适应支付错误58001

时间:2013-09-06 06:54:06

标签: paypal paypal-adaptive-payments

我目前正在开发使用paypal的自适应支付系统,但是58001错误一直在发生

Paypal响应:

        {
        "responseEnvelope": {
            "timestamp": "2013-09-05T23:38:25.762-07:00",
            "ack": "Failure",
            "correlationId": "a72d1f30e37d4",
            "build": "6941298"
        },
        "error": [
            {
                "errorId": "580001",
                "domain": "PLATFORM",
                "subdomain": "Application",
                "severity": "Error",
                "category": "Application",
                "message": "Invalid request: {0}"
            }
        ]
}

Paypal请求:

$createPacket = array(
    "actionType" => "PAY",
    "currencyCode " => "USD",
    "receiverList" => array(
        "reveiver" => array(
            array(
                "amount" => "1.00",
                "email" => USER_EMAIL1
            ),
            array(
                "amount" => "3.00",
                "email" => USER_EMAIL2
            )
        )
    ),
    "returnUrl" => "http://localhost/",
    "errorUrl" => "http://localhost/",
    "cancelUrl" => "http://localhost/",
    "requestEnvelope" => array(
        "errorLanguage" => "en_US",
        "detailLevel" => "ReturnAll"
    )
);

我无法弄清楚出了什么问题。我仔细检查了一切。

1 个答案:

答案 0 :(得分:0)

我明白了。我只是在currencyCode之后有额外的空间。这是“currencyCode”=> “USD”何时应该是“currencyCode”=> “美元”:)