Skip to content
Bug Barometer

ADHOC Coupon Line Items Created Wrongfully Marked Invalid Due To Incorrect Status.

Salesforce says this is fixed.

Summary

When utilizing the createCouponLineItem(couponCode : String) method of the LineItemCtnr class, the corresponding couponlineitem object is created without an associated campaign or promotion. This coupon is wrongfully marked as UNKNOWN as opposed to ADHOC. Because this coupon is marked as unknown, the promotion engine determines this coupon to be invalid, although the coupon remains applied because it was ADHOC applied to the basket. This will show as the coupon and discount appearing on the basket, but with invalid messaging.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed with 1 report

    Nov 30, 2026

Also open in B2C Commerce