Skip to content

Commit d8db38f

Browse files
committed
Remove debug prints accidentally left in
1 parent 5c19233 commit d8db38f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Yosemite/Yosemite/Stores/CardPresentPaymentStore.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,8 @@ private extension CardPresentPaymentStore {
113113
do {
114114
switch usingBackend {
115115
case .wcpay:
116-
print("==== starting card reader discovery using a wcpay token provider")
117116
try cardReaderService.start(WCPayTokenProvider(siteID: siteID, remote: self.remote))
118117
case .stripe:
119-
print("==== starting card reader discovery using a stripe token provider")
120118
try cardReaderService.start(StripeTokenProvider(siteID: siteID, remote: self.stripeRemote))
121119
}
122120
} catch {
@@ -400,7 +398,6 @@ private extension CardPresentPaymentStore {
400398
reset() // Concern: asynchronicity
401399

402400
usingBackend = .wcpay
403-
print("==== Switched CardPresentPaymentStore to use WCPay as the backend")
404401
}
405402

406403
/// Switch the store to use Stripe as the backend.
@@ -414,18 +411,15 @@ private extension CardPresentPaymentStore {
414411
reset() // Concern: asynchronicity
415412

416413
usingBackend = .stripe
417-
print("==== Switched CardPresentPaymentStore to use Stripe as the backend")
418414
}
419415

420416
/// Loads the account corresponding to the currently selected backend. Deletes the other (if it exists).
421417
///
422418
func loadAccounts(siteID: Int64, onCompletion: @escaping (Result<Void, Error>) -> Void) {
423419
switch usingBackend {
424420
case .wcpay:
425-
print("==== CPPS loadAccounts WCPay")
426421
loadWCPayAccount(siteID: siteID, onCompletion: onCompletion)
427422
case .stripe:
428-
print("==== CPPS loadAccounts Stripe")
429423
loadStripeAccount(siteID: siteID, onCompletion: onCompletion)
430424
}
431425
}

0 commit comments

Comments
 (0)