#fry_api

1 messages · Page 1 of 1 (latest)

kindred nimbusBOT
#

đź‘‹ 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.

sharp saddle
#

đź‘‹ happy to help

#

Apple Pay is saved as a card PM

atomic eagle
#

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)

sharp saddle
#

what's the customer ID?

atomic eagle
sharp saddle
#

listing Payment Methods?

#

in that case, type="card" would get you Apple Pay and Google Pay PMs as well as cards

atomic eagle
#

That’s what we would have thought, but it seems we don’t for some reason.

sharp saddle
#

would you mind sharing the customer ID please?

#

or the PM ID

atomic eagle
#

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)

sharp saddle
#

sure, I'm looking at the customer right now

#

which payment method are you looking for exactly?

#

do you have the PM ID?

atomic eagle
#

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 🤔

sharp saddle
#

you can

#

I'm just confused

#

does the customer you mentioned has an Apple Pay PM or not?

atomic eagle
#

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

sharp saddle
#

you can see the PM ID on the customer's page on the dashboard

atomic eagle
#

Apple Pay is not listed there either, I would have thought I could see it there as well

sharp saddle
#

ok, do you have any PaymentIntent ID that uses that PM?

atomic eagle
#

Let me see...

#

It takes me longer to find than I thought

#

I’ll get back to you asap

sharp saddle
#

I would just create a new customer

#

add an Apple Pay payment method to them

#

and then call the list all PMs

atomic eagle
#

I’ll try that, thank you

sharp saddle
#

let me know if you need any more help