×
Menu

Blocking specific cards

 

Introduction

The integration allows specific cards to be rejected (for example, to disable sub schemes of VISA being processed).  The example below details how Amex cards could be blocked.  This working example is an overview only, please seek guidance from support@pcipal.com before implementing any blocking actions.
 

Working Example

1) Ensure the Flow contains a Partially Masked PAN Flow Value.  In this example the Flow Value is named PAN:
 
 
2) Configure the button (UI Item) ths will submit the payment, and add the following code to the IsEnabled property:
 
!PAN.Scheme.ToLower().Contains("american express")
 
 
The string ensures the button cannot be clicked if the PAN contains "american express" (note the case matches the casing set in the Flow Value name).
 
3) If the current BIN ranges list detects the card as an American Express variant, the button will now disable.  It is recommended an additional label is added to the Flow to advise the agent that American Express is not accepted to save time collecting data and not being able to progress.
 
The Label ‘IsVisible’ property can be set to the same as the IsEnabled one, without the exclamation mark at the start.
 

BIN Range

An important consideration prior to implementing this type of feature is understand what PCI Pal are going to detect the card type as, to assist with this our Operations can access a BIN range list, and advise as necessary.
The help manual was created with Dr.Explain