Skip to content

Commit a6af0bd

Browse files
committed
Check for card eligibility to update the view after a payment was collected.
1 parent 8afa16e commit a6af0bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Details/OrderDetailsViewController.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,9 @@ private extension OrderDetailsViewController {
600600
// Refresh date & view once payment has been collected.
601601
if result.isSuccess {
602602
self.viewModel.syncOrderAfterPaymentCollection {
603-
self.viewModel.loadPaymentGatewayAccounts()
603+
self.viewModel.checkCardPresentPaymentEligibility {
604+
self.reloadTableViewSectionsAndData()
605+
}
604606
}
605607
}
606608
}

0 commit comments

Comments
 (0)