StoreAndValidatePaymentCmd task command
This task command is called during order capture and applies to all order capture events. The function of this task command is to store payment information and validate it, so that the merchant can find out whether a payment is bad before the customer is disengaged. The merchant does not want to incur the expense of contacting the customer to correct payment information, nor does the merchant want to incur fees associated with getting a guarantee of payment because the order might never be submitted. This task command also occurs in situations where an order is created and the customer has provided payment instructions, but the order is waiting on buyer approval or validation by another party before it can proceed.
Payment instructions are always validated in this command and during the PrimePaymentCmd command.
The possible payment action associated with this command is only one, Validation. This payment action ("how" a validation can occur) is not configurable. The starter stores and IBM Sales Center always invoke the StoreAndValidatePaymentCmd task command (although in principle the command is not mandatory). Validation always occurs when payment information is added or changed.
Example: A customer logs on to an office supply store Web site and logs on. He is identified as a member of an organization that has a defined contract with the store, stipulating the terms and conditions for the customer to shop at the store. The customer adds office supplies to a shopping cart and a StoreAndValidatePaymentCmd occurs. StoreAndValidatePaymentCmd creates an empty payment container object EDPOrder with amount zero.
The action flow is similar when a CSR creates a quote with payment information. If the customer creates an order and adds some items to it, no payment container is created. He selects and adds office supplies to a shopping cart and proceeds to check out. The payment method and shipping information for his organization is determined from the contract terms and is displayed. The StoreAndValidatePaymentCmd is called. The order is marked held to wait for approval, and the customer is notified that the order has been sent for approval.
In effect, this command stores information about the payment intended to take place, but no actual financial transactions are taking place because the payment information requires validation first.
(C) Copyright IBM Corporation 1996, 2006. All Rights Reserved.