diff options
author | jeff <jeff> | 2010-07-17 22:34:58 +0000 |
---|---|---|
committer | jeff <jeff> | 2010-07-17 22:34:58 +0000 |
commit | 7516d92e433d4e74589e1e4337dc885aaf523f01 (patch) | |
tree | 2d4e4aa27f41d22aa2dc8cbd760112d5fe7e5644 /IPPay.pm | |
parent | a7ffdf742b491ad38126db36efe8f478ac7c1c9c (diff) |
never send an empty country
Diffstat (limited to 'IPPay.pm')
-rw-r--r-- | IPPay.pm | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -309,6 +309,7 @@ sub submit { Phone => 'phone', ); } + delete $shippingaddr{Country} unless $shippingaddr{Country}; tie my %shippinginfo, 'Tie::IxHash', $self->revmap_fields( @@ -362,6 +363,7 @@ sub submit { IndustryInfo => \%industryinfo, ShippingInfo => \%shippinginfo, ); + delete $req{BillingCountry} unless $req{BillingCountry}; my $post_data; my $writer = new XML::Writer( OUTPUT => \$post_data, |