datacash.com/software/DevelopersGuide.pdf. This is the official document
you can rely on to have accurate and recent information about any DataCash services.
DataCash offers a PHP API composed of a number of PHP classes that you can use to connect
to its services. These classes compose the XML messages that interact with the DataCash
web service for you. In this chapter, for understanding how the system works even better, we
choose to create the XML structures and interact with the DataCash web service directly.
We??™ll be doing a lot of XML manipulation when communicating with DataCash, because
we??™ll need to create XML documents to send to DataCash and to extract data from XML responses.
In the following few pages, we??™ll take a quick look at the XML required for the operations we??™ll
be performing and the responses we can expect. We??™ll discuss the communication protocol,
which implies discussing the XML files that reflect the following stages of a transaction:
??? Preauthentication request
??? Response to the preauthentication request
??? Fulfillment request
??? Fulfillment response
We??™ll implement these stages into the TShirtShop order pipeline. While reading this chapter,
always remember to use the official documentation, which contains the most current and
relevant updates, at https://testserver.datacash.com/software/DevelopersGuide.
Pages:
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743