When a customer changes their shipping address within my zencart to mail to an address other than their own ....
the amended address does not appear on the invoice when they use Paypal as a payment option. It appears to put their customer address in the shipping address. (Nochex works correctly).
I turned my Paypal log on and passed a live transaction through and the amended shipping address wasnt showing anywhere in the log.
I found a choice of 2 fixes on this help site and have now applied both of these (overkill). One fix was to set a line in includes/modules/payment/paypal.php to 'no_shipping' => 2 and comment out 'no_shipping' => module_payment_paypal_address_required,
Now the amended shipping address is appearing on the log ... but it is only appearing in the part of the log headed get_OverrideAddress - 2 and is filling fields that are prefixed ENTRY_firstname etc I was expecting the shipping info to be filled ?!!.
In my live test I logged on to my own zen cart account and used my partners paypal account and added a Danish buyers address
to my address book as the shipping address and called this person Eva Blogs.
All 3 addresses are in my address book and Ive noticed that they are assigned id numbers within the coding.
In another part of my paypal log there is these lines of log ....
I know that the Eva Blogs address is id number 1413 and this is where my parcel is to be sent to and at the bottom of this log it shows [sendto] as 1413 and the [billto] is correct as my parters id is 3705. So at the beginning the log seems to know what the customer, billing and shipping addresses are. But by the end of the logs the shipping address has changed so the parcel is being shipped to me. Also in my partners Paypal account screen the "post to" addresses do not include Eva's address.
[customer_id] => 1 (my id)
[customer_default_address_id] => 1
[customers_authorization] => 0
[customer_first_name] => Susan
[customer_country_id] => 222
[customer_zone_id] => 213
[messageToStack] =>
[new_products_id_in_cart] =>
[valid_to_checkout] => 1
[cart_errors] =>
[cart_address_id] => 1413
[cart_sid] => rm2ndpacket_rm2ndpacket
[total_weight] => 0.36
[total_count] => 1
[order_number_created] => 2490
[sendto] => 1413 (Eva Blogs id , Denmark)
[payment] => paypalwpp
[billto] => 3705 (My Parners id)
Please can I have some help to get my shipping address to be passed to Paypal correctly and to appear on the invoice.



