Skip to content

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.

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