home *** CD-ROM | disk | FTP | other *** search
Wrap
; ; eComm PRO v2 Merchant Gateway Profile Definitions - Do not modify this file. ; ; Copyright (C) 1998-2000 Trellian - All Rights reserved ; This file or its contents may not be duplicated, used or distributed in any way. ; ; Version 1.002 Release Date: 27 Jul 01 # # Revision History: # Date: Version: Modification: # 06 Sep 00 1.001 - Added CC types to definitions # - Added Support, Setup and Home URLs # - Adjusted REQ strings # 07 Sep 00 1.001 - Added eWay.com.au # 19 Sep 00 1.001 - Changed trellian URLs # - Deleted Trellian Order Form # - Added response codes # 25 May 01 1.001 - All scripts changed # - Added extra fields and scripting functionality # 29 May 01 1.001 - All scripts working # 27 Jul 01 1.002 - Fixed some support links and eWay method # eMatters DATE=29/05/01 NAME=eMatters.com.au ID=1 REQ=https://merchant.ematters.com.au/POST /cmaonline.nsf/ePayForm?OpenForm&Seq=1 $HTTP__Click=0&UID=%ORDERID%&CompanyName=$COMPANY&Returnemail=$FIELD5&ReturnHTTP=-&MerchantID=$FIELD1&SendeMail=Yes&ABN=$FIELD4&Bank=$FIELD3&Platform=-&Mode=Live&readers=$FIELD2&Desc=&Name=%CardholderName%&Email=%Email%&CreditCardType=%CardType%&CreditCardNumber=%CardNumber%&CreditCardExpiryMonth=$MM2&CreditCardExpiryYear=$YY&CreditCardHolderName=%CardholderName%&FinalPrice=$$TOTAL HOME=http://www.ematters.com.au SUPPORT=http://www.trellian.com/ecomm/gateway/au/ematters/ SETUP=http://www.trellian.com/ecomm/gateway/au/ematters/ NEWS=http://www.trellian.com/ecomm/servernews.htm DOMAIN=AU CC=0:MasterCard CC=0:Visa CC=0:Bankcard CC=0:American Express CC=0:Diners CC=0:JCB FIELD1=Merchant ID: FIELD2=Merchant Login: FIELD3=Bank: FIELD4=ABN: FIELD5=Your Email: MAP=00,1, Transaction Approved MAP=01,0, Transaction Declined See card issuer. MAP=03,0, Transaction Declined. Invalid merchant or terminal ID. MAP=04,0, Transaction Declined. Call authorization center MAP=08,1, Transaction Approved. Please sign reciept. MAP=11,1, Transaction Approved. Converted to code 00. MAP=12,0, Transaction Declined. Invalid transaction type. MAP=31,0, Transaction Declined. See Card Issuer. MAP=39,0, Transaction Declined. No CREDIT Account. MAP=51,0, Transaction Declined. Insuffcient funds. MAP=52,0, Transaction Declined. No CHEQUE Account. MAP=53,0, Transaction Declined. No SAVINGS Account. MAP=54,0, Transaction Declined. Card Expired. MAP=55,0, Invalid PIN. Re-enter PIN and try again. MAP=60,0, Transaction Declined. Call (bank) help desk. Pick up card from customer. MAP=61,0, Transaction Declined. Over Card Limit. MAP=75,0, Transaction Declined. Too many attempts at PIN. MAP=76,1, Approved. (key change required). Note: This code is converted to 00 MAP=80,1, Approved. (key change required). Note: This code is converted to 08 MAP=91,0, Transaction Declined. Issuer not available. MAP=93,0, Declined. Already settled. MAP=94,0, Declined. STAN out of Sync. MAP=96,0, Transaction Declined. System Malfunction. MAP=97,1, Approved. Reconcilliation totals have been reset. MAP=98,0, Transaction Declined. NAC error. Re-initialize PINpad. MAP=804,0, Memory Allocation Failure MAP=805,0, File Access Error MAP=806,0, Invalid Transaction Number MAP=807,0, Invaliad Operator ID MAP=808,0, Invalid Traning Mode Flag MAP=809,0, Invalid Refund Mode Flag MAP=810,0, Invalid Purchase Amount MAP=811,0, Non-Zero Cashout MAP=812,0, Unacceptable Card Number MAP=813,0, Invalid Expiry Date Format MAP=814,0, Invalid Merchant Index MAP=815,0, A power failure was encountered while processing the transaction. The transaction will be reversed. MAP=816,0, Card Expired. MAP=817,0, Card type is not supported. (AMEX, DINERS and JCB) MAP=818,0, The Client ID is Invalid. (Range1-998) MAP=819,0, The function being requested is not supported. MAP=970,0, NAC Error, Cantact eMatters. MAP=980,0, Host Not Found, Bank System out of action. MAP=990,0, Carrier lost, bank line down. # $FIELD1 # eMatters Notes: # #FIELD1=37 #FIELD2=de19fc7698aedaff4a2567f3000b0014 #FIELD3=xkjhsxkjchsdvkjhds # Field 3 for refunds # # UID=Unique identifier, should be different for each order, possibly an invoice number if possible. # The below is a real live processing URL, do not post orders as amounts will be charged. # https://merchant.ematters.com.au/POST /CMAOnline.nsf/de19fc7698aedaff4a2567f3000b0014?OpenForm $HTTP__Click=0&Name=Mal&Email=mal@trellian.com&CreditCardType=%CardType%&CreditCardNumber=4557033001312261&CreditCardExpiryMonth=01&CreditCardExpiryYear=02&CreditCardHolderName=Chris Dwyer&UID=1234&FinalPrice=$100.08 # ################################ # This is a unique string provided by eMatters to the merchant on sign up. (up to 40 characters, usually 32) # The user is also procided with a customer number from eMatters. This is used to work out the reponse code from the server. # To decode the response to the request: # rcode = sendresponsecode - (finalprice * 100) - (merchantid * UID) # rcode = 08 or 00 then success, all else fail. 816 return message card expired. # merchantid=36 for test site # merchantid=37 for live site DATE=25/07/01 NAME=eWay.com.au ID=4 REQ=https://www.eway.com.au/POST /gateway/xmlpayment.asp $HTTP<ewaygateway><ewayCustomerID>$FIELD1</ewayCustomerID><ewayTotalAmount>$DCC</ewayTotalAmount><ewayCustomerFirstName>%NAME%</ewayCustomerFirstName><ewayCustomerLastName>.</ewayCustomerLastName><ewayCustomerEmail>%Email%</ewayCustomerEmail><ewayCustomerAddress>%Street%+%City%+%State%</ewayCustomerAddress><ewayCustomerPostcode>%Postcode%</ewayCustomerPostcode><ewayCustomerInvoiceDescription>$FIELD2</ewayCustomerInvoiceDescription><ewayCustomerInvoiceRef>%INVOICENUMBER%</ewayCustomerInvoiceRef><ewayCardHoldersName>%CardholderName%</ewayCardHoldersName><ewayCardNumber/><ewayCardExpiryMonth>$MM</ewayCardExpiryMonth><ewayCardExpiryYear>$YY</ewayCardExpiryYear><ewayTrxnNumber>AWPTrxnNo</ewayTrxnNumber><ewayOption1>Option1</ewayOption1><ewayOption2>Option2</ewayOption2><ewayOption3>xmlpayment3</ewayOption3></ewaygateway> HOME=http://www.eway.com.au/ SIGNUP=http://www.eway.com.au/join SUPPORT=http://www.trellian.com/ecomm/gateway/au/eway/ SETUP=http://www.trellian.com/ecomm/gateway/au/eway/ NEWS=http://www.trellian.com/ecomm/servernews.htm CC=0:Visa CC=0:MasterCard CC=0:Bankcard CC=0:American Express CC=0:Diners DOMAIN=AU FIELD1=Customer ID: FIELD2=Invoice Note: ; test acct number 10372145 # Authorize.net DATE=29/05/01 NAME=Authorize.net ID=2 REQ=https://secure.authorize.net/POST /gateway/transact.dll $HTTPx_Version=3.0&x_Login=$FIELD1&x_Amount=$TOTAL&x_Card_Num=%CardNumber%&x_Exp_Date=$MM2$YY&x_ADC_URL=False&x_ADC_Delim_Data=True REFER=https://secure.authorize.net/gateway/transact.dll HOME=http://www.authorize.net/ SIGNUP=https://secure.merchant-accounts.com/trellian/apply.html SETUP=http://www.trellian.com/ecomm/gateway/us/authorize/ SUPPORT=http://www.trellian.com/ecomm/gateway/us/authorize/ NEWS=http://www.trellian.com/ecomm/servernews.htm CC=0:Visa CC=0:MasterCard CC=0:American Express CC=0:Discover CC=0:Diners CC=0:Carte Blanche DOMAIN=US,CA MAP=1,1,Approved MAP=2,0,Failed MAP=3,0,Error FIELD1=Authorize Login: # field 1 should be = testdrive # Returned field 1 # 1, Approved # 2, Failed # 3, Error # Old eway - gateway/ecommpro.asp?eWAYCustomerID=10372145&ewayTotalAmount=1.01&eWAYCardHoldersName=Name&eWAYCardData=12344&eWAYCardExpiryMonth=04&eWAYCardExpiryYear=04&ewayautoredirect=1 # New ematters http://test.ematters.com.au/POST /trainingcmaonline.nsf/DemonstrationForm?OpenForm&Seq=1 $HTTP__Click=0&query_stringE=OpenForm&100&2&-&passedvalue=100&passedUID=2&passedurl=-&Name=Fred+Smith&Email=fred@trellian.com&BankName=The+National&CreditCardType=Visa&CreditCardNumber=4557013000314261&CreditCardExpiryMonth=05&CreditCardExpiryYear=05&CreditCardHolderName=Test Card Holder&PhoneNumber=&FinalPrice=$100.00 # Old ematters REQ=https://test.ematters.com.au/POST /trainingcmaonline.nsf/PATestForm?OpenForm&Seq=1 $HTTP__Click=0&Name=Mal&Email=mal@trellian.com&CreditCardType=VISA&CreditCardNumber=4557033001312261&CreditCardExpiryMonth=01&CreditCardExpiryYear=02&CreditCardHolderName=Chris Dwyer&UID=$ORDERID&FinalPrice=$TOTAL ; old ematters https://www.eway.com.au:443/POST /gateway/payment.asp $HTTPewayCustomerID=10372145&CustomerEmail=sales@eway.com.au&CustomerFirstName=Roxarne&CustomerLastName=Paton&cardExpiryMonth=05&cardExpiryYear=2001&TotalAmount=10&CardHoldersName=Fred&CardData=12344 ; https://www.eway.com.au/gateway/ecommpro.asp?eWAYFirstName=Jack&eWAYLastName=Jill&eWAYEmail=matt@webactive.com.au&eWAYAddress=123+Sesame+St&eWAYPostcode=1234&eWAYCCName=Jack+Jill&eWAYOption1=Option1&eWAYCCNumber=12344&eWAYOption2=Option2&eWAYccMonth=01&eWAYccYear=02&eWAYOption3=Option3&eWAYTotalAmount=10&eWAYTrxnNumber=TrxnNumber&eWAYInvoiceRef=123&eWAYInvoiceDescription=&eWayCustomerID=10372145 ; REQ=https://www.eway.com.au/POST /gateway/ecommpro.asp $HTTPeWAYFirstName=Jack&eWAYLastName=Jill&eWAYEmail=matt@webactive.com.au&eWAYAddress=123+Sesame+St&eWAYPostcode=1234&eWAYCCName=Jack+Jill&eWAYOption1=Option1&eWAYCCNumber=12344&eWAYOption2=Option2&eWAYccMonth=01&eWAYccYear=02&eWAYOption3=Option3&eWAYTotalAmount=10&eWAYTrxnNumber=TrxnNumber&eWAYInvoiceRef=123&eWAYInvoiceDescription=&eWayCustomerID=10372145 ; REQ=https://www.eway.com.au/POST /gateway/ecommpro.asp $HTTPeWAYFirstName=Jack&eWAYLastName=Jill&eWAYEmail=matt@webactive.com.au&eWAYAddress=123+Sesame+St&eWAYPostcode=1234&eWAYCCName=Jack+Jill&eWAYOption1=Option1&eWAYCCNumber=12344&eWAYOption2=Option2&eWAYccMonth=01&eWAYccYear=02&eWAYOption3=Option3&TotalAmount=10&eWAYTrxnNumber=TrxnNumber&eWAYInvoiceRef=123&eWAYInvoiceDescription=&eWayCustomerID=10372145 ; https://www.eway.com.au/gateway/ecommpro2.asp?ewayCustomerID=10372145&ewayCustomerEmail=sales@eway.com.au&ewayCustomerFirstName=Roxarne&ewayCustomerLastName=Paton&ewaycardExpiryMonth=05&eWAYcardexpiryMonth=01&ewayTotalAmount=10&ewayCardHoldersName=Fred&ewayCardData=12344 ; REQ=https://www.eway.com.au/gateway/ecommpro.asp?ewayCustomerID=10372145&ewayCustomerEmail=sales@eway.com.au&ewayCustomerFirstName=Roxarne&ewayCustomerLastName=Paton&ewaycardExpiryMonth=05&eWAYcardexpiryMonth=01&ewayTotalAmount=10&ewayCardHoldersName=Fred&ewayCardData=12344 ; Last good REQ=https://www.eway.com.au/gateway/ecommpro.asp?eWAYFirstName=%Name%&eWAYLastName=.&eWAYEmail=%Email%&eWAYAddress=%Street%+%City%+%State%&eWAYPostcode=%Postcode%&eWAYCCName=%CardholderName%&eWAYOption1=Option1&eWAYCCNumber=%CardNumber%&eWAYOption2=Option2&eWAYccMonth=$MM2&eWAYccYear=$YY&eWAYOption3=Option3&ewayTotalAmount=$DCC&eWAYTrxnNumber=TrxnNumber&eWAYInvoiceRef=%INVOICENUMBER%&eWAYInvoiceDescription=$FIELD2&eWayCustomerID=$FIELD1 ewayOption1 ewayOption2 ewayOption3 ewayTotalAmount ewayCustomerFirstName CustomerLastName = oxmlDoc.documentElement.selectSingleNode("ewayCustomerLastName").text CustomerEmail = oxmlDoc.documentElement.selectSingleNode("ewayCustomerEmail").text CustomerAddress = oxmlDoc.documentElement.selectSingleNode("ewayCustomerAddress").text CustomerPostcode = oxmlDoc.documentElement.selectSingleNode("ewayCustomerPostcode").text CustomerInvoiceDescription = oxmlDoc.documentElement.selectSingleNode("ewayCustomerInvoiceDescription").t ext AWPTrxnNo = oxmlDoc.documentElement.selectSingleNode("ewayTrxnNumber").text CustomerInvoiceRef = oxmlDoc.documentElement.selectSingleNode("ewayCustomerInvoiceRef").text cardExpiryMonth = oxmlDoc.documentElement.selectSingleNode("ewayCardExpiryMonth").text cardExpiryYear = oxmlDoc.documentElement.selectSingleNode("ewayCardExpiryYear").text CardHoldersName = oxmlDoc.documentElement.selectSingleNode("ewayCardHoldersName").text CardData = oxmlDoc.documentElement.selectSingleNode("ewayCardNumber").text ; REQ=https://www.eway.com.au/POST /gateway/xmlpayment.asp $HTTP<ewaygateway><ewayCustomerID>$FIELD1</ewayCustomerID><ewayTotalAmount>$DCC</ewayTotalAmount><ewayCustomerFirstName>%NAME%</ewayCustomerFirstName><ewayCustomerLastName>.</ewayCustomerLastName><ewayCustomerEmail>%Email%</ewayCustomerEmail><ewayCustomerAddress>%Street%+%City%+%State%</ewayCustomerAddress><ewayCustomerPostcode>%Postcode%</ewayCustomerPostcode><ewayCustomerInvoiceDescription>$FIELD2</ewayCustomerInvoiceDescription><ewayCustomerInvoiceRef>%INVOICENUMBER%</ewayCustomerInvoiceRef><ewayCardHoldersName>%CardholderName%</ewayCardHoldersName><ewayCardNumber>%CardNumber%</ewayCardNumber><ewayCardExpiryMonth>$MM2</ewayCardExpiryMonth><ewayCardExpiryYear>$YY</ewaycardExpiryYear><ewayTrxnNumber></ewayTrxnNumber><ewayOption1></ewayOption1><ewayOption2></ewayOption2><ewayOption3></ewayOption3></ewaygateway>