微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

moyasar 沙特支付网关500 内部服务器错误

如何解决moyasar 沙特支付网关500 内部服务器错误

希望你做得好。我想在 PHP/Codeigniter 中集成 moyasar 支付网关,但我一次又一次地面临同样的问题(500 内部错误。我们很抱歉。发生意外的服务错误)。 有没有人可以找出这个错误。帮助将不胜感激。 图像错误在这里Error Image 简单代码如下..

<form accept-charset="UTF-8" action="https://api.moyasar.com/v1/payments.html" method="POST">
    <input type="text" name="source[name]" />
    <input type="text" name="source[number]" />
    <input type="text" name="source[month]" />
    <input type="text" name="source[year]" />
    <input type="text" name="source[cvc]" />
    <input type="hidden" name="callback_url" value="http://localhost/test/madas.PHP" />
    <input type="hidden" name="publishable_api_key" value="my_publish_api_key" />
    <input type="hidden" name="amount" value="10000" />
    <input type="hidden" name="source[type]" value="mada" />
    <button type="submit" id="">Purchase</button>
</form>

解决方法

source[type] 值应为 creditcard 并且它接受 Mada、Visa 和 MasterCard。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。