Paypal express error handling
This commit is contained in:
parent
4eaad134be
commit
5a9267c96f
1 changed files with 2 additions and 2 deletions
|
|
@ -93,7 +93,7 @@ class PayPalExpressPaymentDriver extends BaseDriver
|
|||
return $response->redirect();
|
||||
}
|
||||
|
||||
$this->sendFailureMail($response->getMessage());
|
||||
$this->sendFailureMail($response->getMessage() ?: '');
|
||||
|
||||
$message = [
|
||||
'server_response' => $response->getMessage(),
|
||||
|
|
@ -151,7 +151,7 @@ class PayPalExpressPaymentDriver extends BaseDriver
|
|||
|
||||
$data = $response->getData();
|
||||
|
||||
$this->sendFailureMail($response->getMessage());
|
||||
$this->sendFailureMail($response->getMessage() ?: '');
|
||||
|
||||
$message = [
|
||||
'server_response' => $data['L_LONGMESSAGE0'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue