Post by kalessaradan » Fri Sep 10, 2010 2:25 am

So I had a customer make a purchase via our OpenCart, and while he typed in his correct address in the shopping cart, when he clicked submit payment in paypal, paypal didn't use the address he typed into the shopping cart, but the address on file via paypal. Which lead to problems since I was copying and pasting information from paypal into the USPS Click-n-Ship (so his order went to the wrong address).

Is there a way to pass the address information that they type into an OpenCart shopping cart along to paypal so that it will use that information in paypal automatically. Or is that something that paypal will not allow?

Thanks!

New member

Posts

Joined
Tue Aug 17, 2010 12:12 pm

Post by Qphoria » Fri Sep 10, 2010 3:00 am

Yes. Try this:

1. EDIT: catalog/controller/payment/pp_standard.php

2. FIND:

Code: Select all

$this->data['fields']['rm'] = '2';
3. AFTER, ADD:

Code: Select all

$this->data['fields']['address_override'] = '1';

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 100 guests