We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88d9106 commit bd593eeCopy full SHA for bd593ee
src/Config/config.php
@@ -13,5 +13,5 @@
13
Ignited\LaravelOmnipay\LaravelOmnipayServiceProvider::class,
14
CoreCMF\Omnipay\Providers\EventServiceProvider::class,//事件服务
15
],
16
- 'debug' => true,
+ 'sandbox' => true,
17
];
src/Http/Controllers/OmnipayController.php
@@ -12,7 +12,7 @@ class OmnipayController extends Controller
12
public function __construct(){
$this->gateway = resolve('omnipay');
- if (config('omnipay.debug')) {
+ if (config('omnipay.sandbox')) {
$this->gateway->sandbox();
}
18
0 commit comments