This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Checkout order and Order endpoints don't support extensions endpoint and aren't backward compatible. #11197
Labels
block: checkout
Issues related to the checkout block.
category: extensibility
Work involving adding or updating extensibility. Useful to combine with other scopes impacted.
focus: checkout
Issues related to the checkout flow
focus: rest api
Work impacting REST api routes.
status: stale
Stale issues and PRs have had no updates for 60 days.
team: Rubik
type: enhancement
The issue is a request for an enhancement.
Recently introduced Checkout Order and Orders don't contain extensions fields and/or are not compatible with existing extensions.
Checkout order
CheckoutSchema
class) but the key ischeckout-order
instead ofcheckout
. This means plugins relying on pushing data with checkout POST requests will not work as they're waiting atcheckout
key.Orders
Expected solutions
Orders
endpoint.checkout
, but only if nothing is registered incheckout-order
. This will probably require some tweaking from our ExtendSchema class.Orders
endpoint so that it uses whatever is inCart
.Developers can opt out of this fallback method by registering an empty response to
order
orcheckout-order
.The text was updated successfully, but these errors were encountered: