![]() |
![]()
| ![]() |
![]()
NAMEGoogle::Checkout::Command::CancelOrder SYNOPSISuse Google::Checkout::General::GCO; use Google::Checkout::Command::CancelOrder; use Google::Checkout::General::Util qw/is_gco_error/; my $gco = Google::Checkout::General::GCO->new; my $cancel_order = Google::Checkout::Command::CancelOrder->new( order_number => 156310171628413, reason => "This is a test order"); my $response = $gco->command($cancel_order); die $response if is_gco_error($response); print $response,"\n\n"; DESCRIPTIONA sub-class of "Google::Checkout::Command::GCOCommand". This module is used to cancel an order. Please note that depends on what states the order is in, a merchant may or may not be able to cancel the order.
COPYRIGHTCopyright 2006 Google. All rights reserved. SEE ALSOGoogle::Checkout::Command::GCOCommand
|