Post by Qphoria » Sun Aug 30, 2009 9:52 am

This is something from back in 0.x that somebody alerted me to. Paypal is stupid and thinks that the language code should be the country code. It's very minor and doesn't seem to affect anything anyway, but its worth mentioning.
According to the latest PayPal Website Payments Standard Integration Guide the "lc" value should be the two character country ISO code. Currently the language is sent (e.g. en), where it should be sending the iso_code_2 value
Change:

Code: Select all

$this->data['fields']['lc'] = $this->language->getCode();
To:

Code: Select all

$this->data['fields']['lc'] = $payment_address['iso_code_2'];

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 11 guests