Configuration
Resrv keeps its configuration in two places:
- CP-managed settings: business information, the reservation engine, checkout, emails and currency. You edit these under Resrv → Settings in the Control Panel. Statamic saves them to
resources/addons/statamic-resrv.yaml, which you should commit to version control. - Developer keys: the payment gateways and Stripe credentials, in the publishable
config/resrv-config.phpfile.
At boot, Resrv merges the blueprint defaults, then config/resrv-config.php, then your CP-saved values into a single resrv-config.* config. The Control Panel value always wins over the same key in the config file.
Settings reference
Resrv → Settings has five tabs: General, Engine, Checkout, Emails and Currency.
General
Business information used in the reservation emails.
| Field | Default | Description |
|---|---|---|
| Business name | Resrv |
Your business name. |
| Business address | Somestreet 8 |
Street address. |
| ZIP & City | 00000 City |
ZIP code and city. |
| Country | Greece |
Country. |
| Phone | +30 0000 000000 |
Contact phone. |
[email protected] |
Contact email. | |
| Logo | (empty) | Leave empty to use your business name, or enter an absolute URL (including https://) to an image. |
Engine
| Field | Default | Description |
|---|---|---|
| Enable time | false |
Require a pick-up and drop-off time for each reservation. Not yet implemented in the frontend. |
| Enable affiliates | true |
Enables the affiliate system and the Affiliates nav item. |
| Enable cutoff rules | false |
Enables per-entry cutoff times based on starting times and schedules. |
| Enable activity log | false |
Records availability and reservation status changes in the Activity Log, and shows the Activity Log nav item. |
| Minimum days before | 0 |
Minimum days between today and the reservation start date. Use it to block last-minute bookings. |
| Minimum reservation period (in days) | 1 |
Minimum length of a reservation. |
| Maximum reservation period (in days) | 30 |
Maximum length of a reservation. |
| Free cancellation (in days) | 0 |
How many days before the start date the customer can cancel. Sets the cancellation label and allows self-service cancellation from the Reservation Status page. 0 means there’s no cancellation window. |
| Require full payment if free cancellation has passed | false |
Charge the full amount if the free cancellation window has already passed at booking time. |
| Maximum quantity | 8 |
Maximum quantity in one reservation. |
| Ignore quantity for prices | false |
Track quantity without multiplying the price by it (for example, seats at a restaurant). |
| Calculate days using time | false |
With Enable time, charge an extra day when the return time is after the start time. Not yet implemented in the frontend. |
| Decrease availability for extra time | false |
Block the final day’s availability when the return time is after the start time. |
| Admin email | (empty) | Comma-separated emails notified about new reservations and refunds. Leave empty to turn off admin notifications. |
Checkout
See Checkout for the full checkout flow.
| Field | Default | Description |
|---|---|---|
| Default checkout form | (none) | Used when no entry or collection mapping matches. Required. |
| Collection checkout form mappings | (none) | Each row maps a Collection (handle, for example pages) to a Form. |
| Entry checkout form mappings | (none) | Map specific entries to forms. Entry mappings take precedence over collection mappings. |
| Checkout Entry | (none) | The entry that loads the Livewire checkout component. Required. |
| Checkout Redirect Entry | (none) | The checkout complete page with the resrv_checkout_redirect tag. Required. |
| Payment type | full |
What the customer pays online (see below). |
| Fixed amount | 50 |
Shown only when Payment type is Charge a fixed amount. |
| Percentage | 20 |
Percentage of the base price. Shown only when Payment type is Charge a percentage of the base price. |
| Minutes to hold | 10 |
How long availability is blocked when a customer starts checkout, to prevent double bookings. |
Payment type options:
| Value | Charges |
|---|---|
full |
The whole reservation amount. |
everything |
The whole amount plus any options and extras. |
fixed |
A fixed amount. |
percent |
A percentage of the base price. |
Checkout form mappings
Resrv picks the checkout form in this order:
- Entry mapping: a form mapped to that entry.
- Collection mapping: a form mapped to the entry’s collection.
- Default checkout form.
Manual reservations
These settings control how customers pay for reservations you create in the Control Panel. There’s no switch to turn the feature on. The Offline Payment Instructions also reach website bookings made with an offline method.
| Field | Default | Description |
|---|---|---|
| Payment Page Entry | (none) | The entry that loads the reservation-payment Livewire component, opened from the payment request email. It must be published, not private, and have a URL. Without it, only offline payment methods work for manual reservations. |
| Offline Payment Instructions | (empty) | Instructions for offline payment methods, such as your bank details. Shown as plain text at checkout, in the payment request email, and on the payment page of manual reservations. If empty, the checkout shows no instructions, and the payment request email and payment page tell customers to arrange payment with you and quote their booking reference. |

See Payment page for how to build the entry. Manual reservations also need a cache store with lock support and, if you use payment deadlines, the lapsed-hold sweep. Both are covered below.
Scheduling the lapsed-hold sweep
A manual reservation with Hold for a limited time switched on gets a payment deadline. Once it passes, the payment link stops taking payments, but the reservation is only cancelled when the resrv:cancel-lapsed-holds command runs. Resrv doesn’t schedule it for you, so add it to your app’s routes/console.php:
use Illuminate\Support\Facades\Schedule;
Schedule::command('resrv:cancel-lapsed-holds')->everyFifteenMinutes()->withoutOverlapping();
Each run cancels the lapsed holds, releases their availability and emails the customer and your admins (see Emails and The lapsed-hold sweep). Every fifteen minutes is only a suggestion. A longer interval just delays the cancellation and the emails.
A manual reservation without a hold is never cancelled automatically. You mark it as paid or cancel it yourself.
To see how many holds would be cancelled without changing anything, run:
php please resrv:cancel-lapsed-holds --dry-run
Cache store with lock support
Checkout and the payment page use Laravel’s atomic cache locks (Cache::lock()) so two payment attempts for the same reservation can’t create two charges. Your cache store must support locks. file, database, redis, memcached, dynamodb and array do, apc doesn’t. Without locks, every online payment on the payment page fails and the customer sees “We could not start the payment process. Please try again or contact us for assistance.” From v6.6.0, every checkout fails too, because checkout locks the booking from its first step.
If you run more than one app server, use a shared store (redis, database or memcached).
The Create reservation page also uses a lock when your store supports one, so a double-clicked submit can’t book twice.
Emails
This tab sets the recipients, sender, subject and template for each email event, with optional overrides per checkout form. It also turns on abandoned reservation emails. See Emails for the details.
| Field | Default | Description |
|---|---|---|
| Enable abandoned reservation emails | false |
The resrv:send-abandoned-emails command sends recovery emails to customers with expired reservations. |
| Delay (in days) | 1 |
Days after a reservation expires before the email goes out (1 = next day). |
Currency
| Field | Default | Description |
|---|---|---|
| Currency name | Euro |
Display name. |
| Currency ISO code | EUR |
ISO code. |
| Currency symbol | € |
Symbol shown in prices. |
| Currency delimiter | , |
Thousands/decimal delimiter. |
Developer config
These keys live in config/resrv-config.php. Publish the file with:
php artisan vendor:publish --tag=resrv-config
| Key | Description |
|---|---|
payment_gateway |
The single payment gateway class. Defaults to StripePaymentGateway. See Payment gateways. |
payment_gateways |
Optional array of gateways the customer can choose from at checkout. See Payment gateways. |
stripe_secret_key |
Stripe secret key (RESRV_STRIPE_SECRET env). See Stripe. |
stripe_publishable_key |
Stripe publishable key (RESRV_STRIPE_PUBLISHABLE env). |
stripe_webhook_secret |
Stripe webhook signing secret (RESRV_STRIPE_WEBHOOK_SECRET env). |
Keep only these keys in the file. A CP-managed key defined here is ignored once the Control Panel has a value for it.
Migrating from a published config
If you’re upgrading from v5, move your CP-managed settings from config/resrv-config.php into the Control Panel with:
php please resrv:settings:migrate
Add --dry-run to preview the changes without saving anything:
php please resrv:settings:migrate --dry-run
The command:
- Copies the CP-managed keys from your config into the Control Panel. It skips any key that already has a CP value, is
null, or matches the blueprint default. - Reports conflicts where the file and the Control Panel disagree. The CP value stays active.
- Lists keys you can delete from
config/resrv-config.php: the CP-managed keys and the keys removed in v6. - Reminds you which developer keys to keep.
Resrv runs this migration once, automatically, when you upgrade to 6.0.0. Use the command to run it again, to preview with --dry-run, or if the automatic step didn’t run.
Removed in v6
These v5 keys no longer do anything. resrv:settings:migrate reports them as stale:
enable_advanced_availability: replaced by the collection-scoped Rates system.enable_connected_availabilities: removed. Use Rates instead.form_name: replaced by the checkout form mappings.
These nested keys are no longer read. The migrator moves their values into the Control Panel and reports both keys as safe to delete:
checkout_forms: thedefault/collections/entriesmappings, now in Resrv → Settings → Checkout.reservation_emails: theglobal/formsemail settings, now in Resrv → Settings → Emails.