Skip to content

Commit

Permalink
Fix iOS issue from #1928
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbark committed Sep 28, 2024
1 parent bc527eb commit 427b4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stripe_ios/ios/Classes/CardFieldFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ extension CardFieldView {
cardParams.type = STPPaymentMethodType.card
cardParams.card = cardMethodParams

self.cardField.paymentMethodParams.card = cardMethodParams
self.cardField.paymentMethodParams = STPPaymentMethodParams.paramsWith(card: cardMethodParams, billingDetails: nil, metadata: nil)
self.cardField.postalCode = params["postalCode"] as? String
self.cardParams = cardParams
self.cardPostalCode = params["postalCode"] as? String
Expand Down

0 comments on commit 427b4f1

Please sign in to comment.