| Handel documentation | view source | Contained in the Handel distribution. |
Handel::Checkout::Plugin::MarkOrderSaved - Checkout plugin to mark the order ORDER_TYPE_SAVED
use Handel::Checkout;
my $checkout = Handel::Checkout->new({
order => $order,
phases => 'CHECKOUT_PHASE_FINALIZE',
loadplugins => 'Handel::Checkout::Plugin::MarkOrderSaved'
});
$checkout->process;
This checkout plugin simply changes $order->type to ORDER_TYPE_SAVED during the CHECKOUT_PHASE_FINALIZE phase.
Registers this plugin for the CHECKOUT_PHASE_FINALIZE phase.
Calls save in Handel::Order to mark the current order as saved.
Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/
| Handel documentation | view source | Contained in the Handel distribution. |