We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8375e1e commit c0e4d5dCopy full SHA for c0e4d5d
WooCommerce/Classes/ViewRelated/Orders/Simple Payments/Summary/SimplePaymentsSummaryViewModel.swift
@@ -140,6 +140,17 @@ final class SimplePaymentsSummaryViewModel: ObservableObject {
140
email: email) { [weak self] result in
141
guard let self = self else { return }
142
self.showLoadingIndicator = false
143
+
144
+ switch result {
145
+ case .success:
146
+ // TODO: Navigate to Payment Method
147
+ // TODO: Analytics
148
+ break
149
+ case .failure:
150
+ // TODO: Present notice
151
152
153
+ }
154
}
155
stores.dispatch(action)
156
0 commit comments