Page 1 of 1
PayPal Website Payment Pro Shipping Info Not Passed
Posted: Wed Jul 28, 2010 4:52 am
by netpox
I installed PayPal website payment pro and it works but it doesnt collect the shipping information from my customers. When i go to paypal it shows the payment, but the shipping information is not available. I would like to print my labels right from paypal.
Re: PayPal Website Payment Pro Shipping Info Not Passed
Posted: Thu Jan 06, 2011 3:40 am
by jel
I'm having this same problem has anyone been successful in getting this to work?
Re: PayPal Website Payment Pro Shipping Info Not Passed
Posted: Mon Jan 10, 2011 4:04 pm
by jel
bump. I think this is just a matter of sending the correct vars over but it's not working for me
Re: PayPal Website Payment Pro Shipping Info Not Passed
Posted: Thu Jan 20, 2011 6:27 pm
by jel
bump, noone uses PayPal to print shipping labels? I'd think others would be having this issue.
Re: PayPal Website Payment Pro Shipping Info Not Passed
Posted: Sun Jan 30, 2011 6:29 am
by jbenalluch
I seem to have fixed this issue by using the following document:
https://www.x.com/docs/DOC-1367#id0864F ... 864H804030
I added the following to catalog/controller/payment/pp_pro.php:
Code: Select all
// After line 140
'COUNTRYCODE' => $order_info['payment_iso_code_2'],
// added code
'SHIPTONAME' => $order_info['payment_firstname']." ".$order_info['payment_lastname'],
'SHIPTOSTREET' => $order_info['payment_address_1'],
'SHIPTOCITY' => $order_info['payment_city'],
'SHIPTOSTATE' => ($order_info['payment_iso_code_2'] != 'US') ? $order_info['payment_zone'] : $order_info['payment_zone_code'],
'SHIPTOZIP' => $order_info['payment_postcode'],
'SHIPTOCOUNTRYCODE' => $order_info['payment_iso_code_2'],
// end
'CURRENCYCODE' => $order_info['currency']
Hope this helps.
It seemed to haved worked for me as far as getting the shipping info to Paypal Website Payments Pro.
Re: PayPal Website Payment Pro Shipping Info Not Passed
Posted: Tue Feb 01, 2011 8:11 am
by tampadesign
I could have sworn I had some posts in this thread. Must have been deleted by the mods?
Anyway, thanks jben, this is the same thing I found out after going through the API docs. You beat me to it.

Re: PayPal Website Payment Pro Shipping Info Not Passed
Posted: Wed Jun 15, 2011 1:44 am
by petloverof5
I'm using version 1.5.0.4. What line do you insert this code after on that one? Also, does this send them to the Paypal site to finish checking out?
Re: PayPal Website Payment Pro Shipping Info Not Passed
Posted: Thu Aug 11, 2011 12:15 pm
by aronx69
Might want to use the 'shipping_' vars instead of 'payment_' vars for the shipto variables...
Code: Select all
// added code
'SHIPTONAME' => $order_info['shipping_firstname']." ".$order_info['shipping_lastname'],
'SHIPTOSTREET' => $order_info['shipping_address_1']." ".$order_info['shipping_address_2'],
'SHIPTOCITY' => $order_info['shipping_city'],
'SHIPTOSTATE' => ($order_info['shipping_iso_code_2'] != 'US') ? $order_info['shipping_zone'] : $order_info['shipping_zone_code'],
'SHIPTOZIP' => $order_info['shipping_postcode'],
'SHIPTOCOUNTRYCODE' => $order_info['shipping_iso_code_2'],
// end
Re: PayPal Website Payment Pro Shipping Info Not Passed
Posted: Sun Mar 04, 2012 7:20 am
by ariel
Does anyone know if this change has been implemented in version 1.5.2?
Re: PayPal Website Payment Pro Shipping Info Not Passed
Posted: Tue Apr 30, 2013 8:22 pm
by simplepages
i got this issue on OC 1.5.4 with PayPal standard, on paypal page only shown sub-total not total price with shipping cost.
tried many way still no luck.
anyone can help me please
Re: PayPal Website Payment Pro Shipping Info Not Passed
Posted: Fri May 03, 2013 3:43 am
by PlugGuy
If someone could just post up some examples of line code for SHIPPINGAMT, TAXAMT and DESC I think most of us could run with it.
I've posted about this before:
http://forum.opencart.com/viewtopic.php?f=113&t=98969
Yet even some of the developers I reached out to never came through. Still waiting.
This can't be that hard to do. What sucks is PayPal also has it up their sleeves but won't release code - the x.com site is BS and shows just text and a few descriptions, but no actual code.
If there are any extension/mod developers out there who seriously want to enhance this, please contact me or write it, post it, and we'll be buying!
Hope someone can come through. We spend a ridiculous amount of time on this every week because the API call lacks these items.
Bummed.