Response Values
  • 30 Aug 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Response Values

  • Dark
    Light

The transaction response values are in the same format as the response for our Gateway API and Hosted Payment Page transaction responses.

response=1 will indicate an approved transaction, while response=0 is indicate a decline or error. Once the transaction results is received, the JavaScript credits hidden fields in the helcimResults element. These hidden fields are then submitted back to your web server as POST values.

Code Samples

POST Array Sample

[orderId] => 1413531106317
[response] => 1
[responseMessage] => APPROVED
[date] => 2014-10-17
[time] => 01:31:46
[cardholderName] => John Smith
[amount] => 0.00
[cardNumber] => 5454****5454
[cardToken] => 5440c5e27f287875889421
[transactionId] => 112415310
[expiryDate] => 1019
[cardType] => MasterCard
[avsResponse] => X
[cvvResponse] => M
[approvalCode] => 918273