【问题标题】:Paypal gateway returns error for Magento storePaypal 网关为 Magento 商店返回错误
【发布时间】:2014-06-22 00:54:09
【问题描述】:

我在 Magento 1.7.0.2 上设置了 Paypal Payments Pro,但是当我尝试下订单时,Paypal 返回错误:

[response] => Array
        (
            [TIMESTAMP] => 2014-05-05T15:52:41Z
            [CORRELATIONID] => 310e857075603
            [ACK] => Failure
            [VERSION] => 72.0
            [BUILD] => 10850615
            [L_ERRORCODE0] => 10002
            [L_SHORTMESSAGE0] => Security error
            [L_LONGMESSAGE0] => Security header is not valid
            [L_SEVERITYCODE0] => Error
        )

我在这里检查了我的凭据,并且他们返回成功。 https://api-3t.paypal.com/nvp?&user=xxxxxxxxxx&pwd=xxxxxxxxxx&signature=xxxxxxxxxx&version=70.0&METHOD=SetExpressCheckout&RETURNURL=http://www.paypal.com/test.php&CANCELURL=http://www.paypal.com/test.php&PAYMENTACTION=Sale&AMT=50&CURRENCYCODE=USD

关于什么可能导致此安全标头问题的任何想法?

【问题讨论】:

    标签: php magento paypal payment-gateway


    【解决方案1】:

    通常,此错误意味着您没有使用正确的 API 凭据。如果您确信您的凭据是正确的,请查看您的端点。沙盒凭据在生产环境中无效,实时凭据将在沙盒中产生此错误

    【讨论】:

    • 如何仔细检查我的端点?我将 Magento 中的“沙盒模式”设置为“否”,并且我检查了从中复制凭据的 Paypal URL,它不是沙盒 URL。
    猜你喜欢
    • 2012-01-08
    • 1970-01-01
    • 2011-01-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多