laravel - Indipay 参数丢失异常
问题描述
我正在发送 indipay 所需的所有参数,但我仍然收到参数丢失异常。如果我发送静态值,那么它工作正常。
$parameters = [
'purpose' => 'Application Fee for '.$regnId,
'buyer_name' => $request->s_fname.' '.$request->s_lname,
'amount' => env('APPLICATION_FEE'),
];
$order = Indipay::prepare($parameters);
return Indipay::process($order);
InstaMojoGateway.php 第 119 行 InstaMojoGateway 中的 IndipayParametersMissingException->checkParameters(array('redirect_url' => ' http://127.0.0.1:8000/parent/response/indipay ', '目的' => 'GKB_19LKG_000019 申请费', 'buyer_name' => 'asdasd asdasd', 'amount' => '200')) 在 InstaMojoGateway.php 第 41 行
解决方案
我终于找到了答案。indipay 包没有给出正确的错误。请求中没有缺少参数。instamojo 支付网关的验证器功能存在最大大小问题。
推荐阅读
- java - p6spy,在每次启动时创建一个新的日志文件(带有时间戳)
- mysql - 在管理员模式下从命令提示符运行时出现 Mysql 错误
- java - 方法 _jspService(HttpServletRequest, HttpServletResponse) 的代码超出了 weblogic 12.2 中的 65535 字节限制
- python - 使用 for 循环写入 CSV 文件时不保存行
- reactjs - Redux 在浏览器中的存储限制是多少?
- javascript - 无法在 eval 中设置属性 - 带有 Vue 的 Firebase 存储
- python-3.x - DynamoDB - 删除表而不删除副本
- jquery - 如何删除IE中的底部空白?
- sql - 如何在选择postgresql中进行选择
- python - 使用循环构造 numpy 数组时出现广播错误