PayPal网关拒绝了请求。安全性头无效(#10002:安全错误Magento [英] PayPal gateway has rejected request. Security header is not valid (#10002: Security error Magento

查看:2833
本文介绍了PayPal网关拒绝了请求。安全性头无效(#10002:安全错误Magento的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在magento中支付支票。我已经填写了magento管理员的所有凭证。当我去前台并点击付款按钮,它会给出


PayPal网关已经拒绝了请求。安全标题无效
(#10002:安全错误


我已经google了很多,发现了一些建议,如





Admin-> configuration-> Paypal-> API / Integration Settings删除API用户名,API密码和API签名清除缓存
并再次测试


我已尝试所有这些,但仍然提供相同的错误。



请指出我可能是什么问题

解决方案

安全性头无效只有导致两个原因:


  1. 错误的凭据
    确保您已经您的API用户名,API密码和API签名正确。有时会发生在复制和粘贴时,意外地添加了一个空格,这将触发此错误
    双击SDK中的此设置或第三个派对购物车。


  2. 端点错误
    如果将数据发送到错误的端点,则会出现此错误。确保将实时凭据和数据发送到我们的实时终端。当您想要测试您的商店时,请确保您使用我们的测试端点和沙盒测试帐户的凭据。
    如果您正在使用第三方购物车,请确保您的商店正在以测试或实时模式运行,以及您正在使用的凭据。


您可以在这里查看您的凭据:



FOR LIVE



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



FOR SANDBOX



https://api-3t.sandbox.paypal.com/nvp?&user=xxxxxxxxxx& ; PWD = XXXXXXXXXX&安培;签名= XXXXXXXXXX&安培;版本= 70.0&安培; METHOD = SetExpressCheckout&安培; RETURNURL = HTTP://www.paypal.com/test.php& CANCELURL = HTTP://www.paypal.com/test.php& PAYMENTACTION = Sale& AMT = 50& CURRENCYCODE = USD



只需替换用户 pwd 签名,然后输入您的浏览器。
如果您正确输入了您的凭据,您应该得到ACK = SUCCESS。



您还可以在此处获取凭据:


up the pay-pal advance in magento . I have fill all the credentials in magento admin . BUt when i go to frontend and click pay-pal button it gives

PayPal gateway has rejected request. Security header is not valid (#10002: Security error

i have googled a lot and found some suggestions like

Remove API Username, API Password and API Signature from Admin->configuration->Paypal->API/Integration Settings. clear cache and test again

i have tried all these but it still gives the same error.

Please suggest me what can be the issue

解决方案

The Security header is not valid error is only caused for two reasons:

  1. Wrong credentials Make sure that you've put your API Username, API Password and API Signature correctly. Sometimes it happens that during copy and paste there is accidently a space added, this would trigger this error. Doublecheck this settings in the SDK or in the admin panel of your third party shopping cart.

  2. Wrong Endpoint This error would come up if you send the data to the wrong endpoint. Make sure that you sending the live credentials and data to our live endpoint. When you want to test your store make sure that you use our test endpoint and the credentials from your sandbox test account. If you are using a third party shopping cart, make sure that your store is running in test or live mode, regarding which credentials you are using.

You can check for your credentials here too:

FOR LIVE

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

FOR SANDBOX

https://api-3t.sandbox.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

Just Substitute the user, pwd and signature and enter in your browser. You should get ACK = SUCCESS if you have input your credentials correctly.

You can also get your credentials here : https://www.paypal.com/cgi-bin/webscr?cmd=_get-api-signature&generic-flow=true

这篇关于PayPal网关拒绝了请求。安全性头无效(#10002:安全错误Magento的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆