mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-23 06:24:03 +00:00
Merge branch 'dillon/90-e-invoice-e-2' into vapor/development
This commit is contained in:
@@ -100,7 +100,7 @@ class CanPassOrderDurationLimitRule extends AbstractRule
|
||||
}
|
||||
|
||||
if($isExpired){
|
||||
if($object->paymentReference){
|
||||
if (isset($object->paymentReference) && $object->paymentReference){
|
||||
$transaction = $this->fetchesTransaction->execute(['payment_reference' => $object->paymentReference]);
|
||||
if($transaction->status === ApprovalStatus::PENDING_SUBMISSION && $transaction->payment_method == PaymentMethodType::PAYMENT_GATEWAY){
|
||||
$this->deletesBillplzBill->execute($object->paymentReference);
|
||||
|
||||
Reference in New Issue
Block a user