This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an endpoint for processing pay for order orders (#10287)
* Register order route * Check authorization for getting the order * Add order data to the response * Add order schema for the endpoint * Move validation check to order controller * Add order item schema * Check if the order is associated with current user * Fix after rebase * Add checkout order endpoint * Add order authorization trait * Allow to use the order update customer endpoint in dev build only * Get both customer and guest details * Remove duplicate function * Update the cart update customer class doc block * Remove duplicate order route * Update documentation for feature flags * Add checkout trait * Remove checkout trait * Update billing address and order * Only allow checkout pending orders * Create checout trait * Use sanitize text field * Extend from checkout schema * Update response message * Allow failed orders to be paid for * Update authorization error message
- Loading branch information
Showing
12 changed files
with
563 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.