diff --git a/app/gateway/controller/v4/Core.php b/app/gateway/controller/v4/Core.php index 070fabd..cc56e11 100644 --- a/app/gateway/controller/v4/Core.php +++ b/app/gateway/controller/v4/Core.php @@ -248,7 +248,13 @@ class Core extends Controller $this->getMnp_isp($this->input['mobile']); if (isset($this->input['mnp_isp_array']) && isset($other_param['mnp_SPISP_' . $this->product . $pp_isp]) && str_contains($other_param['mnp_SPISP_' . $this->product . $pp_isp], $this->input['cash'])) { - $this->input['product'] = $this->product . $pp_isp; + + if(isset($other_param['mapping_'.$this->product . $pp_isp]) && $other_param['mapping_'.$this->product . $pp_isp]){ + $this->input['product'] = $other_param['mapping_'.$this->product . $pp_isp]; + }else{ + $this->input['product'] = $this->product; + } + } $this->product = $this->input['product'];