Java CCAvenue 付款错误代码 10002 商户身份验证失败。别担心......它发生在我们中最好的人身上
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28672124/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
CCAvenue Payment Error code 10002 Merchant Authentication failed. Don't worry... It happens to the best of us
提问by Ram
I am using cc-avenue jsp integration kit in my website. I have used the code which is provided by cc-avenue but when I try to checkout from my site it gives an error
我在我的网站上使用 cc-avenue jsp 集成工具包。我使用了 cc-avenue 提供的代码,但是当我尝试从我的网站结账时,它给出了一个错误
10002 Merchant Authentication failed. Don't worry... It happens to the best of us.
10002 商户认证失败。别担心......它发生在我们中最好的人身上。
Please any one help me to resolve this problem.
请任何人帮我解决这个问题。
回答by Aravin
This error can be caused by an incorrect merchant ID, an incorrect access code, or if the order originates from an unregistered URL. Make sure that all three of these values are correct.
此错误可以由一个不正确引起的商家ID,一个不正确的访问代码,或者如果从所述顺序始发未注册的URL。确保所有这三个值都正确。
For your security, CCAvenue does not report exactly which of these three values might be in error.
为了您的安全,CCAvenue 不会准确报告这三个值中的哪一个可能有误。
Update:
更新:
- You can find CCAvenue setup for ASP.net from here: http://aravin.net/complete-guide-integrate-ccavenue-payment-gateway-asp-net-website-screenshot/
- Also, you can find steps to solve the 10002 here: http://aravin.net/how-to-test-ccavenue-payment-gateway-in-localhost-avoid-error-code-10002-merchant-authentication-failed/
- 您可以从这里找到 ASP.net 的 CCAvenue 设置:http://aravin.net/complete-guide-integrate-ccavenue-payment-gateway-asp-net-website-screenshot/
- 此外,您可以在此处找到解决 10002 的步骤:http: //aravin.net/how-to-test-ccavenue-payment-gateway-in-localhost-avoid-error-code-10002-merchant-authentication-failed/
回答by MUNAWARALI KANNIYAN
The Error code 10002 means that Access code or URL not valid so request you to confirm that you are posting the Access code value to CCAvenue and also confirm that the request URL posting to CCAvenue has to be the same as the registered URL with us, as we are having the URL Validation at our end.
错误代码 10002 表示访问代码或 URL 无效,因此请您确认您将访问代码值发布到 CCAvenue,并确认发布到 CCAvenue 的请求 URL 必须与我们注册的 URL 相同,因为我们在最后进行了 URL 验证。
The post action URL must be https://secure.ccavenue.com/transaction/transaction.do?command=initiateTransaction
发布操作 URL 必须是https://secure.ccavenue.com/transaction/transaction.do?command=initiateTransaction
Kindly confirm that you're passing the correct API keys in the integration kit.
We would like to inform you that the API keys that are generated in your account, are for the live website URL and live server (i.e. secure.ccavenue.com). Thus, if we receive any request other that the website URL, (e.g. Local host / sub-domain), or for the test server (i.e. https://test.ccavenue.com/transaction/transaction.do?command=initiateTransaction), you will get the merchant authentication failed error.
请确认您在集成工具包中传递了正确的 API 密钥。
我们想通知您,在您的帐户中生成的 API 密钥用于实时网站 URL 和实时服务器(即 secure.ccavenue.com)。因此,如果我们收到除网站 URL(例如本地主机/子域)或测试服务器(即https://test.ccavenue.com/transaction/transaction.do?command=initiateTransaction)以外的任何请求,您将收到商户验证失败错误。
We request you to kindly check at your end.
我们请您在最后确认一下。
回答by Homesh Paul
Error Code: 10002 Merchant Authentication failed.
错误代码:10002 商户认证失败。
Don't worry... It happens to the best of us.
别担心......它发生在我们中最好的人身上。
This might be due to incorrect MERCHANT ID, WORKING KEY or ACCESS CODE. The most likely it is possible due to incorrect URL so to make sure this is implemented on the Registered Domain for Testing URL/Live url for which the API keys are issued.
这可能是由于不正确的商家 ID、工作密钥或访问代码。最有可能的原因是 URL 不正确,因此要确保在已为其发布 API 密钥的用于测试的 URL/Live url 的注册域上实施。
Please check the registered ccavenue Testing/Live URL for the same.
请检查注册的 ccavenue 测试/实时 URL。
回答by Sarthak Singhal
Are you using it on localhost?
你在本地主机上使用它吗?
If you need to test your code from your local machine, you should write to CCAvenue service desk at [email protected] with your merchant ID and localhost URL to white-list. Else CCAvenue will throw error "Merchant Authentication Failed".
如果您需要在本地机器上测试您的代码,您应该通过 [email protected] 将您的商家 ID 和本地主机 URL 写信给 CCAvenue 服务台以加入白名单。否则 CCAvenue 将抛出错误“商家身份验证失败”。
Otherwise this error can be caused by an incorrect access code or if the order originates from an unregistered URL. Make sure that all three of these values are correct.
否则,此错误可能是由不正确的访问代码或订单来自未注册的 URL 引起的。确保所有这三个值都正确。
After your web address gets approved then recheck the new access key and working key
在您的网址获得批准后,重新检查新的访问密钥和工作密钥
Also use https://secure.ccavenue.com/transaction/transaction.do?command=initiateTransactionthis URL for payments
还可以使用 https://secure.ccavenue.com/transaction/transaction.do?command=initiateTransaction这个 URL 进行支付

