VirtueMart Forum

VirtueMart 2 + 3 => Virtuemart Development and bug reports => Topic started by: rhenline on December 12, 2013, 20:50:45 pm

Title: Paypal Standard 2.0.25g
Post by: rhenline on December 12, 2013, 20:50:45 pm
You need to add the , 'state_2_code' to $post_variables['state'] = isset($address->virtuemart_state_id) ? ShopFunctions::getStateByID($address->virtuemart_state_id) : ''; so that it looks like this $post_variables['state'] = isset($address->virtuemart_state_id) ? ShopFunctions::getStateByID($address->virtuemart_state_id, 'state_2_code') : ''; Paypal give an address error message and prevents checkout even if override address is checked. It seems to be in papalapi, might need to be added to paypalexp.php and paypalhosted.php as well.
Title: Re: Paypal Standard 2.0.25g
Post by: alatak on December 13, 2013, 13:27:51 pm
Hello
Thanks, it was only missing in the standard version :)