The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Google::Checkout::Command::ProcessOrder

SYNOPSIS

  use Google::Checkout::General::GCO;
  use Google::Checkout::Command::ProcessOrder;
  use Google::Checkout::General::Util qw/is_gco_error/;

  my $gco = Google::Checkout::General::GCO->new;

  my $process_order = Google::Checkout::Command::ProcessOrder->new(
                      order_number => 156310171628413);
  my $response = $gco->command($process_order);
  die $response if is_gco_error($response);
  print $response,"\n\n";

DESCRIPTION

A sub-class of Google::Checkout::Command::GCOCommand. This module is used to send a process order command to Google Checkout.

new ORDER_NUMBER => ...

Constructor. Takes a Google Checkout order number.

to_xml

Return 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

Copyright 2006 Google. All rights reserved.

SEE ALSO

Google::Checkout::Command::GCOCommand