VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: sscheidegger on March 05, 2012, 14:55:54 PM

Title: [Fixed]Paypal Country Problem
Post by: sscheidegger on March 05, 2012, 14:55:54 PM
Hi,

we are testing the Paypal payment method in VM2.0.2. It works very well, also with multi-currency in an international store. However, it seems to have a problem when delivering to other countries. The shipping address in paypal always shows the country of my paypal account instead of the actual shipping country. For example I enter in VM a shipping address like Teststrasse 1, Berlin, Germany. In Paypal it shows Teststrasse 1, Berlin, Switzerland!

The reason for this seems to be in the country code. VM sends a three letter country code (DEU, CHE, AUT, ...), but paypal expects a two letter country code (DE, CH, AT, ...). See https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_country_codes

Regards,
Stefan

Title: Re: Paypal Country Problem
Post by: alatak on March 06, 2012, 12:19:15 PM
Hi,

txs :)
Fixed.