#Jelle-SetupIntent

1 messages ยท Page 1 of 1 (latest)

next spruce
#

Hi there, is this a question about Radar rules?

south cairn
#

Umm I'm not sure ๐Ÿ˜„ Basically my question is, do I need to set anything up (e.g. in Radar) to have this CVC check run when a card is added through setup intent api?

next spruce
#

It depends

  • If you want to let the card network to decide whether to block/approve the transaction if the CVC is wrong, you don't need to do anything
  • If you want to explicitly block the transactions if the CVC is wrong, use Radar rule
south cairn
#

Okay thank you ๐Ÿ™‚

next spruce
#

No problem ๐Ÿ™‚

south cairn
#

Hi, I've one more question ๐Ÿ˜ฌ Is the payment_method.attached webhook called before or after setup_intent.succeeded webhook? IIRC a payment method won't be attached to a customer unless the setup intent succeeded?

#

there we go ๐Ÿ˜›

next spruce
#

can you send the event IDs?

south cairn
#

I.. don't have any at the moment, i was just prepping the integration for the webhooks ๐Ÿ˜…

#

Just wanted to check when the payment method is attached to the customer when using setup intents

#

If it's done when I call setupIntent.create or if it's done after the intent completed successfully

next spruce
#

Or can you share with me your merchant ID? you can find it from the Stripe Dashboard -> Settings ->Account Details

south cairn
#

acct_1KoQUEFlVkeAqvNe

#

Basically before a user on our platform can make an order, they need to have a valid payment method so I create it through setup intents in my backend and pass the client secret to my client. Then, I want to listen for success and not sure which webhook to listen to, setup_intent.succeeded or payment_method.attached

next spruce
#

Ok so you are making requests on the connected account, can you share with me the ID of the connected account?

south cairn
#

I'm not doing this for connected accounts, just customer objects

#

Like our connected accounts are like uber drivers and i'm just making sure a customer can add a credit card to the account before taking a ride

#

I'm correct about doing this with setup intents, right? I've a feeling im doing something wrong now ๐Ÿ˜…

next spruce
#

Because I don't see the payment_method.attached event in your account so I thought it's coming from the connected account.

#

It'll be helpful if you can share with me the event IDs.