Enhancedgateway Users Manual
Enhancedgateway Users Manual
developers
DLL
Copyright by Enhanced Payment Systems
ENHANCED GATEWAY DLL
Enhanced gateway
EnhancedGateway DLL has packaged everything you ever need to implement a complete payment integra�on for:
• CreditSale
• DebitSale
• CreditVoid
• CreditReturn
• CreditAuth
• CreditCapture
• DebitReturn
• GetToken
• CloseBatch
In addi�on to the credit/debit transac�ons, you can also perform gi� card and ACH transac�ons:
• Gi�Issue
• Gi�Balance
• Gi�Redeem
ACH transactions
• ACHSale
• ACHStatus
• ACHReturn
Page 1 of 5
ENHANCED GATEWAY DLL
Anatomy
EnhancedGateway DLL contains a class called EGProcess. This class includes all objects, methods, and classes you will
need to perform a variety of transac�ons.
Methods:
These are the accepted transac�on types you can call from enhancedgateway.dll:
• creditsale
• creditauth
• creditreturn
• getoken
• creditcapture
• creditvoid
• creditadjust
Other methods are available to perform Gi� Card and ACH transac�ons.
Classes
The following classes represent objects that store and return field values in requests and responses:
Field Description
Account Valid EPS Account number
Serial Device Serial Number
Ticket Ticket Id,or Invoice Id
Token Valid card token
Ptk Primary Transaction Key
Zip Zip Code
Address Street Address
Page 2 of 5
ENHANCED GATEWAY DLL
Field Description
TransactionResult True or False
PTK Primary Transaction Key
ResponseCode Response code from the processor
ApprovedAmount Approved amount of the transaction
TransactionID Transaction ID of the processed transaction
AuthCode Authorization Code
Token Tokenized value of the card
CardType Card brand
AccountNum Last 4-digitof the processed card
ExpDate Expiration date of the card
TicketID Ticket of invoice number
ResponseMsg Response message from the processor
Host code Host code from the processor
Timestamp Date and time of the transaction
AVSResponse Address Verification Status
CardHolder Full name of the cardholder
BusinessID EPS account number of the merchant
UniqueId A unique ID returned by EPS gateway
TransType Transaction type
EntryMode Card entry method, Swipe, Chip, Contactless, etc.
RefNum Transaction Reference number
SerialNo Terminal serial number
Page 3 of 5
ENHANCED GATEWAY DLL
This guide explains adding the Enhance Gateway to your .Net applica�on in the Visual Studio environment.
2.In VS, open your project, and in the Solu�on Explorer, right-click on the References.
3.Select Add Reference, and then from the next screen, select Browse.
4.Browse to the loca�on where you saved the enhancedgatewa.dll file. Select the file and click on the Add buton.
That's it!
Page 4 of 5
ENHANCED GATEWAY DLL
Usage:
A�er you added enhancedgateway.dll to your project, you must add it to the classes were you make payment
transac�ons.
using enhancedgateway;
myProcess.StartProcess();
Next, you will need to build a request object. The following code shows how to build a request for a credit sale
transac�on:
myProcess.requestFields.Account = EPSAccount;
myProcess.requestFields.Amount = Amount;
myProcess.requestFields.Ticket = �cketNumber;
myProcess.requestFields.Serial = serialNumber;
myProcess.CreditSale();
The above method performs the credit sale transac�on and returns a Boolean value that indicates whether the
transac�on succeeded or not.
Get the response fields and store them according to the logic, and flow of you applica�on:
Transac�onID = myProcess.responseFields.Transac�onID;
CardType = myProcess.responseFields.CardType;
AccountNum = myProcess.responseFields.AccountNum;
Page 5 of 5