Post by tdoggvw » Tue Apr 10, 2012 10:07 pm

Is there a way to have the customer information such as address, phone number to populate the paypal order form.
When a customer checks out and is sent to paypal I notice that the first/last name show up but the address information etc has to be reinput by the customer. Can this be populated with the data from OC?

Thanks all.

Newbie

Posts

Joined
Sun Apr 01, 2012 4:38 am

Post by chrisranjana.com » Wed Apr 11, 2012 12:38 am

In fact if you look at the code at /catalog/controller/payment/pp_standard.php

It already contains the code for passing the address values

Code: Select all

$this->data['address1'] = html_entity_decode($order_info['payment_address_1'], ENT_QUOTES, 'UTF-8');	
$this->data['address2'] = html_entity_decode($order_info['payment_address_2'], ENT_QUOTES, 'UTF-8');
as per the requirement

Chris, Opencart Developers and Programmers,
www.chrisranjana.com


User avatar
Active Member

Posts

Joined
Thu Feb 26, 2009 2:23 am
Location - chennai, India

Post by tdoggvw » Wed Apr 11, 2012 6:54 am

Hmm...I see all that code in my file...wonder why its not working.

Newbie

Posts

Joined
Sun Apr 01, 2012 4:38 am

Post by tdoggvw » Tue Apr 17, 2012 4:31 pm

The name of the customer is coming across...just not the address information. Not sure where to go from here.

Newbie

Posts

Joined
Sun Apr 01, 2012 4:38 am

Post by leandromello » Wed Jul 08, 2015 8:40 pm

I'm having this problem too.
I checked some diferences between the fields "names".
For example: in Paypal ZIP and in the OC is postcode.

How to solve this?

New member

Posts

Joined
Fri Oct 28, 2011 3:29 am
Who is online

Users browsing this forum: No registered users and 51 guests