#noooooproblem_api

1 messages ¡ Page 1 of 1 (latest)

bright saffronBOT
#

👋 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/1484541372823240846

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

hexed gate
#

Hi there! I don't believe this is possible, but I will double check. Can you explain a bit about why you need this? Since Apple Pay is stored on their device, they would be able to re-use it through their device. If the same user is using a different device without Apple Pay set up, then it wouldn't make sense to show them the option

forest tundra
#

well i have seen in api calls we can ask for cards and other types but there is no type mentioned in apple pay and google pay

hexed gate
#

Yeah, wallets are generally considered as a card payment type, which can be a bit confusing

forest tundra
#

what you are saying above makes sense, my vision was, stripe shows that card attached in customer data, also shows apple pay card in getpaymentmethods api too, but i cant use it in stripe elements

hexed gate
#

Got it, can you explain that in a little more detail? You can show Apple Pay as option, and still show saved card payment methods as a different option. Are you saying you wanted Apple Pay to show up in the same UI location as the other saved card payments?

forest tundra
#

yes, we wanted user to be able to choose the saved card(apple pay) with last 4 digits and pay using that
all this inside stripe elements

hexed gate
#

Got it. Unfortunately that isn't possible, my understanding is that Apple's policy requires the wallet payment sheet to be presented fresh each time for on-session (customer-initiated) transactions.

A common alternative pattern is to present wallets like Apple Pay using an Express Checkout Element with a Payment Element underneath (this is what Stripe's hosted Checkout Sessions use)