Post by robettoplaste » Sun Aug 19, 2018 12:51 pm

We use PayPal to host all our payments, but have found out that PayPal are refusing payments from US customers because their address shows the name of their state, not the ISO. Is there

Newbie

Posts

Joined
Sun Aug 19, 2018 12:47 pm

Post by MarketInSG » Sun Aug 19, 2018 10:44 pm

From what I see in OpenCart 2.3.0.2, pp_pro.php file, it does check for US and sends the ISO code over. If you are not using PayPal Pro, you may want to instead open up that file and copy over the changes. Below is the line.

Code: Select all

		$request .= '&STATE=' . urlencode(($order_info['payment_iso_code_2'] != 'US') ? $order_info['payment_zone'] : $order_info['payment_zone_code']);


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore
Who is online

Users browsing this forum: No registered users and 20 guests