Salesforce B2C Commerce 23.5 > B2C Commerce API > B2C Commerce Pipelets > Order (deprecated)
Pipelet FailOrder
Deprecated. Please use dw.order.OrderMgr#failOrder(dw.order.Order, boolean) instead.

This pipelet fails an unplaced order if payment could not be authorized. The specified Order must be in status CREATED, and will be set to status FAILED.

Inventory transactions and coupon redemptions associated with the Order will be rolled back.

If the order is failed in the same session in which it was created, the basket will be reopened such that it can be used for a subsequent order.

The pipelet can be called within or outside of a storefront session, for example in a job pipeline.

Deprecated:
Deprecated. Please use dw.order.OrderMgr#failOrder(dw.order.Order, boolean) instead.
Group:
Order (deprecated)
Flags:
Error Connector
Transaction Required
Input Parameters
Order  :  Order (Optional)
An Order in status CREATED.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.