Pure Progress Payment Processing with OneStep ChargeSM
Tuesday, March 09, 2010
What Will Pure Progress Mean For You?SM
Search:  

OneStep Charge Demo Code


Pure Power. Pure Ease. Pure Profit. Pure Solutions.


OneStep Charge is extraordinarily easy to use and a snap to implement. Enabling your 4GL programs to process electronic payments requires almost no coding. This demonstration of code will show you the basic functionality of OneStep Charge and its ease of implementation.

PURE EASE

The code snippet below shows virtually all the 4GL code you need to run OneStep Charge.


{tri8osc/oscapi}

create trExec no-error.
assign trExec.transNo = 12345 /* use a Progress sequence, for example */
       trExec.cardNo  = "1234123412341234" 
       trExec.expDate = "0109"
       trExec.amount  = 100.34
       trExec.action  = CCA_AUTHONLY
       trExec.timeout = 12
       no-error.

run tri8osc/oscengin.p (input-output table trExec) no-error.

/* Now use the authorization results, found in trExec, however
// you please. Example: 
//
//   if trExec.authStatus = CCS_DECL
//   then do:
//      message "Card DECLINED".
//   end.
*/

Download OneStep Charge Now

- OR -

Contact Us

Celebrating 26 Years
1984 - 2010



PURE EASE



PURE PROFIT



PURE SOLUTIONS



PURE SUCCESS



PURE SECURITY



PURE POWER



PURE PROGRESS
with OneStep ChargeSM

Pure Power. Pure Ease. Pure Profit. Pure Solutions.
Copyright © 1995-2010 Tri-8, Inc.
All rights reserved.
Last updated: Mon, 31 Dec 2007 11:50:51 CST