Author Topic: Paypal Standard 2.0.25g  (Read 674 times)

rhenline

  • Beginner
  • *
  • Posts: 7
Paypal Standard 2.0.25g
« 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.

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2045
    • alatak.net
Re: Paypal Standard 2.0.25g
« Reply #1 on: December 13, 2013, 13:27:51 pm »
Hello
Thanks, it was only missing in the standard version :)