Seems the customer shipping information is getting stripped once payment has been made via paypal EC.

So if customer fills in their billing and shipping info on my site then proceeds to paypal to make the payment the shipping info they inputted on my site shows up inside paypal and is correct then once the payment is complete and they are sent back to my site with the order complete screen the shipping first name and last name is blank as is the shipping state. Also when I look at the order in the admin section these same fields are blank, I can't see the information they originally inputted on my site.

All the other fields are there and are the correct fields they inputted on my site.

Even if they do express checkout from cart and input all details in paypal the first name, last name and state are not transferred back into drupal. This information is shown correctly in the paypal payment notification email but would be nice if it was also in drupal.

I am using default commerce kickstart install.

Comments

rszrama’s picture

Status: Active » Closed (duplicate)

This is an issue with Address Field itself, and I believe it has to do with full name vs. first and last name being used in an address field. Are you sure it is the shipping info being lost and not the billing name? That's what the issue has been before, and it only happened after an order was updated after order processing.

adster13’s picture

Thanks for the tip Ryan! You are correct, changing the customer profile from first name and last name to full name fixed the issue. Also for the state field (which I was testing using Australian states) I believe it was happening as the state in paypal was showing as 'Vic' and in drupal it is represented as 'VIC', so I edited the commerce_paypal_ec.module file and did strtoupper on the SHIPTOSTATE field and it appears to have fixed that problem.