Post by imager » Sat Apr 20, 2019 7:21 am

Running into a problem with OC 3.0.2.0 and the built-in PayPal Standard module.

When orders are placed, they flow through to PayPal, but PayPal is not receiving the customers mailing address. In PayPal , we see the funds coming in, but PayPal has not recorded their address. PayPal is reporting: We don't have a mailing address on file

Has anyone seen this issue in the past, should we be using PayPal standard (we were using it successfully on OC 2.0.3.1 till we setup a new system yesterday.

Thoughts and ideas would be appreciated..
Thanks

New member

Posts

Joined
Fri Nov 09, 2012 7:05 pm

Post by imager » Sat Apr 20, 2019 7:37 am

For anyone else experiencing this issue, I found a fix - and not sure why it is needed at all, but appears this is required to have the address show up in PayPal Standard.

From your pp_standard.twig file (found under /catalog/view/theme/default/template/extension/payment/pp_standard.twig), you will want to edit the line 40:

Code: Select all

  <input type="hidden" name="no_shipping" value="1" />
and change it to:

Code: Select all

  <input type="hidden" name="no_shipping" value="0" />
Basically changing the value parameter from 1 to 0 has now allowed the address to flow from Opencart to PayPal Standard.

Hope this helps someone else..

John

New member

Posts

Joined
Fri Nov 09, 2012 7:05 pm
Who is online

Users browsing this forum: No registered users and 24 guests