wip
This commit is contained in:
@@ -53,13 +53,13 @@ trait HandlesCardOrderPayments
|
|||||||
'paymentStatus' => OnlinePaymentRepo::PAID,
|
'paymentStatus' => OnlinePaymentRepo::PAID,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return static::successfulPaymentResponse($paymentHistory, $bank_branch, $resource, $returnURL);
|
return static::successfulPaymentResponse($paymentHistory, $bank_branch, $resource, $returnURL, $response);
|
||||||
}
|
}
|
||||||
|
|
||||||
$paymentHistory->update([
|
$paymentHistory->update([
|
||||||
'paymentStatus' => OnlinePaymentRepo::FAILED,
|
'paymentStatus' => OnlinePaymentRepo::FAILED,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return static::failedPaymentResponse($paymentHistory, $bank_branch, $resource, $returnURL);
|
return static::failedPaymentResponse($paymentHistory, $bank_branch, $resource, $returnURL, $response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user