Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Attributes and values in object
“config"config.
autoCardtypeDetection”autoCardtypeDetection"
attribute | value | ||||||||||||||||||||||
supportedCardtypes | Define possible cardtypes that should be accepted by automatic detection, e.g. ["V", "M", "A"] | ||||||||||||||||||||||
callback | 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. | ||||||||||||||||||||||
deactivate | Can be used to preconfigure the config-block and still deactivate automatic cardtype-detection. Possible values: true || false |
Tip |
---|
|
Table of Contents |
---|