Paypal Standard incorrect "lc" value.
Posted: 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.
To:
Change: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
Code: Select all
$this->data['fields']['lc'] = $this->language->getCode();
Code: Select all
$this->data['fields']['lc'] = $payment_address['iso_code_2'];