Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Express Checkout - Company name left out..?? #792

Closed
angelleye opened this issue Jun 30, 2017 · 2 comments
Closed

Express Checkout - Company name left out..?? #792

angelleye opened this issue Jun 30, 2017 · 2 comments
Assignees
Milestone

Comments

@angelleye
Copy link
Collaborator

where we use your module (PayPal Express for WooCommerce, Version 1.4.5), there occurred a nasty problem:
As soon as paypal express is selected (without a different shipping address!) the company name gets somehow lost: in the order/receipt the shipping address is only shown as first and last name, but no company name at all (I put it in for sure ;)).
Thus parcels to companies can't be delivered, as only the name of the person is shown...
As soon as I select another payment method, the problem does not occur.
Do you have a solution for that?
Thanks a lot in advance and kind regards,

@angelleye angelleye added this to the 1.4.5.1 milestone Jun 30, 2017
@angelleye
Copy link
Collaborator Author

Screenshot of company name showing up in the billing side but being left out of the shipping side:

image

@angelleye
Copy link
Collaborator Author

Checking their request log I see that ADDROVERRIDE was used, so the WC checkout page must have been used, and SetExpressCheckout does include address data, but there is no ship to company.

Looking at the documentation for PayPal, I actually don't see a SHIPTOCOMPANY or anything like that. As such, we may need to check if the WC shipping company name field is filled in, and if so, we should append it to the SHIPTONAME. For example, mine would end up like "Angell EYE, LLC - Andrew Angell" as the SHIPTONAME.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant