#hchen-source-paymentmethod

1 messages · Page 1 of 1 (latest)

cobalt plinthBOT
tender hollow
#

hchen-source-paymentmethod

#

Hey @versed quail, there's no equivalent. A PaymentMethod is used to confirm a PaymentIntent and that PaymentIntent has a "next action" that tells you what to do and when that's done the PaymentIntent succeeds

versed quail
#

So without going through a PaymentIntent, there's no way to tell if a PaymentMethod is chargeable?

What exactly did the chargeable status do in a Source?

tender hollow
#

Can you give me a bit more context? Are we talking about card specifically?

versed quail
#

Yep! In this case, I'm talking about card specifically.

#

Before checkout, I want to make sure a card is in a "good" state before completing a transaction. Think of it like a customer is reserving something in the future, so I don't want to charge immediately. To make sure the card entered is "good", I do a quick authorization/cancel.

I was wondering if the "chargeable" status in a Source could remove this extra step in the process, since I think Stripe does some of their own checks with the card provider/bank to get that status. But since the Sources API is deprecated, I was looking for a PaymentMethod equivalent.

tender hollow
#

Okay so on Source, the status: "chargeable" meant nothing for cards. It always was true

#

The only way to know if a card can be charged it to charge it really and let the bank decide to approve or decline

versed quail
#

Cool, thanks!