Skip to content

Commit

Permalink
Quick fix to hide NOL pay from Drop-In
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisNikolic committed Jun 6, 2024
1 parent 8c92385 commit d23bdf3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ internal class PrimerUniversalCheckoutViewController: PrimerFormViewController {
private var payButton: PrimerButton!
private var selectedPaymentMethod: PrimerPaymentMethodTokenData?
private let theme: PrimerThemeProtocol = DependencyContainer.resolve()
private let paymentMethodConfigViewModels = PrimerAPIConfiguration.paymentMethodConfigViewModels
// Don't show NOL in Drop-In quick hacky fix
private let paymentMethodConfigViewModels = PrimerAPIConfiguration.paymentMethodConfigViewModels.filter({ !($0 is NolPayTokenizationViewModel) })

private var onClientSessionActionUpdateCompletion: ((Error?) -> Void)?
private var singleUsePaymentMethod: PrimerPaymentMethodTokenData?
private var resumePaymentId: String?
Expand Down

0 comments on commit d23bdf3

Please sign in to comment.