Obviously, we need a payment
confirmation system, along with a database structure that is able to store status information
about each order.
The confirmation system that we??™ll implement is simple. Every payment processor, including
PayPal, can be configured to send a confirmation message after a payment has been processed.
We??™ll allow the site administrator to manually check, in the administration page, which orders
have been paid for and take the appropriate measures.
?– Note PayPal and its competitors offer automated systems that inform your web site when a payment has
been completed or canceled. However, this book doesn??™t investigate the intimate details of any of these payment
systems??”you??™ll need to do your homework and study the documentation of the service of your choice.
The PayPal Instant Payment Notification documentation is included in the Order Management Integration
Guide, which at the time of this writing can be downloaded at https://www.paypal.com/en_US/pdf/
PP_OrderManagement_IntegrationGuide.pdf.
Storing the Order Details
As pointed out earlier, we start implementing the new feature by creating the necessary data
structures. This should not surprise you at this point. You know that deciding what information
to use and how to store it helps a great deal when analyzing a new feature and represents
the technical foundation of that feature??™s implementation.
Pages:
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548