diff --git a/src/customer/utils.py b/src/customer/utils.py index e477181..1bcca3c 100644 --- a/src/customer/utils.py +++ b/src/customer/utils.py @@ -162,7 +162,7 @@ def get_display_message_for_bonus(day_count): def create_bonus_license(lic): - if check_confirm_bonus_to_user(lic.company.get_first_user()) and lic.term >= 12: + if check_confirm_bonus_to_user(lic.company.get_first_user()) != -1 and lic.term >= 12: bonus_term = 0 if lic.term == 12: bonus_term = 2 diff --git a/templates/robokassa/error.html b/templates/robokassa/error.html index f56f09d..740aeea 100644 --- a/templates/robokassa/error.html +++ b/templates/robokassa/error.html @@ -4,8 +4,7 @@ {% block content %}
-

Возникли проблемы с оплатой

-

Что-то пошло не так и оплатить лицензию не получилось :(

+

Ошибка при оплате

Ссылку на оплату, историю всех расчётов и купленных лицензий всегда можно найти на странице Лицензии и расчёты.