错误代码 108 ccavenue
我正在将 ccavenue 与我的电子商务网站集成。在某些情况下,我收到此错误: 错误代码:108 错误描述:校验和+不匹配。
如何纠正这个问题?任何人都可以帮助我吗
i am integrating ccavenue with my ecommerce site. in some cases, i am getting this error:
Error Code: 108
Error Description: Checksum+mismatch.
How to rectify this one?Can anybody help me
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我解决了这个问题。校验和确实不正确。我在最后一刻将金额硬编码为卢比。 10 来测试集成..但是我用实际金额计算的校验和。因此校验和不正确!希望这对某人有帮助。
I solved this problem.. The checksum was indeed incorrect. I was hard coding at the last instant the amount to be Rs. 10 to test the integration.. but the checksum I calculated with the actual amount. Hence the incorrect checksum! Hope this helps someone.
我已经找到问题了,那就是URL。如果您的重定向 URL 没有任何参数,它将起作用。
为了解决这个问题。您必须通过 PHP 中的 urlencode 函数对 URL 进行编码。
I have found the issue and that is the URL. It will work, If your Redirect URL will not have any params.
For solving this issue. You will have to encode your URL via urlencode function in PHP.
检查您的 ccavenue 商家密钥,每次重新生成时它都会更改,并检查您的校验和计算算法
check your merchant key of ccavenue, it changes every time you regenerate and also check your algo for checksum calculation
如果您使用提供的免费代码将 ccavenues 与 joomla 集成,则在文件
ps_ccavenues_info_part.php
中,计算校验和后,金额将四舍五入。我修改了代码,以便在计算校验和之前对金额进行四舍五入,这为我解决了这个问题。
if you are using the free code provided for integrating ccavenues with joomla, in the file
ps_ccavenues_info_part.php
the amount is rounded off after calculating the checksum.I modified the code so the amount is rounded off before calculating the checksum and this fixed it for me.
尝试用以下文件替换 CCAvenue 套件中提供的函数文件:
Try replacing your function file provided in the CCAvenue kit with this one: