Ack Message

The registration platform has the final say on whether the customer’s card is charged. This is accomplished by sending a final acknowledgment of the payment within 3 minutes of the redirect to the “SuccessURL” on the organization’s website. If no Ack message is received within 3 minutes then the transaction is reversed.

If the ACK=Y field is added to the GetResult message then this acknowledgement is attempted as part of the GetResult. automatically by the gateway. It should be noted however that if neither a GetResult with ACK=Y or an Ack message is received then the payment will be reversed.

Request Fields

Required
Request Field
Description
N
TERMID
8 character terminal ID assigned by SportsPay; must be the first field
N
TYPE
Will always be W for Web-Redirect
N
PASS
Password for the TERMID
N
ACTION
type of request message:Ack
N
SECUREID
-or-
REFNUM
The Session ID that was returned by StartSession, or

The refeence number that was returned by GetResult

*Must choose oen to include

ACK
Y for yes or N for no

If Y then ACK is attempted during the GetResult

Note: Always check that the GetResult returns ACK=Y otherwise send another ACK or transaction will fail

Response Fields to Ack Message

Response Field
Description
CODE
0000 is CAPTURED, anything else will be reversed
TEXT
CAPTURED or REVERSED
DATE TIME
Gateway time
DUR
The amount of time the gateway required to process the request
Example: Ack Message

Request:
TERMID=TESTTERM&TYPE=W&PASS=mypass&ACTION=Ack&SECUREID=i1t6tvowc908r1655ww3816tv5cw88l1wa8
or
TERMID=TESTTERM&TYPE=W&PASS=mypass&ACTION=Ack&REFNUM=12348765423987
Response:
CODE=0000&TEXT=CAPTURED&DATE=2016‑03‑28&TIME=17:58:08&DUR=0.146