Here's what I get after an EC: http://share.aidanlister.com/Pspr

- State value is missing
- "Address 2" should be blank, and the City should be "Suburb". (For AU addresses).

I'm guessing this needs a per-country solution :(

Comments

aidanlis’s picture

Here's a patch which adds another option to EC to prevent PayPal from touching the existing billing and shipping profile. Even if you have "Do not request an shipping information" checked, EC still updates the users profiles with information from the EC. This patches allows you to disable that.

rszrama’s picture

Title: PayPal doesn't transfer shipping details properly » Add options to determine whether or not EC updates billing / shipping profiles
Category: bug » feature
Status: Active » Fixed

It would be useful context to see the payload you get back from PayPal to know why things are being mapped the way they are. Even though you're in a different country, I wouldn't expect the mappings to be so off, and I'm not sure if PayPal's to blame or the Addressfield module.

In any event, your suggestion is solid and mimics what we did for creating billing profiles when a WPS IPN comes in, so I've added it. I did break it apart into two different settings, though, and they default to be enabled so you'll need to update your configuration to disable them.

Commit: http://drupalcode.org/project/commerce_paypal.git/commitdiff/1c50a81

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.