diff --git a/app/Nova/Actions/CheckOnlinePaymentStatus.php b/app/Nova/Actions/CheckOnlinePaymentStatus.php index 61ecfab..68e86fa 100644 --- a/app/Nova/Actions/CheckOnlinePaymentStatus.php +++ b/app/Nova/Actions/CheckOnlinePaymentStatus.php @@ -40,6 +40,7 @@ class CheckOnlinePaymentStatus extends Action $onlinePaymentResource = OnlinePaymentHistory::query() ->where('online_paymantable_type', $this->paymantable_type) ->where('online_paymantable_id', $item->id) + ->latest() ->first(); if (! $onlinePaymentResource) {