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

Client property #11

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Client property #11

wants to merge 3 commits into from

Conversation

nickkipshidze
Copy link
Collaborator

@nickkipshidze nickkipshidze commented Apr 2, 2024

Changes made in views.py:

  • Check client query parameter in CheckPayzeSubscriptionStatusView
  • Set client query parameter in NewEnroll

Changes made in settings.py:

  • Add a PAYMENT_HOOK_CLIENTS variable
    PAYMENT_HOOK_CLIENTS = {
        "bitcamp.ge": "https://www.bitcamp.ge/dashboard?payment=success",
        "universiteti.ge": "https://www.universiteti.ge/dashboard?payment=success",
        "cs50x.ge": "https://www.cs50x.ge/dashboard?payment=success",
    }

✊🔥

@nickkipshidze nickkipshidze added the enhancement New feature or request label Apr 2, 2024
@nickkipshidze nickkipshidze self-assigned this Apr 2, 2024
@otarza
Copy link
Contributor

otarza commented Apr 16, 2024

@nickkipshidze we need to update urls:

PAYMENT_HOOK_CLIENTS = {
    "bitcamp.ge": "https://dashboard.bitcamp.ge/?payment=success",
    "universiteti.ge": "https://dashboard.universiteti.ge/?payment=success",
    "cs50x.ge": "https://dashboard.cs50x.ge/?payment=success",
}

@nickkipshidze
Copy link
Collaborator Author

Updated all URLs in settings.py. ✊✊🔥🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants