How To: Credit Card and ACH (e-check) Integration with 4D (4th Dimension)
This is the second in a series of postings on how to integrate credit card and ACH/E-check transactions into various systems. This installment demonstrates code used for processing payments (credit card and/or ACH) within a 4D (4th Dimension) application. This was taken from the NELiX TransaX FleXport toolkit documentation. Credit card integration examples can be downloaded on the NELiX TransaX FleXport page. Assumptions: - Using NELiX TransaX Payment Gateway - Communicating using NELiX TransaX Webservice C_TEXT($vString) C_BLOB($vBlobIn;$vBlobOut) $vString:=" "+Char(13) $vString:=$vString+" "+Char(13) $vString:=$vString+" "+transactiontype+" "+Char(13) $vString:=$vString+" "+username+" "+Char(13) $vString:=$vString+" "+password+" "+Char(13) $vString:=$vString+" "+merchantdefined1+" "+Char(13) $vString:=$vString+" "+merchantdefined2+" "+Char(13) If (transactiontype...