Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,374
    • Issues 1,374
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • CiviCRM Core
  • Issues
  • #1250

Closed
Open
Created Sep 13, 2019 by agileware_pengyi@agileware_pengyi

CiviDiscount override the amount regardless the number of terms for membership

Similar to #860 (closed) , the amount is overridden regardless of the terms. But the expired date is right.

Step to reproduce:

  • create a discount code for membership
  • create or renew membership with credit card
  • set the terms to two or more
  • submit and check the created contribution and membership

For example, the membership fee is $100 per term. We submit the form with 3 terms. The discount is 25% off.

Expected results:

  • contribution amount is adjusted correctly: 100 * 3 * 75% = 225
  • membership expired date matches the terms: 3 terms

Actual results:

  • contribution amount is one term price adjusted by the discount: 75
  • membership expired date matches the terms: 3 terms

Agileware ref: CIVICRM-1307

Edited Sep 13, 2019 by agileware_pengyi
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking