Files
remnawave-bedolaga-telegram…/app/database/crud
Fringg 1522d35f2d fix: gift purchases no longer inflate promo group level
Two bugs caused max promo group assignment on gift send/activate:

1. Buyer: GIFT_PAYMENT was counted in get_user_total_spent_kopeks
   alongside SUBSCRIPTION_PAYMENT. Now only SUBSCRIPTION_PAYMENT
   counts as personal spending for promo group auto-assignment.

2. Recipient: fulfill_purchase and activate_purchase created a
   SUBSCRIPTION_PAYMENT transaction for the recipient with the full
   gift price. Now skipped for gift recipients — they didn't pay.
2026-04-24 16:43:32 +03:00
..
2026-03-23 16:08:10 +03:00
2026-02-25 06:34:22 +03:00
2026-03-10 14:50:26 +05:00
2026-03-18 01:59:12 +03:00
2026-04-22 05:29:51 +03:00