w3HTMLeComCCInfo generates the HTML for credit card authorization.
Syntax
CALL w3HTMLeComCCInfo (CHID , ATSID , MT.Template , Email , CCInfo , Amount , FormName ) |
Parameters
CHID |
In |
Clearing House ID. This ID is the ItemID of the Clearing House from the ClearingHouse file. |
||
ATSID |
In |
Merchant ID |
||
MT.Template |
In |
HTML Template. The default template is MT.Template and is located in the w3html file of the FlashConnect account. If you need to use your own template, make sure that the form begin section is present and named MT.FormBeg. If alternate template files are used along with credit card processing, the credit card processing template must be located in the alternate template file. |
||
|
In and Out |
E-mail IDs. The format is as follows: |
||
Attribute |
Value |
Description |
||
1 |
From@domain.com |
The From Email address of the confirmation email. |
||
2 |
Subject |
Item ID of the Subject from the cc.document file. |
||
3 |
Text |
Item ID of the Email Text from the cc.documentfile. |
||
CCInfo |
Out |
CC information entered by the user. The format of the CCInfo table is found in the include file w3CCInclude. |
||
Amount |
In |
$ amount to be debited on Card. Do not include the $ sign. |
||
FormName |
In |
This entry should be the same as the FormName entry in w3HTMLeComBeg. |
Example Programs
Example
ATSID = "TEST0" MTtemplate = "MT.Template" EMail<1> = "Sales@myshop.com" <2> = "Subject1" <3> = "Text1" CCInfo = "" Amount = "1200" FormName = "MyFormName" CALL w3HTMLeComCCInfo ( CHID, ATSID, MTtemplate, Email, CCInfo, Amount, FormName) |