VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: r0bbiedigital on February 08, 2014, 03:16:32 AM

Title: VM2 w/ PayPal still sending wrong state to paypal, not 2 digit
Post by: r0bbiedigital on February 08, 2014, 03:16:32 AM
I looked at this post https://forum.virtuemart.net/index.php?topic=120925.0 and saw that the proper information was being passed, but PayPal does not get the 2 char code.

I verified that I have the proper code: $post_variables['state'] = isset($address->virtuemart_state_id) ? ShopFunctions::getStateByID($address->virtuemart_state_id, 'state_2_code') : ''; as it is in all paypal php files.

What am I missing?

VM  2.0.18a
Title: Re: VM2 w/ PayPal still sending wrong state to paypal, not 2 digit
Post by: jus2sho on February 16, 2014, 20:25:45 PM
This worked for me.

http://forum.virtuemart.net/index.php?topic=115604.0