Similar to my post about paypal.php sending wrong phone number - it also seems to be sending wrong "state" info.
The formula used in paypal.php is:
Code:
zen_draw_hidden_field('state',zen_get_zone_code($order->customer['country']['id'], $order->customer['zone_id'],$order->customer['zone_id'])) .
which i think likely figures out a state/prvince code??? I amnot sure but i know for Canada at least - this doesnt work - can someone verify if maybe this is right for US
for Canada paypal actually wants the name of the province passed
so, when i changed code to this:
Code:
zen_draw_hidden_field('state',$order->customer['state']) .
it actually sends (in my test case) "Ontario" which passes correctly to the credit card info page in PayPal.
Bookmarks