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.
Last edited by i2Paq on Thu Jan 06, 2011 4:02 pm, edited 1 time in total.
Reason: Topic moved
Reason: Topic moved
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:
Hope this helps.
It seemed to haved worked for me as far as getting the shipping info to Paypal Website Payments Pro.
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']
It seemed to haved worked for me as far as getting the shipping info to Paypal Website Payments Pro.
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.
Anyway, thanks jben, this is the same thing I found out after going through the API docs. You beat me to it.

Freelance Web Designer & Developer
tampadesign.net
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?
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
If you love your dog, you'll get them an awesome dog bandana (or two) @ BITE Bandanas.
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
tried many way still no luck.
anyone can help me please
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.
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.
Chief Plug Guy
BumperPlugs.com
Who is online
Users browsing this forum: No registered users and 4 guests