#deckberg-setupintent

1 messages · Page 1 of 1 (latest)

glass wadi
#

hi, looking

dire steppe
#

ah, yes. I was on that page and was looking right at the params and somehow missed it. must need more coffee.

#

thank you!

#

so in your dashboard: https://dashboard.stripe.com/customers/cus_xxxx it shows payment methods for a customer. shows verified ones and ones saying pending verification with a button to verify. I want something like that. when I do customers->allPaymentMethods it only includes the verified ones

glass wadi
#

hmm interesting, not familiar with this pending state

#

do you have a customer ID cus_xxxx with some payment methods like that so I can have a look?

dire steppe
#

it's when you're adding a bank account manually with the account and routing numbers

glass wadi
#

yep the microdeposit stuff

dire steppe
#

is it ok to send live cus_ object id's here?

glass wadi
#

yep, the ID itself is not sensitive unless someone has your secret key

dire steppe
#

cus_LUalDBCJ1ON5kO

glass wadi
#

thanks, looking!

dire steppe
#

ok I was able to display what I needed by looping through the setupintents and then looking up the payment method info. that isn't expandable is it?

glass wadi
#

ah, interesting. I think this is because we only attach the PaymentMethod to the Customer in the API in actuality when the setup/payment completes, so this one doesn't get listed in that API while the setup is ongoing

#

and yeah I was going to say that, it should be available by looking at the payment_method on the SetupIntent

#

the dashboard must do some magic to find tie these together

dire steppe
#

oh perfect. 🙂