mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 00:04:29 -04:00
bug fixes
This commit is contained in:
parent
8d6b86b6ce
commit
ff0d8c1696
@ -239,6 +239,7 @@ class PaymentController extends \BaseController
|
||||
}
|
||||
else
|
||||
{
|
||||
Session::flash('error', $response->getMessage());
|
||||
return Utils::fatalError('Sorry, there was an error processing your payment. Please try again later.<p>', $response->getMessage());
|
||||
}
|
||||
}
|
||||
@ -307,11 +308,13 @@ class PaymentController extends \BaseController
|
||||
}
|
||||
else
|
||||
{
|
||||
Session::flash('error', $response->getMessage());
|
||||
return Utils::fatalError('Sorry, there was an error processing your payment. Please try again later.<p>', $response->getMessage());
|
||||
}
|
||||
}
|
||||
catch (\Exception $e)
|
||||
{
|
||||
Session::flash('error', $e->getMessage());
|
||||
return Utils::fatalError('Sorry, there was an error processing your payment. Please try again later.<p>', $e);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user