Skip to main content (Press Enter)
Helcim Logo
Click here if you return to contents

HTML Structure

Once the transaction is completed and the form is submitted, POST data will be sent back to the merchant's server (webpage). The POST data will include the fields listed below. The POST field [xml] will also contain an XML structure of the response.

IMPORTANT: Fields with sensitive credit card information should not have an HTML field name, only an HTML field "id". This will allow the JavaScript to retrieve the values (getElementById), but prevent the fields from being submitted back to the merchant server. Helcim.js will also attempt to mask sensitive data before submitting form.

HTML Element Type Element Name Element ID Format Description
script - - text/javascript The Helcim.js JavaScript. Should be src=""
form helcimForm helcimForm method="POST" The HTML form. Once the transaction is complete, Helcim.js will submit the form back to the merchant server (website) to capture the transaction results.
div helcimResults helcimResults Empty This DIV will be overwritten by Helcim.js - it will display errors as well as the transaction results before the form is finally submitted.
input hidden none* token String Your Helcim.js configuration token. This is used to identify your account and configuration settings.
input hidden none* language String The language for error message. Default is "en" for English.
input hidden none* test Integer Set to "1" for test-mode.
input text none* cardNumber, cardExpiry, etc.. - The input fields. Please refer to documentation here.
input button buttonProcess buttonProcess onclick="javascript:helcimProcess();" The input button to process the payment. The value can be set to anything, such as "Process Payment" or "Save Card".

Related Articles

An Overview of Helcim.js
Creating a New Helcim.js Configuration
Editing or Deleting a Helcim.js Configuration
Using the Helcim.js Code Generator
Request Fields
Response Fields
SSL, Security and Hashing

Was this article helpful?

Feedback submitted - Thank you!

If you need immediate assistance please contact our Merchant Experience Specialists here

Click here if you return to the content