All pages
Powered by GitBook
1 of 1

Loading...

requestManualCard (PinPad Only)

This query string instructions the device to prompt for a manual card entry.

&operation= 
&httpMethod= 
&closeDeviceAfter= 
&readerArgument= 
&destinationURL= 
&requestLocation= 
&passInData=

Parameter

Description

operation

Operation to request from MagneFlex. Use:

requestManualCard

httpMethod

Each input parameter supplied in the request is delimited by an ampersand character ‘&’, and the value for a parameter begins after an equal character ‘=’. Where ever a parameter contains multiple values, each are delimited by a comma character ‘,’.

Example query:

Return Value:

The CardSwipe output in TVL format.

Example:

cardDataIn

Manual card entry data in TLV format.

passInData

Optional data to send to MagneFlex. This data will be passed back to the web app.

HTTP method to be used for the HTTP postback from MagneFlex. Use:

GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string lengths.

closeDeviceAfter

Flag to close the device after the request. Use:

true – close device

false – do not close the device

readerArgument

Data to send for the device to be passed to MagneFlex. Arguments:

timeLimit:, option:, tone:, endSession:

Argument details:

timeLimit - Seconds the device will wait for the user to complete the operation in hexadecimal:

(1 - 255)

option - This is an ORed combination of flags that changes the device’s data entry request behavior. Value is decimal equivalent of the binary value.

Bits 0 and 1

0 = Acct,Date,CVC

1 = Acct,Date

2 = Acct,CVC

3 = Acct

Bit 2

1=Use Qwick Codes entry

Bit 3

1=Use PAN in PIN block creation

Bit 4

0=Use PAN min 9, max 19

1=Use PAN min 14, max 21

tone – Beep behavior of prompt:

0 = None

1 = Single beep

2 = Double beep

endSession - Flag to end the session for the device. Default value is true.

“true” = End the session after the request is processed.

“false” = Do not end the session after the request is processed.

destinationURL

MagneFlex will send the postback to this URL.

requestLocation

Flag to send GPS location of the device from which Magneflex (iOS only) is hosted.

Use:

true – send location

false – do not send location

passInData

Optional data to send to MagneFlex. This data will be passed back to the web app.

Parameter

Description

errorCode

Error status. 0 is Success. Non-Zero is an error.

errorMessage

Description of the errorCode.

opType

The type of operation. For this command the value is:

CARD_MANUAL_SWIPE

https://192.168.10.100/magneflexdemo/default.aspx? 
operation=requestManualCard
&httpMethod=GET 
&closeDeviceAfter=true
&readerArgument=
    timeLimit:3C, 
    option:8, 
    tone:00, 
    endSession:true
&destinationURL=https://192.168.10.100/magneflexdemo/cardpostback.aspx 
&requestLocation=false
&passInData=
https://192.168.10.100/magneflexdemo/cardpostback.aspx?errorCode=0&err orMessage=OK&opType=CARD_MANUAL_SWIPE&cardDataIn=FA81EBDFDF25103938444 6323041393034313230423045F481D4DFDF30020000DFDF3139254D313131313030303
030343030303030313131315E4D414E55414C20454E5452592F5E32323232303030303
030303030303030303030303FDFDF32020000DFDF33273B31313131303030303034303
0303030313131313D32323232303030303030303030303030303FDFDF34020100DFDF3
500DFDF371C%M1111000004000001111^MANUAL ENTRY/^22220000000000000000?DFDF3913;1111000004000001111=2222000000000 0000?DFDF3B00DFDF3C00DFDF430400000000DFDF500A9500030000000120000C&pass
InData=