Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ extension PaymentMethod {
return
}
self = .interacPresent(details: CardPresentTransactionDetails(details: details))
case .unknown:
case .affirm, .wechatPay, .unknown:
self = .unknown
@unknown default:
self = .unknown
Expand Down
4 changes: 4 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
*** PLEASE FOLLOW THIS FORMAT: [<priority indicator, more stars = higher priority>] <description> [<PR URL>]
*** Use [*****] to indicate smoke tests of all critical flows should be run on the final IPA before release (e.g. major library or OS update).

23.1
-----
- [*] Payments: Updated the In-Person Payments `Learn More` redirection to display the correct page based on the selected payment provider [https://github.com/woocommerce/woocommerce-ios/pull/15998]

23.0
-----
- [*] Increased decimal sensitivity in order creation to mitigate tax rounding issues [https://github.com/woocommerce/woocommerce-ios/pull/15957]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ final class CardReaderSettingsSearchingViewModel: PaymentSettingsFlowPresentedVi
self.knownReaderProvider = knownReaderProvider
self.configuration = configuration
self.cardReaderConnectionAnalyticsTracker = cardReaderConnectionAnalyticsTracker
self.learnMoreURL = CardPresentPaymentsPlugin.wcPay.setUpTapToPayLearnMoreURL
self.learnMoreURL = CardPresentPaymentsPlugin.wcPay.manageCardReaderLearnMoreURL

beginKnownReaderObservation()
beginConnectedReaderObservation()
Expand Down Expand Up @@ -109,7 +109,7 @@ final class CardReaderSettingsSearchingViewModel: PaymentSettingsFlowPresentedVi
private func updateLearnMoreUrl(stores: StoresManager) {
let loadLearnMoreUrlAction = CardPresentPaymentAction
.loadActivePaymentGatewayExtension() { [weak self] result in
result.manageCardReaderLearnMoreURL
self?.learnMoreURL = result.manageCardReaderLearnMoreURL
}
stores.dispatch(loadLearnMoreUrlAction)
}
Expand Down