The applyRefundAllocations
pipeline chain applies the RefundMethod
allocations. The pipeline chain’s transaction mode is TX_REQUIRED.
The following section describes the processor in the pipeline chain.
validateRefundTotalOnApply
This processor validates that the refund total is greater than 0.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
validateRefundMethodAllocationsOnApply
This processor validates that the current refund is greater than 0 and that the RefundMethod
allocations equal the refund amount and do not exceed the maximum amount allotted for each RefundMethod
.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
updateStoreCreditAllocations
This processor updates the refund store credits based on their RefundMethod allocations.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None, this is the last link in the chain and will cause the |