#adr_error
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1414926348132028428
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
hello, hope there's enough information, I wasn't sure what the correct category for this question is
which line of code is throwing that error?
it's thrown when attempting to show the payment sheet paymentRequest.show()
I believe the canMakePayment call returns null, when we don't expect it to
I believe the canMakePayment call returns null, when we don't expect it to
canMakePaymentcan return null for many reasons. one of them is if the user doesn't have a card saved in their Apple Wallet.
yes, we followed the docs, and the user does have the correct Safari version, apple wallet set up and a payment method inside it
FWIW, our old implementation, which we're replacing with Stripe, does work for affected users, i.e. Apple Pay session's canMakePayments call returns true
I guess my question is, is there a way to determine why it's not successful in some cases even though it should be, according to the requirements in the docs? maybe there are browser settings or Stripe's dashboard setup that we're missing?
so your question is: why canMakePayments sometimes returns null, even though it looks like everything is setup correctly for Apple Pay to work?
yes
maybe there are browser settings or Stripe's dashboard setup that we're missing?
based on your description the issue is on the customer's end, not your Stripe configuration.
yes there are browser settings that can impact this. for example:
we did find this setting, but changing it didn't have any impact
is the issue consistent? like the same users can never see Apple Pay, while others always see it?
yes, that's correct
our worry is, we tested it for 5 different users and it didn't work for 2 of them
which made us think there is an issue in the implementation
do you have a link where I can reproduce the issue?
I don't, sorry, it's in our internal development environment as of now
was hoping you have any ideas what we could check
the common things are:
- make sure the device/browser is compatible with Apple Pay
- double check that a valid card is saved in the Apple Wallet
- enable the browser setting I mentioned above
- make sure you are in a country that supports Apple Pay (including VPN)
also, you could ask the users if they see the Apple Pay button at the top of on this page: https://docs.stripe.com/stripe-js/elements/payment-request-button
if they do: it means there's an issue in your own integration. if they don't: it means there's an issue on the users's end.