Prev | Current Page 757 | Next

Emilian Balanescu and Cristian Darie

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


$processor->mOrderInfo['order_id'] . ".\n\n" .
'Data exchanged:' . "\n" .
var_export($transaction, true) . "\n" .
var_export($response, true));
}
}
}
?>
3. Add a reference to the business/authorize_net_request.php file in index.php as highlighted:
require_once BUSINESS_DIR . 'ps_check_funds.php';
require_once BUSINESS_DIR . 'ps_check_stock.php';
require_once BUSINESS_DIR . 'authorize_net_request.php';
4. Add a reference to the business/authorize_net_request.php file in admin.php as highlighted:
require_once BUSINESS_DIR . 'ps_ship_ok.php';
require_once BUSINESS_DIR . 'ps_final_notification.php';
require_once BUSINESS_DIR . 'authorize_net_request.php';
CHAPTER 20 ?–  PROCESSING CREDIT CARD TRANSACTIONS 652
Testing Authorize.net Integration
All we have to do now is run some tests with our new web site. Retrieve the list of magic
Authorize.net credit card numbers from the AIM Implementation Guide, and experiment with
doing transactions using them.
Summary
In this chapter, we have completed our e-commerce application by integrating it with credit
card authorization. Once you??™ve put your own products in the database, hooked it up with
your suppliers, obtained amerchant bank account, and put it on the Web, you??™re ready to go!
OK, so that??™s still quite a lot of work, but none of it is particularly difficult. The hard work is
behind you now!
Specifically, in this chapter, we have looked at the theory behind credit card transactions
on the Web and at one full implementation??”DataCash.


Pages:
745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769
określić kasyno bosten.pl Wczasy nad morzem wentik.otiset.pl