Customer purchased this plugin to use in Saudi Arabia.
On the checkout page when the address is not in English chars I get the following error: Connection error:: "INVALID_REQUEST:Invalid data. Field [order.avsDetails.billToStreetLine1] was not in charset [ISO-8859-1]"
Resolved
I was able to fix this invalid request issue by converting all the address strings from UTF-8 to ISO-8859-1.
{ 'street'=>mb_convert_encoding($order->get_billing_address_1(), "ISO-8859-1", "UTF-8")}
Comments
0 comments
Article is closed for comments.