How to prevent credit card in stripe payment

Stripe allows you to implement unique business logic so you can write fraud prevention rules specific to your business. 

Block: Rules that block a payment and reject it. Blocked payments aren’t evaluated against any review rules. 

Block 

Block rules specify that Stripe should always block a payment. If a payment matches the criteria in a block rule, Stripe rejects it and it’s not subject to further rules evaluation. 

Rule structure 

The rule structure has two components—the action it should take and the condition to evaluate: 

{action} if {condition} 

For credit card block we use 

Block if :card_funding: = ‘credit’ 

Leave a comment

Your email address will not be published. Required fields are marked *