Post

Replies

Boosts

Views

Activity

How developer will get to know which card type user (Amex, visa, discovery) has selected in swift?
is am using This delegate method, but i am getting type of card(debit/credit) info i want to know this card is from mastercard / visa or amex. func paymentAuthorizationController(_ controller: PKPaymentAuthorizationController, didSelectPaymentMethod paymentMethod: PKPaymentMethod) async -> PKPaymentRequestPaymentMethodUpdate { print(paymentMethod.displayName ?? "") return PKPaymentRequestPaymentMethodUpdate(paymentSummaryItems: payemntRequest.paymentSummaryItems) }
1
0
327
Jun ’24