php 用于测试的 CCAvenue 沙盒站点
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16353749/
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 Sandbox Site For Testing
提问by Sankar V
I want to integrate CCAvenue payment gateway in my site. Is there any sandbox site available for CCAvenue to test payments? If any provide me the link.
我想在我的网站中集成 CCAvenue 支付网关。CCAvenue 是否有任何沙盒站点可用于测试付款?如果有的话给我链接。
回答by rgerculy
CCAvenue removed the PDF from their website so I removed the official link.
CCAvenue 从他们的网站上删除了 PDF,所以我删除了官方链接。
Removed broken links. I found another copy but at this point it might be outdated. https://docplayer.net/12395510-Ccavenue-world-integration-manual-version-1-0.html
删除了损坏的链接。我找到了另一个副本,但此时它可能已经过时。 https://docplayer.net/12395510-Ccavenue-world-integration-manual-version-1-0.html
Check this manual , it might be what are you looking for. There is something about testing the integration on page 19.
检查本手册,它可能是您要找的。第 19 页上有关于测试集成的内容。
I found another one which seems to be a more recent copy with a more up to date explanation. https://jemds.com/data_pdf/1_CCAvenue%20Integration%20-%20Ver%202.0.pdf
我发现了另一个似乎是更新的副本,并提供了最新的解释。 https://jemds.com/data_pdf/1_CCAvenue%20Integration%20-%20Ver%202.0.pdf
回答by Aaron Saray
From my experience, this is not a great app for sandboxing. If you download the manual (linked by @rgerculy you should see the information for integration. However, here is what must happen:
根据我的经验,这不是一个很好的沙盒应用程序。如果您下载手册(由@rgerculy 链接),您应该会看到集成信息。但是,必须发生以下情况:
First, login to the merchant account and go to the integration section and download the sample code. There you'll see some PHP test code. You can probably save time by working this into your application.
首先,登录商户账户,进入集成部分,下载示例代码。在那里你会看到一些 PHP 测试代码。您可以通过在您的应用程序中使用它来节省时间。
Next, make sure to activate your remote merchant processing. By default, its deactivated.
接下来,确保激活您的远程商家处理。默认情况下,它已停用。
Finally, it looks like you can use 4111-1111-1111-1111 to simulate a failure. To simulate success, you must use a real card for testing - less than $1USD - and put the term SUB-MERCHANT TEST in the extra notes text area.
最后,看起来您可以使用 4111-1111-1111-1111 来模拟故障。要模拟成功,您必须使用真实卡片进行测试 - 低于 1 美元 - 并将术语 SUB-MERCHANT TEST 放在额外注释文本区域。
There doesn't seem to be an easier way to do this, that I'm aware of. :(
据我所知,似乎没有更简单的方法可以做到这一点。:(
回答by Kailash Yadav
To test your transaction on CCAvenue. Here is the step given by CCAvenue.
在 CCAvenue 上测试您的交易。这是CCAvenue给出的步骤。
This section for all Clients. Now you're ready to test your account by doing Live transactions! Please keep in mind that you cannot test CCAvenue by using American Express or JCB credit card and also any of the Net Banking interfaces. Please use Mastercard, Visa, Diners Club or a Citibank eCard to do a test transaction. Also remember that while placing test orders, always put the words "SUB MERCHANT TEST" in the Instructions text box. After the transaction is successful, please log in to your CCAvenue account using your client ID and Password and cancel the test transaction. Please do not capture the transaction as this would constitute a "cash advance" against one's own cards, which our credit card companies and the payment gateways do not allow on the Internet.
此部分适用于所有客户端。现在您已准备好通过进行实时交易来测试您的帐户!请记住,您不能使用美国运通或 JCB 信用卡以及任何网上银行界面来测试 CCAvenue。请使用 Mastercard、Visa、Diners Club 或 Citibank eCard 进行测试交易。还要记住,在下测试订单时,请始终在说明文本框中输入“SUB MERCHANT TEST”字样。交易成功后,请使用您的客户ID和密码登录您的CCAvenue账户并取消测试交易。请不要捕获交易,因为这将构成针对自己的卡的“预付现金”,我们的信用卡公司和支付网关不允许在 Internet 上使用。
回答by Viswalinga Surya S
Current Process:
当前流程:
Step one is to register in CCAvenue, and your account will be activated much sooner. And once your account is activated you will receive,
第一步是在CCAvenue注册,您的帐户将更快激活。一旦您的帐户被激活,您将收到,
- Merchant ID.
- Link to activate your account and setup password for your CCAvenue account.
- 商户标识。
- 链接以激活您的帐户并为您的 CCAvenue 帐户设置密码。
at your registered email address.
在您注册的电子邮件地址。
Once you activate your account and set up the password for your account, you can get the working key and access code in the dashboard.
激活您的帐户并为您的帐户设置密码后,您可以在仪表板中获取工作密钥和访问代码。
To test your code, you can use https://test.ccavenue.com
as form URL to CCAvenue website. All the transactions to this test URL will not be processed.
要测试您的代码,您可以将其https://test.ccavenue.com
用作 CCAvenue 网站的表单 URL。不会处理此测试 URL 的所有事务。
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 将抛出错误“商家身份验证失败”。
Hope this might help someone who is looking for a testing environment.
希望这可以帮助正在寻找测试环境的人。
回答by Ujjaval
For testing ccavenue you have to mail your merchant id and register site to ccavenue help team and they will activate your account for test environment
为了测试ccavenue,您必须将您的商家ID和注册站点邮寄给ccavenue帮助团队,他们将激活您的帐户以进行测试环境
回答by Venkatesh Mondi
By default: test account is not active in ccavenue. But the live payment gateway is active. You need to mail [email protected] with merchant_id and domain names to be whitelisted. It will be activated in 24 hours.
默认情况下:测试帐户在 ccavenue 中处于非活动状态。但是实时支付网关是活动的。您需要将商家 ID 和域名发送到 [email protected] 以将其列入白名单。它将在 24 小时内激活。