CardEntryDataSource Property
This property contains a 1-character code identifying the source of the customer data.
Syntax
recurringbilling.getCardEntryDataSource([callback]) recurringbilling.setCardEntryDataSource( cardEntryDataSource, [callback])
Possible Values
0 (edsTrack1), 1 (edsTrack2), 2 (edsManualEntryTrack1Capable), 3 (edsManualEntryTrack2Capable), 4 (edsManualEntryNoCardReader), 5 (edsTrack1Contactless), 6 (edsTrack2Contactless), 7 (edsManualEntryContactlessCapable), 8 (edsIVR), 9 (edsKiosk)
Default Value
0
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getCardEntryDataSource([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setCardEntryDataSource([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
This property contains a 1-character code identifying the source of the customer data. The table below shows all supported values for this property.
edsTrack1 (0) | Full Magnetic stripe read and transmit, Track 1. |
edsTrack2 (1) | Full magnetic stripe read and transmit, Track 2. |
edsManualEntryTrack1Capable (2) | Manually keyed, Track 1 capable. |
edsManualEntryTrack2Capable (3) | Manually keyed, Track 2 capable. |
edsManualEntryNoCardReader (4) | Manually keyed, terminal has no card reading capability (use this for e-commerce and MOTO transactions). |
edsTrack2Contactless (6) | Full magnetic stripe read (Track 2 only), Chip Card capable terminal (Visa, Mastercard, and JCB Transactions only). |
edsManualEntryContactlessCapable (7) | Manually keyed, Chip Card read capable terminal (Visa, MasterCard, and JCB transactions only). |
This property is not available at design time.
Data Type
Integer