If your site supports the use of only a single HardgoodShippingGroup
and a single CreditCard
for a given Order
, you can manage and expedite the pre-checkout process for Orders
using the ExpressCheckoutFormHandler
(class atg.commerce.order.purchase.ExpressCheckoutFormHandler
). ExpressCheckoutFormHandler
supports the use of a single Profile
-derived HardgoodShippingGroup
and a single Profile
-derived CreditCard
.
However, if your site supports any number or type of shipping group, or any number or type of payment group, then you must use the form handlers described in Preparing a Complex Order for Checkout. Note that the form handlers described in that section also work with simple Orders
that have a single HardgoodShippingGroup
and a single CreditCard
.
ATG Commerce provides an instance of ExpressCheckoutFormHandler
, which is located in Nucleus at /atg/commerce/order/purchase/ExpressCheckoutFormHandler
. The following table describes its important methods:
Method | Description |
---|---|
| This handle method first invokes the For more information on |
| Reprices the For more information on the |
| This method first ensures that the user isn’t trying to double-submit the |
The following boolean properties of the ExpressCheckoutFormHandler
govern its behavior:
Property Name | Description |
---|---|
| If True, then a |
| If True, then a |
| If True, then the |
Note: Recall that, as with all shopping cart-related form handlers, empty preXXX and postXXX methods are provided so you can extend ExpressCheckoutFormHandler
, as necessary. To implement a system that requires a more complex checkout process, see Preparing a Complex Order for Checkout.
See Checking Out an Order for detailed information on the order checkout process.