Helcim Logo Support & Tutorials

© Copyright 2006-2018 Helcim Inc.

All Rights Reserved.

Helcim.js » Legacy Helcim.js 1.0 »

Response Values

This documentation is for the legacy Helcim.js 1.0. New merchants should refer to the Helcim.js version 2 documentation.

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.

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