??? The supplier confirms stock.
??? The supplier confirms shipping.
The first stage is as follows:
1. When the customer confirms an order, presentation/checkout_info.php creates the
order in the database and calls OrderProcessor to begin order processing.
2. OrderProcessor detects that the order is new and calls PsInitialNotification.
3. PsInitialNotification sends an e-mail to the customer confirming the order and
advances the order stage. It also instructs OrderProcessor to continue processing.
4. OrderProcessor detects the new order status and calls PsCheckFunds.
5. PsCheckFunds checks that funds are available on the customer??™s credit card and stores
the details required to complete the transaction if funds are available. If this is successful,
then the order stage is advanced, and OrderProcessor is told to continue. Nothing
is charged to the customer??™s credit card yet.
6. OrderProcessor detects the new order status and calls PsCheckStock.
7. PsCheckStock sends an e-mail to the supplier with a list of the items ordered, instructs
the supplier to confirm via ORDERS ADMIN from the admin section, and advances the order
status.
8. OrderProcessor terminates.
The second stage is as follows:
1. When the supplier logs in to the orders admin page to confirm that the stock is available,
presentation/admin_order_details.php calls OrderProcessor to continue order
processing.
Pages:
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689