首页 > 解决方案 > 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 行

标签: laravel

解决方案


我终于找到了答案。indipay 包没有给出正确的错误。请求中没有缺少参数。instamojo 支付网关的验证器功能存在最大大小问题。


推荐阅读