Originally Posted by
simon1066
Thanks for this. I'm currently on WebPay v1.0.1. I'll implement the temp workaround.
Have a good weekend.
hi simon,
i'm seeing different line numbers then what is in your error log.
no matter.
i would find the following code and make the following 2 code changes:
PHP Code:
//from
'administrative_district_level_1' => (string)zen_get_zone_code($order->billing['country']['id'], $order->billing['zone_id'], $order->billing['state']),
//to
'administrative_district_level_1' => (string)zen_get_zone_code($order->billing['country']['id'], (int)$order->billing['zone_id'], $order->billing['state']),
//from
'administrative_district_level_1' => (string)zen_get_zone_code($order->delivery['country']['id'], $order->delivery['zone_id'], $order->delivery['state']),
//to
'administrative_district_level_1' => (string)zen_get_zone_code($order->delivery['country']['id'], (int)$order->delivery['zone_id'], $order->delivery['state']),
i would then revert line 173 back to its original form.
in addition, if there are still problems, lets move the conversation over to the square webpay forum thread so as to not continue to pollute this thread...
best.
Bookmarks