Google::Checkout::Command::AuthorizeOrder
use Google::Checkout::General::GCO;
use Google::Checkout::Command::AuthorizeOrder;
use Google::Checkout::General::Util qw/is_gco_error/;
my $gco = Google::Checkout::General::GCO->new;
my $authorize = Google::Checkout::Command::AuthorizeOrder->new(order_number => 1234);
my $response = $gco->command($authorize);
die $response if is_gco_error($response);
print $response,"\n\n";
A sub-class of
"Google::Checkout::Command::GCOCommand".
This module is used to authorize an order.
- new ORDER_NUMER => ...
- Constructor. Takes a Google order number
- to_xml
- Returns the XML that will be sent to Google Checkout. Note that this
function should not be used directly. Instead, it's called indirectly by
the "Google::Checkout::General::GCO"
object internally.
Copyright 2006 Google. All rights reserved.
Google::Checkout::Command::GCOCommand