News:

Support the VirtueMart project and become a member

Main Menu

Paypal Standard 2.0.25g

Started by rhenline, December 12, 2013, 20:50:45 PM

Previous topic - Next topic

rhenline

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.

alatak

Hello
Thanks, it was only missing in the standard version :)