Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENT-4095: Handle coupon expiration date scenario in LMS #27704

Merged
merged 2 commits into from
May 24, 2021

Conversation

sameenfatima78
Copy link
Member

Description

JIRA: https://openedx.atlassian.net/browse/ENT-4095

This PR handles coupon code expiration scenario in case of a course refund. The changes in this PR will make sure that a user does not receive an email with an expired voucher in case the coupon batch has already expired. Also, the message displayed on frontend is going to be different in both cases.

Voucher not expired:
Screenshot 2021-05-17 at 12 41 09 PM

Voucher expired:
Screenshot 2021-05-17 at 12 43 14 PM

Useful information to include:

  • Which edX user roles will this change impact? Common user roles are "Learner", "Course Author",
    "Developer", and "Operator".
  • Include screenshots for changes to the UI (ideally, both "before" and "after" screenshots, if applicable).
  • Provide links to the description of corresponding configuration changes. Remember to correctly annotate these
    changes.

Supporting information

Link to other information about the change, such as Jira issues, GitHub issues, or Discourse discussions.
Be sure to check they are publicly readable, or if not, repeat the information here.

Testing instructions

Please provide detailed step-by-step instructions for testing this change.

Deadline

"None" if there's no rush, or provide a specific date or event (and reason) if there is one.

Other information

Include anything else that will help reviewers and consumers understand the change.

  • Does this change depend on other changes elsewhere?
  • Any special concerns or limitations? For example: deprecations, migrations, security, or accessibility.

fixed some issues

fixed failing test cases and pylint failures

fixed failing refund signal tests

fixed pylint failures

added test cases and fixed some issues with code

fixed-failing-test

incorporated feedback

fixed typo in docstring
@edx-status-bot
Copy link

Your PR has finished running tests. There were no failures.

@sameenfatima78 sameenfatima78 merged commit 0be941b into master May 24, 2021
@sameenfatima78 sameenfatima78 deleted the sameen/ENT4095-try2 branch May 24, 2021 09:50
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR may have caused e2e tests to fail on Stage. If you're a member of the edX org, please visit #e2e-troubleshooting on Slack to help diagnose the cause of these failures. Otherwise, it is the reviewer's responsibility. E2E tests have failed. https://gocd.tools.edx.org/go/tab/pipeline/history/deploy_to_stage

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

blarghmatey pushed a commit to mitodl/edx-platform that referenced this pull request Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants