The settleReturn
pipeline chain settles a return by issuing credits and submitting replacement orders to fulfillment. The pipeline chain’s transaction mode is TX_REQUIRED.
The following section describes the processor in the pipeline chain.
settleCredits
This processor credits the appropriate payment groups and assigns refund store credits to the user’s profile.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
submitReplacementOrder
This processor submits the replacement order to fulfillment.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
markAsProcessed
This processor marks the return as settled, preventing it from any further settlement.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
sendReturnCompletedEvent
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None, this is the last link in the chain and will cause the |