Open isyshuai opened 3 months ago
I have to add the card in the wallet before I can do it. If I delete the card in the wallet, I will not be allowed to support it. Why not pop-up prompt to add the card?
Apple Pay payment sheet will only be callable if the user already have a card registered because canMakePayments(usingNetworks:)
would return false. That's documented behavior.
You're supposed to roll out your own messaging encouraging users to open Apple Pay and register a card: https://developer.apple.com/apple-pay/marketing/ and https://developer.apple.com/documentation/passkit_apple_pay_and_wallet/pkpaymentbuttontype/setup
I have Fork, and canMakePayments(usingNetworks:) changed to canMakePayments(), there is no card page display click to add the card, so far seems to be no problem
If the card is not added, userCanPay returns false, resulting in the button not being displayed. Shouldn't the pop-up window guide the user to add the card under normal circumstances?