IBM Support

JR48776: CMVC 232914 - A promotion code is considered to be "used" before an order is actually placed.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • A promotion code should not be considered to be "used" until an
    order is actually placed using that code.  A registered shopper
    could create an order with a promotion code applied, and not
    check out.  The promotion code is now bound to that order.  If
    the shopper then creates another order from another computer or
    browser as a guest shopper, attempting to add the code to the
    new order will fail with an error message saying that the
    promotion code is not valid.  The promotion can now only be
    applied to the original guest shopper order.
    
     The promotion code should only be considered to be "used" when
    an order is successfully placed.
    

Local fix

Problem summary

  • USERS AFFECTED:
     WebSphere Commerce users on v7 who use unique promotion codes
    and would like codes to be released in the same way for
    Registered Shoppers and Guest Shoppers.
    
     PROBLEM ABSTRACT:
     A promotion code is considered to be "used" before an order is
    actually placed.
    
     BUSINESS IMPACT:
     Functionality working as expected will cause clients not to be
    able to offer promo as desired.
    
     RECOMMENDATION:
    

Problem conclusion

  • A new configuration option was added to the Promotion-FEP
    configuration for UniquePromotionCode configuration grouping in
    wc-admin-component.xml
    
     A corresponding modification in the
    AddPromotionCodeToOrderCOTaskCmdImpl class was made to change
    what order types could have their unique promotion codes
    released for.
    
     The new option looks like the following:
    
     <!-- Property to indicate which shopper type unique promotion
    codes can be released from.
         The accepted values are:
           1 - Guest Shoppers Only
           2 - Registered Shoppers Only
           3 - All Shoppers
      -->
       <_config:property name="ShopperTypeForUniqueCodeRelease"
    value="1"/>
    
     The default out of the box behavior is value="1", this will not
    change the behavior as it exists prior to this APAR.  All
    shoppers can "take" the promotion code from guest shoppers.
    
     value="2" allows shoppers to "take" codes from registered
    shoppers.
    
     value="3" allows shoppers to "take" promotion codes from any
    order that has not yet been placed.
    
    
     Note: In all options, the 'WaitingPeriodForUniqueCodeRelease'
    configuration option will still be checked before the code is
    released for a different shopper.
    
     -------------------------------------------------------------
     The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
     http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR48776

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function

  • Submitted date

    2013-12-10

  • Closed date

    2014-03-24

  • Last modified date

    2014-03-24

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
24 March 2014