#macintoshpie

1 messages · Page 1 of 1 (latest)

magic remnantBOT
tardy wyvern
#

Hello!

#

No, they are not guaranteed to have that

#

But is there more context/detail for why you're asking?

obtuse drift
#

Yeah! We're setting up off-session purchases within our application. We'll have a way for users to set up a card for these payments, but it would be convenient if we could look at their stripe customer and find an existing payment method (e.g. their default payment method) and use it for the purchases.

#

So maybe the followup question is how can I determine if a payment method supports off-session usage?

tardy wyvern
#

Hmm... it looks like there isn't actually anything on the PaymentMethod object itself that indicates this. You'd have to store that information (either in your database or in metadata)