Skip to content

Commit

Permalink
Update PayUz.php
Browse files Browse the repository at this point in the history
  • Loading branch information
shaxzodbek-uzb authored Jun 3, 2020
1 parent f02289c commit 1666dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PayUz.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function redirect($model, $amount, $currency_code = Transaction::CURRENCY
$this->validateDriver();
$driver = $this->driverClass;
$params = $driver->getRedirectParams($model, $amount, $currency_code, $url);
$view = 'pay-uz::merchant.redirect';
$view = 'pay-uz::merchant.index';
if (!empty($driver::CUSTOM_FORM))
$view = $driver::CUSTOM_FORM;
echo view($view, compact('params'));
Expand Down

0 comments on commit 1666dba

Please sign in to comment.