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

Updated files to integrate authorizenet notifications #281

Open
wants to merge 2 commits into
base: open-release/lilac.master
Choose a base branch
from

Conversation

Ali-Salman29
Copy link

Description

Show payment processing notification after payment completion.

Useful information to include:

  • Cookie to Show notification first time only
  • Show notification

@Ali-Salman29 Ali-Salman29 self-assigned this Nov 2, 2021
response = render_to_response('dashboard.html', context)
if transaction_hash:
response.delete_cookie(
ECOMMERCE_TRANSACTION_COOKIE_NAME, domain='localhost')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove hard coded domain name.

@@ -490,6 +492,7 @@ def student_dashboard(request): # lint-amnesty, pylint: disable=too-many-statem
The dashboard response.

"""
ECOMMERCE_TRANSACTION_COOKIE_NAME = "pendingTransactionCourse"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we pleas move this constant to settings files (common and production).

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.

2 participants