#fry_api
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/1326843099355287612
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
đź‘‹ happy to help
Apple Pay is saved as a card PM
and you can check the card.wallet.type https://docs.stripe.com/api/payment_methods/object#payment_method_object-card-wallet-type to check whether it's ApplePay or not
Aha, that sounds great! Will the PM’s ID be included in the response if Apple Pay is available for the customer?
And also, should we retrieve the list of PMs for a customer using another type (we’re currently using 'type=card' but then we don’t see Apple Pay PMs)
to which API?
what's the customer ID?
listing Payment Methods?
in that case, type="card" would get you Apple Pay and Google Pay PMs as well as cards
That’s what we would have thought, but it seems we don’t for some reason.
E.g. cus_8iovRoFl6WIDXS (test account)
We can perform Apple Pay payments when not specifying the PMs ID in the payment intent (payment_method-field) but instead having the platform use the customer’s default card.
But we would like to begin using the payment_method field in the payment intent, and that’s when we get stuck (since we cannot see IDs of the Apple Pay PMs)
sure, I'm looking at the customer right now
which payment method are you looking for exactly?
do you have the PM ID?
That’s the thing, I don’t. Previously we have had the clients specify the 'card_applepay' as the default payment method, and then use payment intents w/o specifying a PM ID. That has worked well.
But we would like to begin using the IDs, though we cannot even see Apple Pay as a PM in a customer’s list as you know 🤔
you can
I'm just confused
does the customer you mentioned has an Apple Pay PM or not?
Hehe, yes, the customer has Apple Pay, I can use it for payment intents as long as I don’t specify a PM in the intent (since I don’t have the PM) the platform then uses Apple Pay as the default payment option.
I’m also confused
you can see the PM ID on the customer's page on the dashboard
Apple Pay is not listed there either, I would have thought I could see it there as well
ok, do you have any PaymentIntent ID that uses that PM?
Let me see...
It takes me longer to find than I thought
I’ll get back to you asap
I would just create a new customer
add an Apple Pay payment method to them
and then call the list all PMs
I’ll try that, thank you
let me know if you need any more help