|
als_process_credit_card.cgi |
Top Previous Next |
|
The AL-Pro Web Portal provides support for secure on line credit card processing allowing Credit card transactions to be fully integrated with AL-Pro Reporting and batch functions. An AL-Pro Credit card Server is required to support this API call. The als_credit_card_server_available.cgi can be used to check the availability of a Credit Card server.
This method is only supported via SSL so that user credit card information is never sent via an un-encrypted channel.
When a credit card is process a call is automatically made to als_insert_payment.cgi and the results of the Credit Card approval as well as the payment entry is returned as XML.
Note:Testing can be done by setting the default settings to allow for Credit cards to be "authorized only".
Name and address information is obtained from the reservation directly. If the credit card name is different than the reservation name then the CCName param can be used to over-ride the reservation data default. Address information is obtained from the reservation itself so the reservation must have address information if AVS is set on.
Inputs
Outputs
<root> <creditcardauthorization> <row user="2" desk="1" merchantcode="2" reservation="38311" amount="0.01" credit="False" ccno="XXXXXXXXXXXX0021" ccexp="0209" nameoncard="Smith,John" cardpresent="False" verifycardonly="False" controlno="0" responsecode="00" responsetext="NO MATCH,CID:N,AVS:N" approvalcode="024321" postedreference="663" manualauthorization="False" manualapprovalcode="" cardswiped="False" trackno="0" trackstring="" authorizeonly="True" verifycredittrans="False" origtrackread="" usecid="True" cid="0056" needavs="True" streetaddress="" zipcode="83712"/> </creditcardauthorization> <payments> <row paycode="32025" reservation="38311" base="1" amount="0.01" paytype="5" referencevalue="" datevalue="9/24/2007" timevalue="13:04" voucheramount="" username="Murphy, Sheila" basename="Maui" paytypename="Internet Prepaid"/> </payments> </root> |