#streetfeels

1 messages ยท Page 1 of 1 (latest)

sinful nexusBOT
fossil lichen
#

Hello ๐Ÿ‘‹
It should work for wallets too, yes.

#

Have you tested the flow out and are seeing diff results?

little zealot
#

Yes, correct, tested with setup_future_usage and it's not showing up as one of the payment methods

fossil lichen
#

Hmm interesting, can you share the example PaymentIntent ID?

#

I just ran a quick test and Google Pay does show up for me

little zealot
#

ah jeez - sorry for some reason it was not sending the setup_future_usage param properly, it just worked!

fossil lichen
#

Ah np, glad you caught it ๐Ÿ™‚

little zealot
#

okay, so one follow - up, is there anyway to know which of the listed payment methods is considered the default by stripe?

fossil lichen
#

not sure what you mean, what list are you referring to exactly?

#

Are you asking about the listed payment methods for customers on the dashboard?

little zealot
#

yes correct!

fossil lichen
#

If there are multiple attached PaymentMethods but none set as default then we won't consider any as default.

little zealot
#

ahh okay! that's great, we will take a look at that, think that solves are problem. We just want to be able to show the user the payment methods they had used previously and have the default selected already so they can click thru easily.

fossil lichen
#

Gotcha ๐Ÿ™‚ Glad I could help

little zealot
#

just another follow up regarding above, do have to use invoices to access this information?

#

or will it be available by default anytime a customer object is created?

#

(with attached payment methods)

fossil lichen
#

You can use the PaymentMethod without invoices, yes.
You'll just have to pass in the PaymentMethod ID when you create a PaymentIntent by using payment_method parameter

little zealot
#

ok great!

#

and is that default_source parameter different from the invoice one?

fossil lichen
#

Yes, if you're on legacy APIs such as Sources, Tokens etc that's when you'd use default_source parameter