IBM Support

Payment status for the Order moves to authorized status instead of AWAIT_AUTH status.

Troubleshooting


Problem

Attempt to run requestCollection API moves the order to authorized status when Header charges are used along with a Shipped item and Cash-Carry item in IBM Sterling Order Management.

Symptom

Steps to reproduce:

  1. Create an Order -
    <Order EnterpriseCode="DEFAULT" >
    <OrderLines>
          <OrderLine ItemGroupCode="PROD" OrderedQty="1" ShipNode="N1" SettledQuantity="0" DeliveryMethod="SHP">
              <Item ItemID="Iteam1" UnitOfMeasure="EACH" />
              <LinePriceInfo UnitPrice="4.40" />
              </OrderLine>
          <OrderLine ItemGroupCode="PROD" OrderedQty="1" ShipNode="N1" SettledQuantity="0" DeliveryMethod="CARRY">
              <Item ItemID="Iteam1" UnitOfMeasure="EACH" />
              <LinePriceInfo UnitPrice="66.54" />
              </OrderLine>
       <HeaderCharges>
           <HeaderCharge ChargeAmount="3.99" ChargeCategory="Shipping"/>    </HeaderCharges>
    </Order>


  2. call CapturePayment with similar input as below -
    <CapturePayment DocumentType="0001" EnterpriseCode="DEFAULT" OrderHeaderKey="2016010409445886743" ProceedOnZeroAmountFailure="N">    <AppContextInfo Channel="null"/>
       <PaymentMethods>
           <PaymentMethod Operation="Collect" PaymentReference1="201544434517"
              PaymentType="CREDIT_CARD" PaymentTypeGroup=""
             RequestedAmount="66.54" SecondaryAmount="8.39" >
           </PaymentMethod>
       </PaymentMethods>
    </CapturePayment>


  3. Confirm the draft order and run createOrderInvoice.

  4. Run requestCollection API.
    The order is AUTHORIZED with $0.00.
    The expectation is that the order should move to AWAIT_AUTH status.

Cause

The product encounters the problem of where to associate the header charges - for the carry line or for the ship line.

Resolving The Problem

Header charges cannot be passed in an order that has both CARRY and SHP lines. These charges can instead be passed as a line charge so that the charges can be associated with the relevant invoice

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"9.4;9.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21975156