Prev | Current Page 730 | Next

Emilian Balanescu and Cristian Darie

"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"


Preauthorization: Check a card for funds and allocate them if available; this doesn??™t
deduct funds immediately.
Fulfillment: Complete a preauthorized transaction, deducting the funds already allocated.
Refund: Refund a completed transaction or simply put money on a credit card.
Again, the specifics vary, but these are the basic types.
In this chapter, we??™ll use the preauthorization/fulfillment model, which means we don??™t
take payment until just before we instruct our supplier to ship goods. This structure was hinted
at by the structure of the pipeline we created in the previous chapter.
Working with DataCash
Now that we??™ve covered the basics, let??™s consider how we??™ll get things working in the TShirtShop
application using the DataCash system. The first thing to do is to get a test account with
DataCash by following these steps:
CHAPTER 20 ?–  PROCESSING CREDIT CARD TRANSACTIONS 625
1. Go to http://www.datacash.com/.
2. Head to the Developers Area ??¤Get a Test Account section of the web site.
3. Enter your details, and submit the form.
4. From the e-mail you receive, make a note of your account username and password, as
well as the additional information required for accessing the DataCash reporting system.
?– Note After you obtain your test account, be sure to download the DataCash Developer??™s Guideat
https://testserver.


Pages:
718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742
Stal rezerwacja hoteli pomiary wiatru Nike Buty Męskie Air Flex Trainer Lea Biżuteria swarovskiego