Error with non-shippable product

Project: 
Beanstream gateway
Category: 
bug report
Priority: 
normal
Status: 
active

The Product I am trying to allow to be purchased is non-shippable, therefore I am not collecting any Shipping Address, but when the order is submitted I get the following error :

messageText=%3CLI%3EShipping+state%2Fprovince+does+not+match+country%3Cbr%3E

Re: Error with non-shippable product

By "not collecting shipping addresses" does this mean the fields are NOT showing up in your checkout panes? If they ARE showing up, that means you need to uncheck the box in your Product Edit screen that says "This product and its derivatives are shippable." Just setting the weight to 0 won't do it.

It's a little hard to find the checkbox at a glance.

Re: Re: Error with non-shippable product

The field are NOT showing up in the checkout panes. I did uncheck the box you mention. But for some reason the Beanstream module still appears to be trying to match Shipping and Billing information when the order is submitted.

Re: Re: Re: Error with non-shippable product

Ah- I didn't see that this was a bug for the Beanstream module. My mistake Sad Might want to contact jimijamesi directly, haven't seen him on here in a while..

Update...

Changed line 193 of uc_beanstream.module to : 'shipProvince' => uc_get_zone_code($order->billing_zone),
and line 195 to : 'shipCountry' => $ordCountry,

The error is gone but payment status stuck in 'Pending'.