This pipeline chain, which is defined in Commerce, is executed when an exchange is confirmed. It prepares the replacement order for submission and includes the following processors:

Processor

Description

ExecuteValidateForCheckoutChain

Executes a Core Commerce pipeline that validates that the order is ready for checkout.

RemoveEmptyShippingGroups

Removes shipping groups without relationships.

RemoveEmptyPaymentGroups

Removes payment groups without relationships.

CreateImplicitRelationships

Creates relationships for orders that have a single shipping or payment group with no relationships.

SetPaymentGroupAmount

Sets the amount of the payment groups based of the group’s relationships.

AuthorizePayment

Authorizes payment groups in the order.

SetSalesChannel

Sets the sales channel of the replacement order based on the Commerce Service Center extra parameter. Identifies where the order was submit. The BaseFormHandler sets the sales channel extra parameter Map to its configured value. The ReturnFormHandler for Commerce Service Center will set the sales channel to contactCenter.

UpdateReplacementOrderStateOnConfirm

Updates the replacement order state to “pending customer return”.

AddOrderToRepository

Adds the replacement order to the repository.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices