w3HTMLeComRecurring

Syntax   Parameters   Example Program   Example

 w3HtmleComRecurring generates HTML code for recurring billings.  

Syntax  

call w3HTMLeComRecurring  (CHID, ATSID, MT.Template, Cycle, BillMax, Start, Amount )  

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 used to create the Web page viewed by the customer. The default template is MT.Template< B> and is located in the w3html file of the FlashCONNECT account. If you need to use your own template,  make sure that the recurring section is present and named MT.Recurring.

Cycle

In

Recurring cycle (weekly, monthly, annually, etc.) See the RecurType file for more information.

BillMax

In

Maximum number of time the recurring charge is processed. A -1 indicates an infinite recurring cycle.

Start

In

Number of days after the initial payment is made before submitting the first recurring payment. Number of days between each recurring payment.

Amount

In

$ amount to be debited on a recurring basis.

Example Program

MTPayment

Examples   

                      ATSID       = "TEST0"

                      MT.Template = "MT.Template"

                      Cycle       = "monthly"

                      BillMax     = -1

                      Start       = 30

                      Amount      = 100.50

                      call w3HTMLeComRecurring( CHID, ATSID, MT.Template, Cycle, BillMax, Start, Amount)