Template:CreditLine Programming Rules

From Payment Processing Software Library
Revision as of 15:02, 17 May 2006 by Admin (Talk | contribs)

Jump to: navigation, search

1. Each instance needs to call the initialization function (such as clcInit or Init) themselves and get a unique handle to themselves. This handle can not be shared.

2. Each instance can only make one request at a time, but one process can have multiple instances to make multiple requests.

3. Each instance needs to have a unique client name. For example, instance 1 gets TERM001, and instance 2 gets TERM002.

4. Some environments, such as VB.NET may loose the automation reference if the same API is called twice too quickly. Avoid calling the same API in tight loops, add a reasonable delay if needed.

5. Avoid redundant and inefficient code.