The completeRemoveOrder chain is executed when called by the updateShippingGroup chain.
The following sections describe each processor in the pipeline chain.
creditOrder
Iterates through the payment groups in the order, and checks to see if each state is SETTLED. If it is, it calls the credit method of the PaymentGroupManager with that payment group, then sets the status of the payment group to INITIAL. If the payment group is not SETTLED, it checks to see if the payment group represents a gift certificate, and if so, calls the expireGiftCertificateAuthorization method of the PaymentGroupManager to credit the gift certificate.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes the |
creditPayment
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes the |
finishRemoveOrder
Iterates through all commerce items and payment groups contained in the order, and sets their states to REMOVED. Also sets the order’s state to REMOVED.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and causes the |

