Skip to content

Commit 73f7ac3

Browse files
committed
Fix form language
1 parent abc61d5 commit 73f7ac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/paytabs.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@
7575
| The hosted payment page lang
7676
|
7777
*/
78-
'lang' => '',
79-
'model' => env('PAYMENT_MODEL', class_exists(App\Models\User::class) ? App\Models\User::class : App\User::class),
78+
'lang' => env('PAYTABS_LANG', app()->getLocale()),
79+
'model' => class_exists(App\Models\User::class) ? App\Models\User::class : App\User::class,
8080
];

0 commit comments

Comments
 (0)