Welcome
Sign in to start your session
Login
Login
[app info]
Brief app info: ENV: [DEV] commitId: 591b67064f14e76d25bd560ee96596f60f85b480 branch: develop build date: 2026-08-31T16:13:08Z build version: 2026.08.06.1-SNAPSHOT commit message: #38287 Do not grant the rescue cashback after a payout An instant claimable (rescue) cashback was granted no matter what the player did with the money: neither the game-round producer nor the granting processor looked at payouts. That is not only a rule violation but a payout exploit - a PENDED withdrawal debits the real balance immediately, so the withdrawal itself is what pushes the player under the balance threshold. Deposit 100 BRL, withdraw 90, and the next settled round pays 20% of 100. The bonus is now not created at all when a payout exists after the last deposit taken into account: COMPLETE, PENDED or CONFIRM, refund = false, and not linked to a compensating transaction. Cancelled payouts therefore do not disqualify the player - the platform never changes their state, it only links them to the refund transaction, so cancelled_transaction_id is the discriminator. The state triple is the one calculateCompleteProfitByCurrency already treats as "the money is out". The check sits in the granting processor behind the reward conditions, not in the game-round producer: the producer runs for every player on every settled round, while the branch guarded here is the rare one that was about to pay out. With no bonus row there is nothing to notify about, so the inbox message and the wheel stay away on their own. The qualifying deposit is the last of the counted ones. Today it is also the first and only one, because the DEPOSIT_COUNT condition requires an exact count, but MAX(registration_date) keeps the rule correct if a promo is ever configured for more than one deposit. A payout made after the bonus was already granted is deliberately out of scope: in the reported flow the payout precedes the trigger. UPTIME: 0d 11h 53m 46s Git log: f6fcb... | 2026-08-31T15:34:02+03:00 | Rodion | #38307 Add the currency symbol to the claimable... 73c60... | 2026-08-31T14:17:04+03:00 | Rodion | #38177 Name the reward details-input children p... 17f18... | 2026-08-31T10:24:33Z | Vladyslav Ma... | Merge branch '38195_3' into 'develop' c1e97... | 2026-08-31T10:24:33Z | Vladyslav Ma... | #38195 #3 Fix duplicated reward inputs when the... fbfe1... | 2026-08-28T14:54:38+03:00 | Rodion | #38195 Drop the reward details input left behin... 1c1e5... | 2026-08-27T19:19:51+03:00 | Rodion | #38233 Tolerate unknown fields when deserializi... b4df8... | 2026-08-27T18:51:55+03:00 | Rodion | #38293 Self-initialize the type discriminator i... 25d88... | 2026-08-27T16:50:57+03:00 | Rodion | #38233 Add uiPresentationType to the claimable ... 17070... | 2026-08-27T16:56:11+03:00 | ostas | #38232 Trigger the rescue cashback when the rou... d2d03... | 2026-08-27T11:13:31+03:00 | ostas | #38277 Map the CONFIRM transaction state so the...
copy to clipboard