The prepareReplacementOrder
pipeline chain performs pre-submission processes on the replacement order. The pipeline chain’s transaction mode is TX_REQUIRED.
The following section describes the processor in the pipeline chain.
validateReplacementOrder
This processor validates that the order is ready for checkout.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
removeEmptyShippingGroupsFromReplacementOrder
This processor removes empty shipping groups from the order.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
removeEmptyPaymentGroupsFromReplacementOrder
This processor removes empty payment groups from the order.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
createImplicitRelationshipsOnReplacementOrder
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
setPaymentGroupAmountOnReplacementOrder
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
authorizeReplacementOrderPayment
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
setSaleChannelOnReplacementOrder
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
updateReplacementOrderState
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
addReplacementOrderToRepository
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None, this is the last link in the chain and will cause the |