-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Missing Billing Address Error in Admin Dashboard When Creating Order via REST API with Only Payment Information #39651
Comments
Hi @bhushan-cs. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @bhushan-cs, Thanks for your reporting and collaboration. We have tried to reproduce the issue in Latest 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots. ![]() ![]() We are getting error when we open admin dashboard Hence Confirming the issue. Thanks. |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-14049 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Bravo. Thank you for verifying the issue. |
@magento I am working on this |
…Creating Order via REST API with Only Payment Information - added require for billing address in order repository save method
…Creating Order via REST API with Only Payment Information - fixed copyright
Preconditions and environment
Steps to reproduce
{ "entity": { "payment": { "method": "cashondelivery" } } }
Expected result
The API should return error with message "Please provide billing address for the order." and return a 400 status code.
Actual result
Error: Call to a member function getName() on null in /Users/bhushan/Sites/magento_test/vendor/magento/module-backend/Block/Dashboard/Orders/Grid.php:105
Stack trace.txt
{ "base_grand_total": null, "base_total_due": 0, "created_at": "2025-02-21 18:50:46", "customer_email": null, "entity_id": 4, "grand_total": null, "increment_id": "000000004", "protect_code": "5afbdfaa9f582fa84f271c2ff94452b3", "store_name": "Main Website\nMain Website Store\nDefault Store View", "total_due": 0, "total_item_count": 0, "updated_at": "2025-02-21 18:50:46", "items": [], "payment": { "account_status": null, "additional_information": [ null ], "cc_last4": null, "entity_id": 4, "method": "cashondelivery", "parent_id": 4 }, "status_histories": [] }
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: