Deposit Abandon Modal
The Deposit Abandon Modal appears when a user tries to close the cashier before completing a deposit. It invites them to finish their deposit, either with a bonus you pass to the cashier or with a generic message set in the Back Office.
Availability
Section titled “Availability”Works with the Fluid Cashier only. It is not shown in Quick Deposit.
When the modal is shown
Section titled “When the modal is shown”- When the user tries to close the cashier on any deposit step before the payment starts.
- Once per browser session.
- Clicking outside the modal closes the cashier, like the modal’s close button.
What the modal shows
Section titled “What the modal shows”| Situation | Modal content |
|---|---|
A bonus with an abandon variant is passed to the cashier |
That bonus is offered, whether the Back Office toggle is on or off |
| No abandon bonus, toggle on | The generic content from the Deposit Abandon Modal section of the Content tab |
| No abandon bonus, toggle off | No modal |
Offering a bonus when the user leaves
Section titled “Offering a bonus when the user leaves”Set variant on a bonus in the Bonus Data to offer it in the modal:
variant |
Where the bonus is offered |
|---|---|
| Not set | In the deposit flow only |
"abandon" |
In the modal only |
"regularAndAbandon" |
In the deposit flow and in the modal |
const bonusData = [{ "code": "StayBonus", "title": "50 Free Spins", "description": "Complete your first deposit today", "logoUrl": "https://<operator-site>.com/assets/img/rewards/bonus-img/stay-bonus.png", "variant": "abandon"}];- Only the first bonus with either variant is offered in the modal.
- Before the user picks a payment method, the bonus is offered if any of their payment methods supports it, and claiming it switches to one that does. Once the user has picked a method, the bonus is offered only if that method supports it. See Payment method filter.
- When the user claims the bonus, it is selected and the user stays where they were in the deposit flow. If the amount is outside the bonus
minDeposit/maxDepositrange, it moves to the nearest limit. - A bonus whose deposit range can’t fit the payment method limits is not offered.
selectedhas no effect on an"abandon"bonus.- The bonus image can be square or rectangular.
Back Office configuration
Section titled “Back Office configuration”| Setting | Description |
|---|---|
| Enable Deposit Abandon Modal | Shows the generic modal content when no abandon bonus is passed. Off by default. It doesn’t affect bonuses with an abandon variant, which are always offered |
| Deposit Abandon Modal (Content tab) | The generic content shown in the modal |