Define a function that is used as a callback-function if result of automatic cardtype detection changes. Detection starts after first 6 digits of the PAN – this is the BIN (Bank Identification Number) of a credit card and the official id for cardtype and origin detection. This callback-function can be used to change highlighting of logos for selected / detected cardtypes. Possible result codes in callback-function: Further cardtypes may be added in future. |