Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Handel::Checkout::Plugin::MarkOrderSaved
Checkout plugin to mark the order ORDER_TYPE_SAVED

Handel::Checkout::Plugin::MarkOrderSaved - Checkout plugin to mark the order ORDER_TYPE_SAVED


NAME

Handel::Checkout::Plugin::MarkOrderSaved - Checkout plugin to mark the order ORDER_TYPE_SAVED


SYNOPSIS


    use Handel::Checkout;

    

    my $checkout = Handel::Checkout->new({

        order       => $order,

        phases      => 'CHECKOUT_PHASE_FINALIZE',

        loadplugins => 'Handel::Checkout::Plugin::MarkOrderSaved'

    });

    

    $checkout->process;


DESCRIPTION

This checkout plugin simply changes $order->type to ORDER_TYPE_SAVED during the CHECKOUT_PHASE_FINALIZE phase.


METHODS

register

Registers this plugin for the CHECKOUT_PHASE_FINALIZE phase.

handler

Calls save in the Handel::Order manpage to mark the current order as saved.


SEE ALSO

the Handel::Checkout::Plugin manpage, the Handel::Checkout manpage


AUTHOR


    Christopher H. Laco

    CPAN ID: CLACO

    claco@chrislaco.com

    http://today.icantfocus.com/blog/
Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy