src/baokim/PaymentGateway.php 1 location
|
@@ 335-339 (lines=5) @@
|
332 |
|
$requestMethod = $commandRequestMethods[$command]; |
333 |
|
$data = []; |
334 |
|
|
335 |
|
foreach ($params as $param) { |
336 |
|
if (($value = call_user_func([$request, $requestMethod], $param)) !== null) { |
337 |
|
$data[$param] = $value; |
338 |
|
} |
339 |
|
} |
340 |
|
|
341 |
|
return $data; |
342 |
|
} |
src/momo/PaymentGateway.php 1 location
|
@@ 98-102 (lines=5) @@
|
95 |
|
$requestMethod = $commandRequestMethods[$command]; |
96 |
|
|
97 |
|
$data = []; |
98 |
|
foreach ($params as $param) { |
99 |
|
if (($value = call_user_func([$request, $requestMethod], $param)) !== null) { |
100 |
|
$data[$param] = $value; |
101 |
|
} |
102 |
|
} |
103 |
|
|
104 |
|
return $data; |
105 |
|
} |
src/onepay/PaymentGateway.php 1 location
|
@@ 189-193 (lines=5) @@
|
186 |
|
|
187 |
|
$data = []; |
188 |
|
|
189 |
|
foreach ($params as $param) { |
190 |
|
if (($value = $request->get($param)) !== null) { |
191 |
|
$data[$param] = $value; |
192 |
|
} |
193 |
|
} |
194 |
|
|
195 |
|
return $data; |
196 |
|
} |
src/vnpayment/PaymentGateway.php 1 location
|
@@ 137-141 (lines=5) @@
|
134 |
|
]; |
135 |
|
|
136 |
|
$data = []; |
137 |
|
foreach ($params as $param) { |
138 |
|
if (($value = $request->get($param)) !== null) { |
139 |
|
$data[$param] = $value; |
140 |
|
} |
141 |
|
} |
142 |
|
|
143 |
|
return $data; |
144 |
|
} |
src/vtcpay/PaymentGateway.php 1 location
|
@@ 137-141 (lines=5) @@
|
134 |
|
|
135 |
|
$data = []; |
136 |
|
|
137 |
|
foreach ($params as $param) { |
138 |
|
if (($value = call_user_func([$request, $requestMethod], $param)) !== null) { |
139 |
|
$data[$param] = $value; |
140 |
|
} |
141 |
|
} |
142 |
|
|
143 |
|
return $data; |
144 |
|
} |