| Project: | Ubercart Contributions |
| Component: | Code |
| Category: | |
| Priority: | critical |
| Assigned: | Ryan |
| Status: | fixed |
Jump to:
The paypal country code for the United Kingdon is not 'GB', it is 'UK'.
With 'GB' I get this error:
Unable to process payment. Please contact the merchant as the postal address provided by the merchant is invalid, and the merchant has requested that your order must be delivered to that address.
Changing line 1138 of uc_paypal.module to
'country' => ($country[0]['country_iso_code_2'] == 'GB') ? 'UK' : $country[0]['country_iso_code_2'],
fixes it for me

(I think they specify using GB for the language code for the login page. Does that mess up with GB also?)
