Processing a Credit Card & Creating a Token

This service is for when you want to create a credit card token (Customer Code) (Note: no recurring transactions will be set up with this process) and to process a credit card transaction at the same time. This is useful if you want to do an immediate transaction, but store the token for future transactions without need to store the clear text credit card details.

To use the encrypted swipe feature, you need to first write the code to process a single credit card transaction using ProcessLink, “CreateCustomerCodeAndProcessCreditCardV1” instructions. The encrypted data needs to be added to the ccNum field, highlighted below.

 

POST /NetGate/ProcessLink.asmx HTTP/1.1
Host: www.iatspayments.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
 <soap12:Body>
   <CreateCustomerCodeAndProcessCreditCardV1 xmlns="https://www.iatspayments.com/NetGate/">
     <agentCode>string</agentCode>
     <password>string</password>
     <customerIPAddress>string</customerIPAddress>
     <invoiceNum>string</invoiceNum>
     <ccNum>string</ccNum>
     <ccExp>string</ccExp>
     <firstName>string</firstName>
     <lastName>string</lastName>
     <address>string</address>
     <city>string</city>
     <state>string</state>
     <zipCode>string</zipCode>
     <cvv2>string</cvv2>
     <total>string</total>
   </CreateCustomerCodeAndProcessCreditCardV1>
 </soap12:Body>
</soap12:Envelope>

 

For example, the card read data from the ID Tech UniMag II would be:

<ccNum>01|@|02f00080 1f422300 8383252a 34313131 2a2a2a2a 2a2a2a2a 31313131 5e504159 4d454e54 53544553 54434152 442f4941 54535e32 3130382a 2a2a2a2a 2a2a2a2a 2a2a2a2a 2a2a2a2a 2a2a3f2a 3b343131 312a2a2a 2a2a2a2a 2a313131 313d3231 30382a2a 2a2a2a2a 2a2a2a2a 2a3f2a87 a8e39cfa b3ef0630 ee27e912 34ce82d8 5b689e5f 10365a78 4c7573d2 1398ac9d 9cc2cd87 5e05ba1f 4e845ee0 306cf707 ae02a247 b2cab73a 46a2b203 df559488 433d3c14 a769b2c4 244829c4 97dbffc2 3890bd8e 1373fb2c 56706162 e6a4fd03 23be5966 9ff8bd73 71634a4c 2c3d4254 31343032 36333335 33ffff73 81390314 800007c8 2403</ccNum>