NAME

Handel::Checkout::Plugin::AssignOrderNumber - Checkout plugin to assign order numbers

SYNOPSIS

    use Handel::Checkout;
    
    my $checkout = Handel::Checkout->new({
        order       => $order,
        phases      => 'CHECKOUT_PHASE_FINALIZE',
        loadplugins => 'Handel::Checkout::Plugin::AssignOrderNumber'
    });
    
    $checkout->process;

DESCRIPTION

This checkout plugin simply assigns a number to $order->number during the CHECKOUT_PHASE_FINALIZE phase.

METHODS

register

Registers this plugin for the CHECKOUT_PHASE_FINALIZE phase.

handler

Assigns a number to the current order.

SEE ALSO

Handel::Checkout::Plugin, Handel::Checkout

AUTHOR

    Christopher H. Laco
    CPAN ID: CLACO
    claco@chrislaco.com
    http://today.icantfocus.com/blog/