#Kekox123-PaymentIntent

1 messages ยท Page 1 of 1 (latest)

twin nymph
#

Hi, taking a look here, please give me a few minutes

#

Test and live should mirror the same, looking further

karmic belfry
#

Thank you I appreciate it

#

Should I share the payment_intent.created event id?

twin nymph
#

Yes, that would be helpful

#

I should have asked that at the beginning

karmic belfry
#

payment_intent.created => evt_3LXuX1KNEK8dUItS17mnoXKN

#

payment_intent.succeeded => evt_3LXuX1KNEK8dUItS1p3R8fXV

twin nymph
#

I have all the information I need so far to further investigate here

#

Thank you

twin nymph
#

If you have a legacy integration via ba_123 then that bank account object needs to be the default_payment_method for it to work

karmic belfry
#

Hmmm I see

#

Yes we use plaid for verifiying bank accounts and then set them as payment method

#

for credit cards we use the Stripe sdk and setup intents.

#

So for adding bank accounts as payment methods

#

We can use the first link you shared with me

#

I haven't read at it hehe, but. Does Stripe provides a SDK (lets say react Stripe) for adding these kind of payment methods as well as there is one for adding cards?

twin nymph
#

It should be but let me confirm real quick awith someone who knows way more about React/ SDK

karmic belfry
#

I have another question. So, the invoice that lanched the events I shared above is this: in_1LXuUKKNEK8dUItSyuS9kzS7

#

If you check the customer for the invoice is this: cus_LSsKYDwYzQsXcQ

#

I can see that the added bank account as payment method is default

#

payment method id: ba_1LW2uMKNEK8dUItSPLKSohyf

#

According to what you said above, the payment method is marked as default. Shouldn't the event have been launched?

#

Sorry if I misunderstood something hehe

winter crag
#

Hello! Taking over and catching up...

#

That Customer has the ba_ object set as their default_source, which is legacy. In order for it to work for the new event you need to set it as their invoice_settings.default_payment_method instead.

karmic belfry
#

Got it! So we're setting source property instead of invoice_settings.default_payment_method property for bank accounts, that totally makes sense.

#

so the source property also shows the default badge on the payment method right? but that's legacy we should set that property if we want other things to work.

#

The react SDK also provides, components for selecting banks entering routing numbers and that stuff?

#

I mean, the reason we use Plaid for this is because we thought Stripe didn't have a tool to do it.

winter crag
#

Stripe does have the ability to do this now, although it's somewhat new. The Plaid/Stripe integration is now legacy.

karmic belfry
#

This makes me so happy. I'll push so hard to get rid of Plaid (I don't like it haha)

winter crag
#

Sounds good! ๐Ÿ™‚

karmic belfry
winter crag
#

Do you specifically want this for Invoices?

karmic belfry
#

That last one is the one I need

#

Thank you so much for all the help guys, you rock ๐Ÿ”ฅ