Aborted Transactions When Using the Orders Adapter
When the Commerce Server 2009 R2 Orders send adapter sends a message to Commerce Server 2009 R2 to be processed in a Commerce Server 2009 R2 orders pipeline, the processing of that message can fail in several ways. If the pipeline fails with a warning error level of 2, the transaction will be aborted and the Orders adapter will return the purchase order/basket with an error code of either Basket_Errors or PurchaseOrder_Errors.
If the pipeline fails with an error level of 3 or more, the Orders System will end the transaction and throw an exception. The adapter will return a response message that has its context property CommerceServerCommandResults set to AcceptBasketXmlException. This response message will have the exception message in the message body.