Project

General

Profile

Edit Copy Actions

Support #10037

open

Feature #10034: Evergreen Anniversary Sale Coupon Management in POS & Service Subscription

Coupon Application in Checkout

Added by Yalavarthi Thriveni 5 days ago. Updated 5 days ago.

Status:
New
Priority:
High
Target version:
-
Start date:
07/30/2026
Due date:
% Done:

0%

Estimated time:

Description

Coupons must be supported in the following checkout flows:

POS Billing
Service Subscription Checkout

Customers can enter or select a valid coupon code during checkout. The system will validate the coupon through the common Coupon Validation API before applying any discount.

Discount Calculation Logic
9. Discount Calculation Order

The coupon discount must always be applied before tax calculation.
Calculation Sequence:

Calculate the cart/subscription subtotal.
Validate the coupon.
Apply the coupon discount (Fixed Amount or Percentage).
Calculate the discounted subtotal.
Apply applicable taxes on the discounted subtotal.
Calculate the final payable amount.

Formula

Final Payable Amount = (Subtotal − Coupon Discount) + Tax

Example 1 – Fixed Amount Coupon
Description Amount
Cart Total $100.00
Coupon Discount -$10.00
Discounted Subtotal $90.00
Tax (7%) $6.30
Final Payable Amount $96.30
Example 2 – Percentage Coupon
Description Amount
Cart Total $200.00
Coupon Discount (20%) -$40.00
Discounted Subtotal $160.00
Tax (7%) $11.20
Final Payable Amount $171.20
Business Rules
Coupons must be applicable in both POS Billing and Service Subscription Checkout.
Coupon validation must occur before payment processing.
Only one coupon may be applied per transaction (unless future business rules allow coupon stacking).
Coupon discounts must always be calculated before tax.
Tax must be calculated on the discounted subtotal only.
The discount amount must never exceed the subtotal amount.
The system must display the following values in the checkout summary:
Subtotal (Regular/Product Discount )
Coupon Code
Discount Amount
Discounted Subtotal
Tax Amount
Final Payable Amount
The applied coupon details and discount amount must be stored with the completed POS sale or Service Subscription transaction for future reporting, auditing, and refund calculations.


Add

Subtasks


Add

Related issues

Actions #1

Updated by Yalavarthi Thriveni 5 days ago

  • Parent task set to #10034
Edit Copy Actions

Also available in: Atom PDF