Zen Follower
- Join Date:
- Dec 2008
- Location:
- Toronto
- Posts:
- 348
- Plugin Contributions:
- 0
Beanstream or CP Shipping Module? 64 Character Limit
kcb410:
Hello Everyone,
Does anyone know if this fix still works with Zen 139h? I notice it's a couple of years old.
I've tried it a couple of times and when I try to process a payment I just get a blank page.
Any help or comment would be appreciated. Thank you!
Zen 139h
PHP Version: 5.3.10
MySQL 5.0.95
To answer my own question....
This works fine if you open your \includes\modules\payment\beanstream.php and replace this @ lines 338 thru 343:
'shippingMethod' => $order->info['shipping_method']);
} else {
$shipping_data = array();
}
$extra_data = array(
'shippingMethod' => $order->info['shipping_method'],
with this:
'shippingMethod' => substr($order->info['shipping_method'], 0, 30));
} else {
$shipping_data = array();
}
$extra_data = array(
'shippingMethod' => substr($order->info['shipping_method'], 0, 30),