Skip to content

Commit bd593ee

Browse files
committed
sandbox
1 parent 88d9106 commit bd593ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
Ignited\LaravelOmnipay\LaravelOmnipayServiceProvider::class,
1414
CoreCMF\Omnipay\Providers\EventServiceProvider::class,//事件服务
1515
],
16-
'debug' => true,
16+
'sandbox' => true,
1717
];

src/Http/Controllers/OmnipayController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class OmnipayController extends Controller
1212

1313
public function __construct(){
1414
$this->gateway = resolve('omnipay');
15-
if (config('omnipay.debug')) {
15+
if (config('omnipay.sandbox')) {
1616
$this->gateway->sandbox();
1717
}
1818
}

0 commit comments

Comments
 (0)