Skip to content

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 requested a review from otarza April 2, 2024 12:24
@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