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 - WC Checkout page adjustment with EC address setting. #796

angelleye opened this Issue Jul 4, 2017 · 0 comments


None yet
2 participants

angelleye commented Jul 4, 2017

In our Express Checkout settings we have the option to "Set billing address in WooCommerce using the address returned by PayPal." This is intended for use with Express Checkout Shortcut, where the WC checkout page is skipped, and we would not have any actual "billing" details since PayPal only returns a shipping address.

When the WC checkout page is used this option is causing a conflict right now. If I have it enabled it's replacing the billing address with the PayPal shipping address (as technically expected) but this is not logically correct because the WC checkout page had an actual billing address entered and that address should be kept.

For example, I ran a test order with Smith LLC as the company name for billing, and Doe LLC as the company name for shipping on the WC checkout page. When the order completes, the WC order details shows Doe LLC (and the full shipping address) for billing even though a separate billing address was entered during checkout.

So....what we need to do is ignore our option to set billing to the same as shipping in cases where the WC checkout page is used, and instead go ahead and use the billing info as entered by the user on the WC checkout page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment