This process implies, however,
that if a credit card is rejected, we might need to create a whole new order for the customer to
generate a new and unique reference number to send to the gateway, but that shouldn??™t be
a problem.
The XML request is formatted in the following way, with the values detailed previously
shown in bold:
DataCash password
DataCash client
Unique reference number
Cash amount
pre
Credit card number
Credit card expiry date
Response to the Preauthentication Request
The response to a preauthentication request includes the following information:
CHAPTER 20 ?– PROCESSING CREDIT CARD TRANSACTIONS 627
??? The status code number indicates what happened; the code will be 1 if the transaction
was successful or another of several other codes if something else happens. For a complete
list of return codes for a DataCash server, see https://testserver.datacash.com/
software/returncodes.shtml.
??? The reason for the status is, basically, a string explaining the status in English.
Pages:
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745