Skip to content

Commit 6cb5683

Browse files
authored
Merge default config with user config (#284)
1 parent 14b1864 commit 6cb5683

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Provider/PaymentServiceProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ public function boot()
5151
*/
5252
public function register()
5353
{
54+
// Merge default config with user's config
55+
$this->mergeConfigFrom(Payment::getDefaultConfigPath(), 'payment');
56+
5457
Request::overwrite('input', function ($key) {
5558
return \request($key);
5659
});

0 commit comments

Comments
 (0)