File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 7777 'username ' => env ('MELLAT_USERNAME ' ),
7878 'password ' => env ('MELLAT_PASSWORD ' ),
7979 'terminal_id ' => env ('MELLAT_TERMINAL_ID ' ),
80- 'cumulative ' => env ('MELLAT_CUMULATIVE ' , false ),
80+ 'cumulative ' => env ('MELLAT_CUMULATIVE ' , false ),
8181 ],
8282 /*
8383 |--------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ protected function requestToken(): string
5151 try {
5252 $ soapClient = $ this ->getSoapClient (self ::URL_TOKEN );
5353
54- if ($ this -> getParameters ( ' cumulative ' )) {
54+ if (config ( ' shaparak.providers.mellat. cumulative ' )) {
5555 $ response = $ soapClient ->bpCumulativeDynamicPayRequest ($ sendParams );
5656 } else {
5757 $ response = $ soapClient ->bpPayRequest ($ sendParams );
You can’t perform that action at this time.
0 commit comments