src/Gateways/Wechat.php 1 location
|
@@ 217-219 (lines=3) @@
|
214 |
|
|
215 |
|
$gateway = get_class($this).'\\'.Str::studly($type).'Gateway'; |
216 |
|
|
217 |
|
if (!class_exists($gateway) || !is_callable([new $gateway(), 'find'])) { |
218 |
|
throw new GatewayException("{$gateway} Done Not Exist Or Done Not Has FIND Method"); |
219 |
|
} |
220 |
|
|
221 |
|
$config = call_user_func([new $gateway(), 'find'], $order); |
222 |
|
|
src/Gateways/Alipay.php 1 location
|
@@ 191-193 (lines=3) @@
|
188 |
|
{ |
189 |
|
$gateway = get_class($this).'\\'.Str::studly($type).'Gateway'; |
190 |
|
|
191 |
|
if (!class_exists($gateway) || !is_callable([new $gateway(), 'find'])) { |
192 |
|
throw new GatewayException("{$gateway} Done Not Exist Or Done Not Has FIND Method"); |
193 |
|
} |
194 |
|
|
195 |
|
$config = call_user_func([new $gateway(), 'find'], $order); |
196 |
|
|