Clarfiy paymen error failure
This commit is contained in:
parent
f84bc4136a
commit
14902baf28
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ class BasePaymentDriver
|
|||
|
||||
// parse the transaction reference
|
||||
if ($this->transactionReferenceParam) {
|
||||
if (isset($this->purchaseResponse[$this->transactionReferenceParam])) {
|
||||
if (! empty($this->purchaseResponse[$this->transactionReferenceParam])) {
|
||||
$ref = $this->purchaseResponse[$this->transactionReferenceParam];
|
||||
} else {
|
||||
throw new Exception($response->getMessage() ?: trans('texts.payment_error'));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue