-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
shipping and billing address ids not set on sales_invoice table for paypal express invoices #6438
Comments
It would appear that at the point of saving the invoice, there is no shipping or billing address available on the order itself, so it may be the order in which these things are being placed. |
As I don't want to dive in and work out the ordering of saving orders and invoices, for now I've added an observer to copy address information from the order to the invoice. Here are the important files from our Magento2fix module: |
Hi @maderlock! Thank you for reporting, we've created internal ticket MAGETWO-58136 to fix it. |
…rder placed with payment action Sale #6438
…rder placed with payment action Sale #6438
Bug MAGETWO-56699 [GITHUB] Paypal checkout not possible with products that have custom options #5938 - for mainline MAGETWO-58290 [Github]Empty product option is added on each PUT request #5963 MAGETWO-58136 [Github] Shipping and billing address are not set if order placed with payment action Sale #6438 MAGETWO-55608 [GITHUB] M2.1: Not scrollable picture on mobile / product page #5302 MAGETWO-58285 Ajax error message doesn't display in backend MAGETWO-58338 [Github]Problem adding attribute options that start with a number via REST Api #5715 MAGETWO-52575 Unable to apply free shipping to specified method when creating order in admin MAGETWO-57078 [GITHUB] Can't set customer group when creating a new order in the admin. #6162 MAGETWO-58039 Table rate shipping not applying correctly - for mainline
MAGETWO-58136 is delivered to develop branch. Closing the issue. |
@SerhiyShkolyarenko What version of Magento is this in or is going to be in? |
Preconditions
Steps to reproduce
Expected result
Actual result
Looking at the order address details, this information exists. So this is not an issue with the data not being retrieved from PayPal. I can see from the sales_invoice table, however, that the billing_address_id and shipping_address_id are null for PayPal Express orders.
The text was updated successfully, but these errors were encountered: