QuantumGateway: The Evolution of Payment Processing


Quantum Gateway XML Processing


XML Post Fields

<QGWRequest>
<Details>
<gwLogin>your gwid</gwLogin> <-- Required -->
<RestrictKey>the RestrictKey</RestrictKey> <-- Required -->
<ResponseType>PostBack</ResponseType> <-- PostBack Or Response -->
<post_back_url>your url</post_back_url> <-- if ResponseType is PostBack -->
</Details>
<TransactionRequest>
<-- Required Fields -->
<trans_method>CC</trans_method> <-- CC or EFT -->
<ccnum>5454545454545454</ccnum> <-- Required for CC -->
<ccmo>12</ccmo> <-- Required for CC -->
<ccyr>2010</ccyr> <-- Required for CC -->
<aba>123456789</aba> <-- Required for EFT -->
<checkacct>12398745821</checkacct> <-- Required for EFT -->
<amount>19.95</amount>
<BADDR1>1212 15th St NW</BADDR1>
<BZIP1>99999</BZIP1>
<-- Optional Fields -->
<BCUST_EMAIL>customer@domain.com</BCUST_EMAIL>
<override_email_customer>N</override_email_customer>
<override_trans_email>N</override_trans_email>
<CVV2>111</CVV2>
<CVVtype>1</CVVtype>
<MAXMIND>1</MAXMIND> <-- 1 use maxmind, 2 skip maxmind -->
<FNAME>John</FNAME>
<LNAME>Doe</LNAME>
<BCITY>North Pole</BCITY>
<BSTATE>AK</BSTATE>
<BCOUNTRY>USA</BCOUNTRY>
<phone>999-888-7777</phone>
<-- OR -->
<PHONE_AREA>999</PHONE_AREA>
<PHONE_PREF>888</PHONE_PREF>
<PHONE_SUFF>7777</PHONE_SUFF>
<-- Shipping Information -->
<SFNAME>John</SFNAME>
<SLNAME>Doe</SLNAME>
<SADDR1>1212 15th St NW</SADDR1>
<SCITY>North Pole</SCITY>
<SSTATE>AK</SSTATE>
<SZIP1>99999</SZIP1>
<SCOUNTRY></SCOUNTRY>
<company>USA</company>
<cust_id>4497255</cust_id>
<customer_ip>127.0.0.1</customer_ip>
<invoice_num>65412</invoice_num>
<invoice_description>Online Widget Order</invoice_description>
<-- Recurring Transaction -->
<override_recur>23.45</override_recur>
<OverRideRecureDay>Y</OverRideRecureDay>
<RID>1</RID>
<initial_amount></initial_amount><-- If empty the amount field above will be used-->
<recur_times>12</recur_times>
</TransactionRequest>
</QGWRequest>

Post URL: https://secure.quantumgateway.com/cgi/xml.php

Example Posting Scripts
Posting Using A Form
Posting Using Curl Form Field
Posting In XML Using Curl

Sample XML Responses
<POSTresponse>
<Request>
<amount>Amount</amount>
<Response>APPROVED</Response>
<cust_id>4497255</cust_id>
</Request>
</POSTresponse>


<POSTresponse>
<Request>
<amount>Amount</amount>
<Response>DECLINED</Response>
<Response2>INV Card Num </Response2>
<cust_id>4497255</cust_id>
</Request>
</POSTresponse>


ResposneTypes
PostBack will post back the entire XML response to the provided URL.
Response will just display the entire XML response for your system to read. This is useful for silent posts where you are just wanting the response.
Note: DialVerify, Verified by Visa and SecureMasterCard can not be used with this method.
Note: If no ResponseType is present the system will default to Response.

Data is posted back in form field xml. The customer will be showed a form similar to

<form action ="your_post_back_url" method="Post">
<input name="ID" type="hidden" value="$ID">
<input name="xml" type="hidden" value="$xml_data">
<input type ="SUBMIT" value="Finish Processing Order">
</FORM>

Or NON-HTML View