Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/296.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Paypal网关返回Magento商店的错误_Php_Magento_Paypal_Payment Gateway - Fatal编程技术网

Php Paypal网关返回Magento商店的错误

Php Paypal网关返回Magento商店的错误,php,magento,paypal,payment-gateway,Php,Magento,Paypal,Payment Gateway,我已在Magento 1.7.0.2上设置了Paypal Payments Pro,但当我尝试下订单时,Paypal返回一个错误: [response] => Array ( [TIMESTAMP] => 2014-05-05T15:52:41Z [CORRELATIONID] => 310e857075603 [ACK] => Failure [VERSION

我已在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
        )
我已经在这里检查了我的凭据,他们正在返回成功。


您知道是什么导致了此安全标头问题吗?

通常,此错误表示您没有使用正确的API凭据。如果您确信您的凭据是正确的,那么请查看您的端点。沙盒凭据在生产环境中无效,live凭据将在沙盒中产生此错误

我如何重新检查我的端点?我在Magento中将“沙盒模式”设置为“否”,并且我检查了复制凭据的Paypal URL,但它不是沙盒URL。