Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Stripe Stripe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 83
    • Issues 83
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • StripeStripe
  • Merge requests
  • !157

Added check to ensure apply button is clicked after entering a discount code

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged kartik1000 requested to merge kartik1000/stripe:apply-button-check into master May 17, 2021
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

A js check has been added to ensure that a coupon is applied using apply button before proceeding to the next page so that the amount processed by stripe extension and CiviCRM remains the same. This will require https://github.com/civicrm/org.civicrm.module.cividiscount/pull/263 to work as it uses the discount-applied attribute to check if the discount has been applied or not.

Edited May 23, 2021 by mattwire
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: apply-button-check