Recur

Recur is a data structure used by the online financial transaction process to define a credit card transaction. The information common to processing all credit cards is set up by a call to w3HtmleComRecur and then optionally customized for each specific transaction.

Unlike a FlashConnect variable like w3Exec, there is no variable called Recur defined by FlashConnect. When a Recur structure is needed, a programmer must create and populate it.

The attribute offsets within the Recur structure are defined in the w3ccInclude file and should be used as the values for each offset may change between releases.

The Recur structure is:

R.Create

Indicates if recurring charges are part of the transaction. 1 for Yes and 0 (zero) for No.

R.Cycle

Frequency of billing. Defined in the cc.RecurCycle file, codes and their meaning must correspond to the values used by the specific clearing house servicing the transaction.

R.BillMax

Maximum number of recurring billing. Values start with 1 with -1 (minus one) indicating recurring forever.

R.Start

The number of days after the initial payment before the recurring charges are billed.

R.Amount

The dollar amount of the transaction.  

Example

Info = ""

Info<R.Create>  = 1

Info<R.Cycle>   = 2                ;* monthly

Info<R.BillMax> = 20

Info<R.Start>   = 30

Info<R.Amount>  = 12.34

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