NAME
Template::Plugin::Handel::Checkout - Template Toolkit plugin for checkout processing
SYNOPSIS
[% USE Handel.Checkout %]
[% IF (checkout = Handel.Checkout.new({order => 'A2CCD312-73B5-4EE4-B77E-3D027349A055'})) %]
[% checkout.process %]
[% FOREACH message IN checkout.messages %]
[% message.text %]
[% END %]
[% END %]
DESCRIPTION
Template::Plugin::Handel::Checkout
is a TT2 (Template Toolkit 2) plugin for Handel::Checkout
. It's API is exactly the same as Handel::Checkout
.
Handel::Constants
are imported into this module automatically. This removes the need to use Template::Plugin::Handel::Constants
separately when working with checkout processes.
[% USE hc = Handel.Checkout %]
[% checkout = hc.new(...) %]
[% checkout.order.type(hc.CHECKOUT_PHASE_INITIALIZE) %]
SEE ALSO
Template::Plugin::Handel::Constants, Handel::Constants, Handel::Checkout, Template::Plugin
AUTHOR
Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/