#jayon niravel-cards

1 messages · Page 1 of 1 (latest)

proven ether
unborn wave
#

this will block the payments not adding the credit card right?

proven ether
#

Well it depends on your integration - if you're using Elements and calling confirmCardPayment or confirmCardSetup then yes, using radar will prevent it from being successful and it won't be added

unborn wave
#

is it possible to add this elements while using the Stripe inframe? or is it only through API?

runic vector
#

You can then decide if you should proceed with the rest of your flow from there or not. Note you should send the Payment Method ID to your server and perform the country check there. If you do it client-side people can bypass it and use cards from other countries anyway.

#

Regarding your last question, I'm not sure I understand. Can you provide more details?

unborn wave
#

I created a rule :card_country: != 'US'

#

but still I able to add non-us credit card

runic vector
#

What do you mean by "add" exactly?

unborn wave
#

through Stripe iframe

#

I am creating setup intent , then I use that intent ID in the Stripe iframe script

#

then from the UI, I am adding the credit card

runic vector
#

If that's disabled your Radar rules will not work on Setup Intents.

unborn wave
#

Thanks a alot. You guys are awesome! 😃