Sami
Sami

Reputation: 757

Apple Pay Web - "visa" is not a valid payment network

Finding in our logs the following exception:

"visa" is not a valid payment network.

What's weird is that we added ["visa", "masterCard", "amex", "discover"] as supported networks.

Upvotes: 0

Views: 61

Answers (1)

Sami
Sami

Reputation: 757

It turned out we weren't respecting the value returned by ApplePaySession.canMakePaymentsWithActiveCard() and not hiding the Apple Pay button accordingly. This error was shown when users hit the Pay button.

Upvotes: 0

Related Questions