6.6.0
November 21st, 2026
Resrv v6.6.0 holds offline checkout bookings until they're paid, and stops the checkout from starting a second payment while the first can still be paid. Add-ons are now priced the same way in the results, the cart, checkout and the Control Panel. It also fixes payment, coupon and pricing bugs found in a code review.
⚠️ Read the upgrade guide before you deploy. This release has two migrations, and one of them drops the
payment_unresolvedcolumn. The checkout now needs a cache store that supports locks (notapc). If you use the PayPal add-on, update it to v1.1.1 in the same deploy. See Upgrading to v6.6.0.
Upgrading
-
Check that
CACHE_STOREin.envisn'tapc. The checkout now takes a cache lock for every booking, so onapcevery checkout fails. -
Back up your database. Then, before the site serves traffic:
#292D3E; --theme-selection-background: #00000080;">composer update reachweb/statamic-resrvphp artisan migrate2026_11_18_000000_add_payment_intent_amount_to_resrv_reservations_tableaddspayment_intent_amounttoresrv_reservations.2026_11_18_000001_add_payment_settlement_to_resrv_reservations_tableaddspayment_settlementtoresrv_reservations, fills it in for existing bookings and dropspayment_unresolved. Every booking reports the same amount received as before.
-
If you use PayPal, update the add-on to v1.1.1 or later:
composer update reachweb/resrv-payment-paypal. With v1.1.0, a customer who picks PayPal at checkout can't switch to another payment method. -
If you offer an offline method at checkout, such as bank transfer, read step 4 of the upgrade guide: those bookings now wait for Mark as paid, and
ReservationConfirmedfires then. -
Update custom code and gateways, and merge published views and translations. See steps 5 and 6.
What's new
- Offline bookings wait for their payment: a website booking made with an offline method now goes to Awaiting payment instead of Confirmed, with its dates held and no deadline, until you Mark as paid or Cancel reservation. The customer gets the payment request email with your Offline Payment Instructions, and the confirmation emails go out when you mark it as paid. A new Admin awaiting payment email tells your admins. Bookings confirmed before v6.6.0 stay Confirmed.
- Payment instructions at checkout: the offline payment step shows your Offline Payment Instructions.
- Awaiting-payment bookings on the status page: they show with an Awaiting payment badge and a note, without a cancel button. This includes reservations created in the Control Panel.
- Continuing a payment at checkout: a customer who comes back and pays with the same gateway and amount continues the payment they started.
- No second payment next to a live one: when a customer switches payment method or changes the amount, the checkout checks with the provider that the old payment is cancelled before it starts another. Before, a failed cancel was ignored and the customer could pay twice.
- Paid-twice alerts: your admins get "Possible duplicate payment" when a payment succeeds on a booking that another payment, or Mark as paid, already confirmed. Stripe also alerts on an abandoned payment that succeeds after the booking was confirmed another way.
- Extras with a minimum or maximum price show and charge their clamped line everywhere. Before, checkout rejected more than one unit as a price change.
- Checkout follows the Control Panel's add-on rules: only published option values, and one unit of an extra that doesn't allow multiple.
Fixes
- Applying or removing a coupon at checkout now re-prices the add-ons that were booked, not the selection in the browser.
- Two tabs at checkout can no longer create two payments, or leave add-on lines that don't add up to the amount charged.
- A custom-priced extra whose customer field is missing or not a number shows an error instead of a server error.
/resrv/api/webhookgoes to your only configured gateway, not Stripe.- With no rate selected and order sorting, the entry page shows the first bookable rate instead of "unavailable".
- Reordering an option renumbers only that entry's options.
- An extra or option value deleted while in a cart no longer causes a server error.
- The Create reservation page lists add-ons under the rate it charges.
- Offline Payment Instructions containing letters such as Greek υ no longer break the payment request email.
For developers
confirmFromGateway(): the new optionalConfirmsGatewayPaymentstrait runs the whole webhook confirm, including the stale-payment, amount and paid-twice checks. See Verifying webhooks.- Gateways must report a dead payment as
canceledfromretrievePaymentIntent(). Checkout now replaces a payment only then. - Resrv no longer adds
resrv_gatewayto a redirect gateway's provider URL. Put it on your return URL. - Breaking:
payment_unresolvedis replaced bypayment_settlement(none,gateway,out_of_band,unresolved).Reservation::supportsAutomaticRefund(),confirmedWithoutGatewayCharge(),Extra::getPriceForDates(),Option::valuesPriceForDates()and the Extras and Options components' pricing methods are removed.amountPaidOnline()is a deprecated alias ofamountPaid().ReservationEmailEvent::AdminAwaitingPaymentandReservationLogReason::CheckoutAwaitingPaymentare new enum cases.
Full details: v6.6.0 changelog and Upgrading to v6.6.0.
6.5.4
November 17th, 2026
- Fix: a quantity picked in one page's search no longer prices and books the results of another page whose search has no quantity control. A room page showed and booked two rooms, a restaurant two tables, and a collection listed an entry with one unit left as unavailable. A search without
enableQuantitynow resets the quantity to 1 when the page loads. - Fix: clearing the dates of a search with
liveoff and noredirectTono longer reloads the page. The results on the page update instead, so a page with tabbed searches stays on the visitor's tab. - Fix: clearing the dates keeps the Guests component's guest counts. They were wiped while the component kept showing them, so the booking had none and extras priced per guest charged for one.
- Fix: a link with dates but no
?rate=no longer searches only the rate saved from the visitor's earlier search.
Upgrading: run composer update reachweb/statamic-resrv. There are no migrations. If a search's view sets data.quantity itself, such as the Guests component bound to the quantity, add enableQuantity="true" to that search. See https://resrv.dev/upgrading#upgrading-to-v6-5-4
6.5.3
November 16th, 2026
- Fix: a failed payment no longer ends the checkout. The checkout-complete page asks the customer to try again, but going back showed "Reservation not found in the session", and their own hold kept the dates unavailable until
minutes_to_holdpassed. They can now go back to the checkout and pay, and a new search releases the hold. Successful and pending returns end the checkout as before. - Fix: a payment gateway that fails to load, for example with missing credentials, no longer returns a 500 at the payment step for every customer. It is left out of checkout and reported to your exception handler. When no gateway is left, checkout shows the new
noGatewayAvailablemessage. - Fix: the Stripe and offline payment views show the amount with the currency's decimals: "€ 316.80" instead of "€ 316.8", and "¥ 3168" for yen.
- Fix: the refund log now records PayPal refund ids.
- Custom gateways: return
falsefromhandleRedirectBack()when the customer has to act again, such as a declined or abandoned attempt, even if the provider keeps the payment open. Return'pending'only when the payment completes without them (UPGRADE-PAYMENT-GATEWAYS.md, Step 3). The Mollie add-on does this from v2.0.2.
Upgrading: run composer update reachweb/statamic-resrv. There are no migrations. If you published the language files, add noGatewayAvailable to frontend.php. If you published livewire/checkout-payment.blade.php or livewire/checkout-payment-offline.blade.php, format the amount as the packaged views do.
6.5.2
November 15th, 2026
- Security: the checkout-complete page no longer shows another booking's data for
?payment_pending=<id>. The data now goes only to the session that made the booking, and pages that render{{ resrv_checkout_redirect }}are kept out of Statamic's static cache. Custom gateways should returnPendingPayment::fromRequest()fromhandlePaymentPending()(UPGRADE-PAYMENT-GATEWAYS.md, Step 15). - Fix: rates no longer offer free cancellation after its deadline has passed; they show "No free cancellation for these dates". Bookings keep the label they were confirmed with.
- New: on the pay-by-link page, a provider that can't void an open order can report
->expires_at, and the customer is asked to try again after it instead of seeing an error (Step 13). - Updated
@reachweb/alpine-calendarto 1.4.1.
Upgrading: run php artisan migrate before serving traffic (adds confirmed_at to resrv_reservations), and php please static:clear once if you use static caching. See https://resrv.dev/upgrading#upgrading-to-v6-5-2
6.5.1
November 14th, 2026
Fix: stale "Search error" shown next to valid results on Livewire 4.4.8+
6.5.0
November 14th, 2026
Resrv v6.5 introduces manual reservations. You can create bookings for your customers straight from the Control Panel, email them a secure pay-by-link page, and optionally give the booking a payment deadline after which it cancels itself. It also adds a per-rate Booked units per add-on setting and fixes payment webhooks on Laravel 13.
⚠️ Custom payment gateways must be updated before you upgrade.
PaymentInterfacechanged. A configured gateway that doesn't implement the changes causes a fatal error on every request that loads Resrv's gateways (checkout, webhooks, the CP reservation pages). See For developers.
Upgrade steps
-
Update custom payment gateways first (see Breaking: custom payment gateways under For developers). If you use the Mollie or PayPal add-on, update it to a release that implements
retrievePaymentIntent()and the 4-parameterpaymentIntent()in the same deploy. -
Run the migrations before serving traffic:
#292D3E; --theme-selection-background: #00000080;">php please migrateThis release adds four migrations:
Migration Adds 2026_07_05_000000_add_manual_reservation_columns_to_resrv_reservations_tableresrv_reservations.affects_availability(boolean, defaulttrue),created_by,hold_expires_at,payment_request_email_sent_at2026_07_21_000000_add_payment_unresolved_to_resrv_reservations_tableresrv_reservations.payment_unresolved(boolean, defaultfalse)2026_09_08_000000_add_units_per_addon_to_ratesresrv_rates.units_per_addon(nullable integer)2026_09_14_000000_add_total_column_to_resrv_reservation_extra_tableresrv_reservation_extra.total(nullable)Reservation extras are now always loaded with the pivot
totalcolumn, so any page or email that lists a reservation's extras fails until the migrations have run. Existing rows need no backfill: the defaults keep every existing reservation affecting availability, and anullextra total falls back to price × quantity. -
Schedule the lapsed-hold sweep. Resrv registers
resrv:cancel-lapsed-holdsbut does not schedule it. Add it toroutes/console.php:#292D3E; --theme-selection-background: #00000080;">use Illuminate#89DDFF;">\Support#89DDFF;">\Facades#89DDFF;">\Schedule#89DDFF;">;Schedule#89DDFF;">::#82AAFF;">command#89DDFF;">(#89DDFF;">'resrv:cancel-lapsed-holds#89DDFF;">'#89DDFF;">)->#82AAFF;">everyFifteenMinutes#89DDFF;">()->#82AAFF;">withoutOverlapping#89DDFF;">();Scheduled commands only run if your server's cron runs
php artisan schedule:runevery minute.Once a hold's deadline passes, the payment link and the "send payment request" action stop working straight away, whether or not the sweep has run. The sweep is what then cancels the reservation, releases its availability, voids any open payment intent and sends the "payment not received" emails. If it isn't scheduled, lapsed holds stay Awaiting payment indefinitely, keep their availability, and nobody is emailed. The CP flags such holds with "Hold expired — will be cancelled by the next sweep". Run
php please resrv:cancel-lapsed-holds --dry-runto see how many holds would be cancelled. -
Set up the payment page. Create a published, non-private entry whose template renders the pay component:
#292D3E; --theme-selection-background: #00000080;">{{ livewire:reservation#89DDFF;">-payment }}Then select that entry under Resrv → Settings → Checkout → Manual reservations → Payment Page Entry. Without it, online payment methods are disabled for manual reservations. Offline (manually confirmed) methods still work, and you mark those bookings as paid in the CP.
-
Optional: add Offline Payment Instructions in the same settings section, e.g. your bank-transfer details. They are shown as plain text, with line breaks kept, on the pay page and in the payment request email of reservations that use a manually confirmed payment method. Leave the setting empty and customers are told that payment is arranged directly with you and to quote their booking reference.
-
Use a cache store that supports locks. The pay page serializes payment attempts with
Cache::lock(). Thefile,database,redis,memcached,dynamodbandarraystores support locks;apcdoes not. On a store without locks, every online payment on the pay page fails with "We could not start the payment process". If you run more than one app server, use a shared store (redis,databaseormemcached). The create-reservation page uses a lock as well when one is available: without lock support it still turns a retried submit into the original reservation, but it can't serialize two simultaneous submits. -
Re-publish or merge customised views and translations.
- Emails (published with the
resrv-emailstag, or custom templates set per email event or form):cancelled,cancelled-customer,confirmed,made,orphaned-paymentandrefundedchanged, andpayment-requestis new. Old copies keep rendering, but they ignore the new$holdLapsed,$paymentInFlight,$paymentCollected,$context,$refundedAutomaticallyand$returnedSeparatelydata and fall back to the old wording. For example, an oldcancelledtemplate tells admins that a lapsed hold was "cancelled by the customer". An unpublishedpayment-requestfalls back to the packaged copy. - Checkout views (
resrv-checkout-views):livewire/availability-results.blade.phpandlivewire/reservation-status.blade.phpchanged, andlivewire/reservation-payment.blade.phpandlivewire/components/partials/business-contact.blade.phpare new. The status page's paid amount now reads$reservation->amountReceived() ?? $reservation->amountPaidOnline(). An old copy keeps rendering, but it shows 0 paid for a booking you marked as paid in the CP. Unpublished, the new files fall back to the packaged copies. The results view now passes:effectiveRateId="$this->effectiveRateId()"to the extras and options components; an old copy keeps working, but the add-on prices next to the results correct themselves one round trip after load. - Frontend language file (
resrv-language):frontend.phpgained 23 keys for the pay page:completeYourPayment,paymentHeadingInstructions,paymentHeadingProcessing,paymentHeadingConfirmed,paymentHeadingExpired,paymentHeadingUnavailable,amountToPay,paymentDeadline,paymentDueBy,paymentDueByArrival,remainingBalance,remainingBalanceNote,paymentMethodIs,contactPhone,paymentLinkFailed,paymentLinkExpired,paymentArrivalPassed,paymentAlreadyCompleted,paymentProcessing,paymentUnavailable,paymentOfflineInstructions,paymentOfflineNoInstructions,paymentMountFailed. Only English ships, so add them to every published locale. - New email and CP sentences go through
__(). If you translate Resrv throughlang/<locale>.json, add the new sentences there.
- Emails (published with the
Highlights
🧑💼 Create reservations from the Control Panel
A Create reservation button on the Reservations listing opens a new two-column page. The main column holds the form, and a sticky summary sidebar shows the itemised price and what will happen when you create the booking.
- Booking: pick an entry (grouped by collection), dates, rate and quantity. Availability and the price are re-quoted live. If there isn't enough availability, an inline Overbook anyway action creates the booking without taking stock. Every night still needs a configured price.
- Extras & options: priced for the selected stay. Extras that the entry's extra conditions make required are badged with the reason ("Required for these dates", "Required because … is selected"), and the form can't be submitted until they and any required options are chosen. The server enforces the same rules.
- Customer: the entry's checkout form, with its widths, instructions and input types. Confirm/repeat email fields fill themselves in.
- Payment: request the standard amount (what checkout would charge, capped at the total), the full total, or a custom amount. Choose the payment method; each one explains how the customer pays, and methods that can't be used are disabled with the reason. A booking that collects nothing is confirmed immediately. Its email switch then sends the customer a confirmation instead of a payment request.
- Hold for a limited time: optionally cancel the booking automatically if it is still unpaid after 1–365 days. The page previews the deadline and warns when the hold ends after the arrival day.
- Advanced: Override total (the difference is applied to the base price, and dynamic pricing is not recorded for overridden totals), Decrease availability (off = view-only booking that never takes or restores stock) and Affiliate (when affiliates are enabled).
- Safe submits: if any figure changed since it was shown (another admin's price edit, an expiring dynamic pricing…), creation is refused with "The total changed from … to …" and the page re-quotes. Each page session sends an idempotency key, which Resrv remembers in the cache for 30 minutes. Within that time a retried or double-clicked submit returns the reservation that was already created instead of booking twice. After it, or once the cache is cleared, a retry creates a second reservation, so check the reservations list first. A submit with different input gets a link to the existing reservation. Errors appear under the field they belong to, written for admins (e.g. "The start date is in the past", "Maximum quantity per reservation is 4"), and leaving the page with unsaved changes asks first.
⏳ New awaiting_payment status
Manual bookings that request a payment are created as Awaiting payment. They hold availability (unless overbooked) and are exempt from the checkout hold expiry, abandoned-reservation emails and housekeeping. They leave this status only by being paid (webhook or Mark as paid) or cancelled (by an admin or the lapse sweep).
- Reservations listing: awaiting-payment rows are shown by default. They get a status badge, an overdue badge once they can no longer be paid, an "(unpaid)" note on the amount, a filter, and row actions: Mark as paid…, Send/Resend payment request, Copy payment link, Extend hold… and Cancel reservation.
- Reservation page: a header with the status badge, who created the booking, a one-line summary of who is paying what, by when and how, the payment link as a copyable field, and actions that follow the payment method. Overdue holds are flagged "Hold expired — will be cancelled by the next sweep" or "Arrival date passed".
- Mark as paid records the payment (plus any payment surcharge) as received outside Resrv, confirms the booking, sends the confirmation emails and cancels any online payment the customer had started.
- Send / Resend payment request asks for confirmation first. It is refused once the payment window has closed, when the customer email is invalid, or when the email is disabled in the email settings.
- Extend hold sets a new deadline a number of days from now, or removes it, and can email the request again. It also works after a deadline has passed, as long as the sweep hasn't cancelled the booking yet.
- Cancel reservation releases availability the booking took and cancels any open online payment. An Email the customer a cancellation notice checkbox is on by default only if a payment request was ever sent.
- Calendar: awaiting-payment bookings that took availability now appear on the CP calendar, styled distinctly, with a legend entry and the deadline in the tooltip.
- Reports: a new Outstanding payments tile shows how many reservations in the report range await payment and the total requested, linking to the filtered listing. Revenue figures are unchanged.
- Activity log: new Created in the Control Panel and Confirmed in the Control Panel reasons.
- Export:
awaiting_paymentcan be exported; status labels are human-readable.
🔗 Pay-by-link page
The new reservation-payment Livewire component lets the customer pay from the emailed link. The link is HMAC-authenticated (?ref=&hash=) and rate-limited, and needs no login or re-entry of details. The page shows the amount, the remaining balance, the payment method and a "please pay by" line. An interrupted payment resumes instead of creating a second one, and the gateway webhook remains the only thing that confirms the booking.
- States: pay now; how to pay (offline methods: your Offline Payment Instructions, or "payment is arranged directly with us", plus the booking reference and your contact details); payment processing; reservation confirmed; payment link expired; arrival date passed; reservation unavailable.
- Arrival-day cut-off: a booking can't be paid online once its arrival day has ended (app time zone), even without a hold. The "please pay by" line shows whichever comes first, the hold deadline or the end of the arrival day. Nothing cancels these bookings automatically; the CP flags them for you to mark as paid or cancel.
✉️ Emails
- Customer payment request is a new email event, enabled by default and overridable per form like the others. It is sent on creation (switchable per booking) and from the CP's send/resend action. It includes a greeting, the amount and deadline, the reservation details, extras and options, the remaining balance and a Pay now button; offline methods get the payment instructions instead. A resend opens with "Here is the payment link for your reservation again" (or "Here are the payment details…" for offline methods); one sent from Extend hold also says "Your payment deadline is now …". Every send is stamped on the reservation.
- Lapsed holds email the customer ("We did not receive your payment by …, so your reservation has been cancelled") and the admins ("cancelled because its payment hold lapsed"). The customer email follows the Customer cancelled email event and the admin email the Admin cancelled (by customer) event, so disabling either one also silences these.
- If a reservation is cancelled while its online payment is going through, the customer is told the charge will be refunded (even if you unticked the cancellation email), and the admins get a reconciliation alert. For a lapsed hold, the admins' cancellation email is still sent and says the charge needs refunding instead of "payment hold lapsed".
- Reconciliation alerts (the orphaned-payment email) gained specific wording and a recommended action for each manual-payment case, e.g. a booking marked as paid while an online payment also went through ("The customer may have paid twice").
➗ Booked units per add-on
Rates gained a Booked units per add-on field. Extras and options are multiplied by the booked quantity, so a single-occupancy cabin rate booked as quantity 2 (two berths, one guest) charged a per-person extra twice. With the field set to 2 on that rate, quantity 2 counts as one add-on unit.
- The add-on quantity is the booked quantity divided by the field, rounded up and never below 1. Empty or
1keeps the previous behaviour, and the global Ignore quantity for prices setting still wins. - The price of the booking itself, the stock and the availability calendar are not affected. Cart bookings divide per line.
- Extras and options shown next to the availability results are now priced under the rate the booking will actually get, and checkout re-prices the selection under the final rate before booking.
Behaviour changes for existing sites
- Extras required by a category condition ("required when an extra from a category is selected" and "required unless an extra from a category is selected") are now enforced when the checkout is submitted. Before, the extras step marked them as required, but they were not checked when the checkout was submitted.
- Reservations listing default filter is now Confirmed + Partner + Awaiting payment (was Confirmed + Partner).
- Permissions: the existing
use resrvpermission now also lets a CP user create reservations, mark them as paid, cancel them and extend their holds. - Availability edits: setting an absolute availability is still blocked only by checkouts in progress (pending/webhook), and the error now names their references. Awaiting-payment holds don't block it. If such a hold is later cancelled or lapses, its quantity is added back on top of the value you set, as when a confirmed booking is refunded. Deleting availability is blocked by awaiting-payment holds that took stock. Deleting an entry is blocked by any awaiting-payment reservation, like other non-final reservations.
- Confirmation emails (
confirmed,made): when nothing was charged online (offline gateways, bookings marked as paid in the CP) the payment row reads "Amount already paid" instead of "Already paid by credit card". The payment rows now also appear in the "everything" payment mode whenever less than the total was paid. - Customer cancellation email: the "Date" row is now labelled "Cancelled on".
- Refund email: when a refund is not returned through the gateway (offline payments, bookings marked as paid in the CP), the email now adds "Your payment of … will be returned to you separately", or "If you have already paid for this reservation, …" when Resrv doesn't know whether the customer paid.
- CP refunds of offline or out-of-band payments now show "Refund recorded — return the payment to the customer manually", and the reservation page keeps a "Return the payment manually" notice, instead of claiming the money was refunded.
- Checkout bookings paid through an offline (manually confirmed) gateway are no longer shown in the CP as paid: Resrv can't know whether the money arrived, so the amount is shown neutrally as "Payment" and the manual-refund messages are hedged.
- Orphaned-payment alerts now also fire when a successful payment lands on a cancelled reservation (e.g. a lapsed hold), except for the retained charge of a no-refund cancellation.
- CP dates on the reservation page now show their time zone, and status labels in filters, badges and exports are translated, human-readable labels.
Fixes
- Payment webhooks on Laravel 13: the webhook routes are excluded from CSRF again. On Laravel 13 the payment providers' POSTs were answered with 419, so payments never confirmed their reservation. If you worked around this with
preventRequestForgery(except: [...]), you can remove it after updating. - Relative rates: frontend calendar prices on relative rates no longer render as
NaN(calendar price writes now stay decimal strings instead of serializing as money objects). - Multi-cart checkout: a stale add-on price snapshot in the session no longer causes a dead-end "reservation changed" error when checkout loads. Checkout now re-prices session extras and options against the actual reservation, and the Extras component re-prices on load and when the multi-cart selection changes. If you added app-level workarounds for either issue, you can remove them after updating.
- Options: option value descriptions are no longer dropped when saving in the CP.
- Frontend assets:
@reachweb/alpine-calendarupdated to 1.3.0 and the frontend assets rebuilt.
For developers
⚠️ Breaking: custom payment gateways
Both changes are enforced by PHP when a gateway class loads. PaymentGatewayManager checks every configured gateway class on construction, so a non-compliant gateway breaks checkout, webhooks and the CP reservation pages, not just its own payments. The bundled Stripe, Offline and Fake gateways are already updated. Full details are in UPGRADE-PAYMENT-GATEWAYS.md, Steps 12–14.
paymentIntent()gained a 4th parameter,?string $returnUrl = null, and every implementation must declare it. Otherwise the class fails to load with "Declaration of …::paymentIntent() must be compatible with …". Redirect gateways must build their return URL from$returnUrl ?? <checkout-complete entry>and append their own parameters separator-aware, because the pay page's URL already carries?ref=…&hash=…. Inline gateways can ignore the value. (Step 12)retrievePaymentIntent(string $paymentId, Reservation $reservation): ?objectis required. (Step 13)- Return an object exposing
->statusin the Stripe vocabulary (succeeded,processing,requires_capture,canceled,requires_*). While the intent is still payable, include->redirectTo(redirect gateways) or->client_secret(inline gateways). - Return
nullonly when the provider says the intent definitively doesn't exist (e.g. HTTP 404 /resource_missing). - Throw on any transient failure (timeout, 429, 5xx, auth, connection). Never wrap the call in a catch-all that returns
null: Resrv treatsnullas "gone". It would then mint a second chargeable intent next to a live one, drop the reference to a charge that later captures, or skip the gateway refund of a real charge.
- Return an object exposing
verifyPayment()must confirmawaiting_paymentreservations, not justpendingones. Confirm throughtransitionTo(ReservationStatus::CONFIRMED, tolerant: true)with nopending-only pre-check. Online gateways are offered for manual reservations only whensupportsWebhooks()returnstrue. (Step 14)
Other changes
-
New status
ReservationStatus::AWAITING_PAYMENT(awaiting_payment). Code with an exhaustivematchover the enum throwsUnhandledMatchErroruntil it handles the new case. It is created directly (never transitioned into), can move only toCONFIRMEDorCANCELLED, and is in none oflive(),terminal()orinFlight().inFlight()is stillPENDING+WEBHOOK. The enum also gainedlabel()andlabelFor(?string)for translated labels. -
New email event
ReservationEmailEvent::CustomerPaymentRequest(customer_payment_request) with theMail\ReservationPaymentRequestmailable. Exhaustivematches overReservationEmailEventneed the new case too. -
ReservationCancelledis now__construct(Reservation $reservation, ?string $context = null, bool $notifyCustomer = true, bool $holdLapsed = false).- Contexts:
CONTEXT_HOLD_LAPSED(lapse sweep),CONTEXT_UNPAID_HOLD(admin cancelled an awaiting-payment booking) andCONTEXT_PAYMENT_IN_FLIGHT(a payment was going through at cancellation). The cancellation mailables use the context for their wording. CancelAffiliateCommissionvoids the commission for all three contexts, even when apayment_idis still present.notifyCustomer: falsemakes the bundled listener skip the customer email only. Custom listeners that email customers should honour it. A payment-in-flight cancellation always notifies.
- Contexts:
-
ReservationConfirmedgainedVIA_CP(alongsideVIA_CHECKOUT/VIA_WEBHOOK) and a 4th parameter,bool $notifyCustomer = true.falseskips the customer confirmation email; the admin email still goes out. The queuedJobs\SendNewReservationEmailstakes the same flag, and payloads queued before the upgrade still work. -
payment_unresolvedmarks apayment_idthat is not proof this booking was paid through the gateway. It is set when Resrv keeps an intent reference only for reconciliation: an unpaid hold was cancelled but its open intent couldn't be verified as voided (or turned out to be capturing money), or a booking was marked as paid in the CP while an online intent still existed. While it is set:amountPaidOnline()returns zero, and Reports exclude cancelled rows that carry it from retained revenue.- Customers can't self-cancel, and
refundIsAutomatic()isfalse. - A CP refund reads the intent first and only calls the gateway's
refund()when it issucceededorprocessing. An intent that is still open is voided withcancelPaymentIntent()and read again before that decision. - A later succeeded webhook for the kept intent on a cancelled row raises an orphaned-payment alert.
Don't treat
payment_id !== ''alone as revenue. -
affects_availability(defaulttrue):falsemarks a view-only (overbooked) reservation. It never decrements or restores stock, the availability guards and overlap counts ignore it, and the CP calendar doesn't show it while it awaits payment.DecreaseAvailability/IncreaseAvailabilityskip only an explicitfalse, so anull(column not selected) is treated astrue. -
Extras pivot
total:Reservation::extras()now loadswithPivot(['quantity', 'price', 'total']).Extra::priceFromPivot()returns the stored line total when present, otherwise price × quantity. Manual reservations store it because a dynamic-pricing minimum or maximum can make the charged line differ from price × quantity. UsepriceFromPivot()rather than multiplying the pivot price yourself. -
Reservationmodel:- New columns / casts:
affects_availability,created_by(Statamic user id, string),hold_expires_at,payment_request_email_sent_at,payment_unresolved. - New helpers:
isAwaitingPayment(),holdDeadlinePassed(),arrivalDayPassed(),paymentWindowClosed(),paymentDueAt(),amountDue()(payment + surcharge),amountReceived()(null= unknown),customerName(),customerPaymentUrl(),confirmedWithoutGatewayCharge(),paymentGatewaySupportsManualConfirmation()and the staticresolveCustomerPageEntry().
- New columns / casts:
-
Activity log reasons:
ReservationLogReason::CpCreated(cp_created) andCpConfirmed(cp_confirmed). -
OrphanedPaymentNotificationgained a$contextwithCONTEXT_OUT_OF_BAND_DUPLICATE,CONTEXT_OUT_OF_BAND_STILL_PAYABLE,CONTEXT_OUT_OF_BAND_UNVERIFIED,CONTEXT_CANCELLED_CAPTUREDandCONTEXT_CANCELLED_UNVERIFIED.notifyIfOrphaned()now treatsCANCELLEDas terminal, except for a cancelled booking's own retained charge. -
ReservationDatagainedviaCp(skips writing the frontend checkout session) andskipDynamicPricings(used for overridden totals). -
Traits:
Livewire\Traits\HandlesDirectGatewayPaymentmounts a gateway payment outside the checkout (create-or-resume under a lock, redirect and inline gateways).Livewire\Traits\HandlesCustomerLookupholds the HMAC deep-link lookup and rate limiting, now shared byreservation-statusandreservation-payment. -
ActiveReservationsGuard: both range guards ignore view-only (affects_availability = false) reservations. The newinFlightReservationReferencesForRange()returns the blocking references. -
Exceptions:
ManualReservationException(now withfieldandreason),ReservationNoLongerPayableandHoldNoLongerLapsed. -
Console:
resrv:cancel-lapsed-holds {--dry-run}. -
New CP routes (all behind
can:use resrv; names as passed tocp_route()):GET resrv/reservations/create(resrv.reservations.create)GET resrv/manual/entries(resrv.manual.entries),GET resrv/manual/entry/{item_id}(resrv.manual.entry),POST resrv/manual/quote(resrv.manual.quote),POST resrv/manual(resrv.manual.store)POST resrv/reservation/{id}/confirm-payment(resrv.reservation.confirmPayment),/cancel-awaiting(resrv.reservation.cancelAwaiting, acceptsnotify_customer),/send-payment-request(resrv.reservation.sendPaymentRequest) and/extend-hold(resrv.reservation.extendHold, acceptshold_days1–365 ornullandresend)
-
Changed CP JSON:
- The calendar list (
resrv.reservations.calendar.list) now also returns awaiting-payment reservations that took availability, each withstatusandhold_expires_at. - The refund endpoint returns
refund_is_automaticand translated errors, and its "wrong status" 422 includes the currentstatus. - Reservation listing rows and the reservation detail gained status labels, ISO dates, payment-state flags and formatted amounts.
- The Reports payload gained
outstanding: {count, amount}.
- The calendar list (
6.4.0
July 17th, 2026
- Fix: the reservationFromUri tag now also finds partner (skip-payment) bookings, so affiliate reservations no longer 404 on customer-facing pages built on the tag.
- New: the tag accepts a
statusesparameter (pipe-separated, validated against the known statuses) to override which reservation statuses are looked up. Pending, expired and cancelled stay excluded unless explicitly requested. - Fix: tag errors now render your site's themed 404 template instead of a bare Symfony error page, and invalid parameters throw clear, actionable messages.
6.3.0
July 15th, 2026
- Add quantity column to the reports page.
- When disabling the affilate feature all functionality correctly stops attributing reservations to affiliates.
- Coupons tied to an affiliate no longer cause the skip option to appear during checkout.
6.2.1
July 12th, 2026
Fix: Respect the user defined CP_ROUTE
6.2.0
July 5th, 2026
This release adds a customer facing reservation status page with self service cancellations, a new terminal cancelled reservation status.
New features
- Reservation status page: a new
reservation-statusLivewire component where customers look up their booking with the email and reference they booked with, or land on it directly through a secure "Manage your booking" link that is added to confirmation emails automatically. The feature is off by default; enable it under Resrv → Settings → Checkout. - Customer cancellations: let customers cancel their own booking from the status page. Inside the free cancellation window the charge is refunded automatically through the original payment gateway. After the window closes, or under a non-refundable policy, the customer can still cancel after a clear "no refund" warning and the payment stays with you. Bookings paid through offline gateways and partner bookings stay view only.
- New
cancelledreservation status:refundednow strictly means the gateway returned the charge. Terminations where no money moves back (no-refund cancellations and voids of bookings that never held a charge) land in the new terminalcancelledstatus.
Improvements
- Reports: cancelled bookings that kept their payment now count toward reservation totals, revenue, best sellers and affiliate commissions. Refunds and no-charge voids stay excluded.
- Affiliate commissions follow the money: refunding a reservation voids its commission while keeping the row for history, and a no-refund cancellation keeps the commission payable. Commissions of reservations refunded before this release are backfilled on migrate.
- Safer refunds: when a reservation's recorded payment gateway is no longer configured, refunding it fails with a clear "handle manually" error instead of silently routing the charge through the current default gateway. Stripe refunds also reconcile charges that were already refunded from the Stripe dashboard instead of erroring.
- Lookup hardening: reservation lookups are rate limited per reference and per IP, and failed deep links fall back to the form with a neutral notice.
Upgrading
Run composer update reachweb/statamic-resrv and php artisan migrate. Both new toggles are off by default, so nothing changes until you enable them. If your site code matches on the refunded status string, account for cancelled too, and note that Reports now include no-refund cancellations in their totals.
6.1.0
July 3rd, 2026
A maintenance release on top of v6.0.0: new reporting and email tools, a database housekeeping command, and a broad round of fixes across availability, rates, emails and the frontend calendar.
New features
- Database housekeeping command: the new
resrv:housekeepingcommand clears data that used to accumulate forever like long-expired reservations (and their related rows), orphaned customer details, and availability for dates that have already passed. Use--days(default 30) to set the retention window and--dry-runto preview. It doesn't run on its own; schedule it to keep your database tidy. - Affiliate & dynamic-pricing reports: the Reports page gains an Affiliates section (reservations, sales and commission per affiliate) and a Dynamic pricing section (how often each rule was applied). Both keep showing rows for affiliates or rules that have since been deleted.
- Resend confirmation email: a new action on the reservations listing resends the customer's confirmation email on demand.
- Activity log: an optional audit trail (off by default; enable it under Reservation settings → Enable activity log) that records every availability and price change and every reservation status change. A new Activity Log screen in the Control Panel lets you browse and filter both. Prune old rows with the new
--log-daysoption (default 365) on theresrv:housekeepingcommand. - Deep-linkable search: the availability search can now be pre-filled straight from URL query parameters —
?date=YYYY-MM-DD(checkout date derived from your minimum stay),?date_start=…&date_end=…and?rate=<id>(or?rate=any). Link or bookmark a ready-to-run search; invalid values are ignored, and it works with multiple search bars on a page (including redirect-style bars).
Improvements
- Self-healing rate selections: stale or out-of-context rate selections carried over in the search session are now reconciled automatically. Every availability component (search, list, results, multi-results and collection) drops a rate that doesn't apply to it and auto-selects when only one valid rate exists. This replaces the old
resetOnBootattribute, which has been removed. see Upgrading. - Clearer rates in the availability calendar: relative and shared rates are now labelled as such, read-only cells show a lock icon and explanation, the base rate is pulled in automatically when editing a shared rate, and dates still missing a price are flagged "Price required".
- Smarter bulk availability editing: the bulk-edit modal disables fields that don't apply to the selected rates (and says why), applies each value only to the rates that accept it, and saves multi-rate edits atomically so a single rejected rate never leaves a half-applied change.
- Reports survive deletions: deleting an affiliate now soft-deletes it, preserving its sales history, and affiliate and dynamic-pricing report rows remain (marked as deleted) after the affiliate or rule is gone.
- Faster dynamic pricing screen: entry and extra assignments load in a single batched query, so the listing stays fast as the number of rules grows.
Bug fixes
- Duplicating a Statamic entry no longer copies the original's availability: each duplicate starts with its own clean slate and shows its own dates and prices.
- Translated entries now resolve their availability and pricing back to the root entry consistently, even across chained translations.
- Frontend calendar conflicts: the frontend script bundle no longer leaks onto the global scope, fixing an "L is not a function" error that could break the date picker.
- Pending reservations: abandoned, past-window holds no longer block availability edits, and saving or deleting availability in the Control Panel no longer expires valid in-progress checkouts or confirmed bookings.
- **Confirmed bookings no longer block availability edits.
- Dynamic pricing rules show their assigned entries again.
- Refund emails now show the actual amount charged to the card (including any payment surcharge) and no longer claim a refund for bookings that were never charged.
- Reservation emails (confirmation, made and abandoned) no longer error when the booked entry or a selected option has since been deleted.
- Email theme: a partially-published or empty email theme folder no longer drops the logo header; the packaged theme is always used as a fallback.
- Bulk rate updates: updating several rates at once, or with invalid dates or day-of-week filters, returns a clear validation message instead of a 500 error.
- Empty listings: a rate assigned only to a disabled entry no longer leaves a collection listing empty.
- Deleting an extra now also removes its entry assignments instead of leaving orphaned rows behind.
- Control Panel polish: the duplicate "Use Resrv" permission is gone, dark-mode badges keep their shape and contrast, the Refund action icon renders correctly, and informational alerts on the Resrv fields show their proper titles and styling.
Upgrading
This is a minor release; for most sites composer update reachweb/statamic-resrv is all you need. If any of your templates pass :resetOnBoot to the availability-search component, remove it, the attribute no longer exists. See Upgrading from v6.0.0 to v6.1.0 for the full (short) checklist.
6.0.0
June 9th, 2026
Coming soon
5.2.0
May 12th, 2026
This release contains all the changes in the v6 branch prior to the rates refactor and the Statamic 6 changes.
It's meant as a target for backporting changes for use in sites that are stuck in Statamic 5 for any reason.
To see the whole changelog see the releases for each beta tag: https://github.com/reachweb/statamic-resrv/releases/tag/v6.0.0-beta1 https://github.com/reachweb/statamic-resrv/releases/tag/v6.0.0-beta2 https://github.com/reachweb/statamic-resrv/releases/tag/v6.0.0-beta3
This is a substantial release so don't just composer update and expect everything to work! You need to run migrations and update theme overrides are mentioned in the release notes above!
5.1.2
February 13th, 2026
- Fix for the
getAvailabilityCalendarmethod that caused it not to work in SQLite.
5.1.1
February 10th, 2026
- Improved the
reservationFromUriin the Resrv tag to use a hash of the email and the reference code so that it can be used in a more secure manner.
5.1.0
February 4th, 2026
New feature: Availability List
- New
availability-listcomponent that allows you to display all available dates relative to the user the user has chosen. Documentation will be updated soon. - Postgres fixes: Many fixes to add support for postgres database. SQLite and MySQL / MariaDB are still recommended until further testing.
- Livewire 4 support.
5.0.0
November 15th, 2025
This release contains breaking changes please read follow the release notes to upgrade existing Resrv installations.
New features
- Totally rewritten Extras and Options functionality. Instead of using Blade components this functionality has now been moved into their own Livewire components. This minimizes use of JavaScript in the frontend and results in faster and more secure functionality.
- Added a new "days of the week" setting in the Mass Availability modal that allows you to only apply the changes in specific days of the selected range.
- Added a new
availability-results-advancedBlade component that you can use to display all the possible advanced properties and their availability / pricing. - Added a new
Cutofffield that allows you to set a specific start time and schedule for each entry and set a cutoff time in hours after which reservations are no longer possible. - Added more robust connected availabilities rules.
- Changed the
$resetAdvancedOnBootproperty ofAvailabilitySearchto$resetOnBootand it now also resets the quantity and triggers a search. - Moved the customer data into a separate Customer model and database table. This will help us create account functionality in the future.
- Moved the availability calendar into a popup in order to provide much better mobile support.
- Removed the need for the Resrv Availability field to have the "resrv_availability" handle in the Statamic blueprints.
- Added a "when extra is NOT selected" condition rule to show / hide / require an extra if another extra is NOT selected.
- Added extra category conditions to show / hide / require extras based on categories.
- Added support for wildcard coupons using
*to apply coupons to all entries. - Added affiliate - coupon relationship to connect affiliates with coupons.
- Added the ability to close the calendar popup with the Esc key.
- Added support for multiple webhook secrets in the payment gateway configuration.
- The payment gateway now passes the public key through for easier frontend configuration.
- Email templates now use the configured logo.
- Made the calendar input readonly to prevent manual text input.
- Use override label in emails and frontend if set.
Bug fixes
- Fixed some countries not appearing in the phone codes field of the checkout form.
- Fixed some issues with reservations made on the current day for the same day.
- Fixed an issue where coupons wouldn't update the total if applied after step 1.
- Fixed affiliate removal when coupon is removed.
- Fixed wildcard coupons on update event.
- Fixed Resrv tag getting schedule for wrong entry.
- Fixed reverse condition for extras.
- Fixed wrong email getter.
- Fixed refund emails being sent multiple times.
- Various other fixes you can find in GitHub.
Upgrading
- Make a backup of your database.
- Migrate your database by running
php artisan migrate - The resrv_customers table should now have your customer data. This should be handled automatically by the migration but please check your database afterwards.
- There are major changes in Resrv's frontend views: if you were overriding those you need to manually upgrade the following views:
checkout.blade.php- needs to be upgraded to use the new Extras and Options components. Check the file in this release to check what needs to be changed.availability-results.blade.php- also needs to be upgraded to use the new Extras and Options component - even if you had not enabled them here.- Also in
availability-results.blade.phpyou need to add the section for displaying the cutoff feature error if you use it. checkout-extras.blade.phpandcheckout-extra.blade.php- These have been completely replaced byextras.blade.phpandextra.blade.phpcheckout-options.blade.phpandcheckout-option.blade.php- These have been completely replaced byoptions.blade.phpandoption.blade.php- If you were using
availability-extras.blade.phporavailability-options.blade.phpthey also need to be upgraded. checkout-payment-table.blade.phpneeds to be upgraded to use the new Extras and Options objects. Also check the changes in this release.
- You also need to update your email templates (again if you were overriding those). We have tried to respect backwards compatibility here but changing the following in all email templates is best practice:
- Any mention of
$reservation->customer->get('email)should now be$reservation->customer->email. - Replace
$reservation->customer->count() > 1with$reservation->has('customer') - Replace
@foreach ($reservation->customer as $field => $value)with@foreach ($reservation->customerData as $field => $value).
- Any mention of
4.1.0
March 18th, 2025
- Laravel 12 support
- Added a fix for the new country code dictionary so that it can be used in regular Statamic forms and pass the value to the email template correctly.
- Cleanup of unused database columns and tables.
4.0.1
March 1st, 2025
- Fix issues with diffInDays method changing in Carbon v3.
4.0.0
February 28th, 2025
Changelog
- New frontend calendar based on Vanilla Calendar Pro.
- Added the capability to display price and availability per day inside the calendar itself.
- The calendar now respects minimum and maximum durations and doesn't allow the user to select an unsupported range.
- New extra categories feature: your extras can now belong to categories.
- Extras are now using the
Entrymodel to associate themselves with Entries. - Extras are no longer editable inside an Entry using the
resrv_extrasfield. - Full conditional extras support (Show / hide or require extras based on conditions).
- New phone dictionary (both frontend and backend) for the checkout form that displays country phone code select box plus a text input for the phone number.
- Added a
resrv:import-entriescommand that can be used to sync the site's Entries to Resrv's database. - Improved extension's config display in the control panel and various panels.
- Upgraded the Stripe library to the latest version.
- Various small bug fixes.
Upgrading
- Make a backup of your database.
- Migrate your database by running
php artisan migrate - The resrv_statamicentry_extra table is being replaced by the resrv_entry_extra table. This should be handled automatically by the migration but please check your database afterwards.
- There are major changes in Resrv's frontend views: if you were overriding those you need to manually upgrade the availability-search.blade.php, checkout-extras.blade.php, checkout-extra.blade.php files (and possibly more like the dictionary fields).
3.2.0
October 1st, 2024
- Removed all the legacy API endpoints, controllers and more.
- Added more tests to cover scenarios that were tested from the API endpoints.
- Fix an issue that when a date range would contain the date that Daylight saving starts, the duration would be a day less.
3.1.0
September 18th, 2024
-
NEW Added support for Dictionaries in your checkout forms so that you can easily add selects with many options, like Countries.
-
NEW New AlpineJS component for dictionaries, with filtering:
-
Please note that if you have already overridden the Resrv views you will need to copy the file
dictionary.blade.phpfromviews/livewire/component/fieldsto yourviews/vendor/statamic-resrvfolder. -
FIX The select field was not working on checkout forms due to some changes from Statamic's side.
-
FIX Calendar and Reports will now show and take into account accordingly partner reservations. (made via the affiliate system).
3.0.1
September 9th, 2024
- Fixed an issue when at the first save of an Entry that had a Resrv Availability field as "disabled" the value would not get saved thus making the Entry available to reserve.
- Fixed two issues with Fixed pricing.
- Updated the documentation URL and added the logo.
3.0.0
September 2nd, 2024
First v3 release! 🎉
Statamic Marketplace entry, documentation and website coming really soon.
Changes:
- Disabled legacy endpoints be default.
- Removed support for Statamic 4.
- Fixed some icons in dark mode.
- Small fixes in Livewire components.
- Improved the
LfAvailabilityFiltercomponent so that it requires less properties. - Added the
live-availabilitydata in the entries when using the regular Collection tag via a Hook.
3.0.0-rc2
August 27th, 2024
- Control panel availability overhaul: you can now change availability or price on days that availability is already set.
- New filter in the Reservation control panel to easily filter by
Entry. - Add
availability-search-updatedandavailability-results-updatedhooks intoAvailabilityResultsLivewire component that let you alter the component during the availability search. - Fix for Reservation status filter for changes introduced in Statamic 5.14.0.
- Fix for Extra pricing when quantity is ignore for pricing.
- Fixed all entries being saved in the
resrv_entriestable instead of just those that haveresrv_availabilityfields. - Fix for Stripe payment interface: the webhook could get disabled if the user is using Stripe on a physical POS.
3.0.0-rc1
July 24th, 2024
- Added the ability to only use quantity for availability purposes and don't calculate pricing based on it.
- You can now complete reservations that cost $0 (it skips the payment step). This is useful if you want to use this just for reservations and you charge later.
- Added the option to skip payment for selected affiliates.
- Fixed coupon dynamic pricing not getting saved at checkout.
- Compiled the frontend assets so that they can easily used even if you don't have a build step.
- Various bug fixes.
3.0.0-beta3
July 5th, 2024
- Statamic dark mode support.
- Affiliate feature: you can now create affiliates that can track their reservations by using a tracking link.
- Added the ability to price
Extraper checkout form values. For example you can know price an extra based on an adults value. - Added a sample
guestspopup that will be useful in many scenarios. - Added an
everythingsetting for payment that charges the total value of the reservation (extras & options included) - Fixed issues with extras when a coupon was applied.
- Improved the availability lock / unlock scenarios in an effort to eliminate race cases causing excess availability.
3.0.0-beta2
June 29th, 2024
- This breaks backwards compatibility. The
resrv_availabilitiestable needs to be updated using theadd_primary_key_to_resrv_availabilities.phpfile. - Extras and options are now Livewire Form objects and can be populated before checkout starts.
- Add an
Entrymodel andresrv_entriestable to serve as a relationship table between Statamic entries and Availabilities / Reservations. - Add connected availabilities: you can now configure availabilities so that the available count is synced for different properties / items.
3.0.0-beta
May 28th, 2024
This is the beta release for the v3 release. It contains a number of breaking changes plus frontend Availability search, availability results and checkout support.
Docs coming soon!
- Statamic 5.x support
- Laravel 11 support
- PHP 8.2 and 8.3 supported officially
- New availability frontend system using Laravel Livewire
- New checkout system using Laravel Livewire
- Advanced availability has been removed and its features have been merged with the Availability class
- Special query scope for use with Statamic Livewire Fitlers
- Improved coupons support.
2.2.3
October 1st, 2024
- Fix an issue that when a date range would contain the date that Daylight saving starts, the duration would be a day less.
2.2.2
February 12th, 2024
- FIX Stack would not scroll on Safari iOS
- FIX Clear the cache when a new dynamic pricing is saved to prevent showing old prices for a while (around 60 seconds)
2.2.1
February 9th, 2024
- CHANGE Even if an item has an overriding dynamic pricing, if a coupon is applied it will also be applied.
- IMPROVEMENT The buttons in the Dynamic Pricing, Extras and Locations have been moved to the top for better usability.
2.2.0
January 21st, 2024
- FEATURE Added new filters in the Reservations data list: you can now filter by year, reservation date_start and reservation created_at.
- FIX Fixed Status filter not working in the control panel
- FIX Fixed slow control panel Reservations page
- FIX Upgraded Forma so PHP < 8.2 can be used
2.1.3
June 13th, 2023
- IMPORTANT FIX - Emails were not working in Laravel 10 - upgrade asap if you are in Laravel 10.
2.1.2
June 10th, 2023
- FIX Added the necessary settings at the Availability models
- FIX Fixed the DynamicPricing -> Availability relationships
- FIX Made sure a coupon is not applied if it doesn't apply to the current product
2.1.0
June 7th, 2023
- NEW You can now change Resrv's config inside Statamic's control panel thanks to @edalzell's Forma add-on.
2.0.0
June 5th, 2023
- New release for Statamic 4.x support. Statamic 3.4 is supported in the 1.7.0 version, Statamic 3.3 in 1.6.x.
- Compatible with Laravel 10 and PHP 8.2.
- New minimum versions: Laravel 9 and PHP 8.1. Dropped Laravel 8 and PHP 8.0.
- Control panel elements have been improved and design follows Statamic 4.x more closely.
- The new versioning system will follow Statamic: expect 2.1.0, 2.2.0, 2.3.0 etc for new features, minor releases will be bug fixes only.
1.7.0
February 17th, 2023
- Tag new release for Statamic 3.4 support. Statamic 3.3 is supported in the 1.6.x versions.
1.6.9
February 16th, 2023
- NEW New endpoint that returns the search currently saved in the session. Should useful for static caching.
1.6.8
December 3rd, 2022
- BUG The
SetResrvSearchByVariablesshould work only on GET requests (it was running twice in POST requests) - REFACTOR Swap the
SaveSearchToSessionjob to an event / listener duo so that we can apply more listeners to the availability search event in the future.
1.6.7
December 1st, 2022
- NEW | Added a variable to prevent saving availability search to the session.
1.6.6
October 2nd, 2022
- NEW | Added the ability to clear (delete) availability for dates.
1.6.5
September 11th, 2022
- NEW | Resrv install command: after installation you can use
php please resrv:installto completed the installation. - NEW | A coupon code can be added to dynamic pricing so that it will only be applied it it's saved to the current session.
- NEW | A dynamic pricing rule can be set to expire on a specific time and date.
- NEW | New rule for dynamic pricing: Days from the current date to the reservation start date. For example: Apply a discount if the reservation start date is closer than 2 days from the current date.
- Breaking | Extra's price is returned for the whole period during checkout. Javascript files might need to be changed to reflect this.
1.6.4
August 3rd, 2022
- Added a SetResrvSearchByVariables middleware that can be used to set the search parameters in the session at any of the site's URL
- Added a separate checkout route (to be used in 1.7 for build-in checkout functionality)
- Various fixes
1.6.3
May 9th, 2022
- Performance release: the availability search was completed overhauled. Sites with significant amount of entries will see a decrease of up to 90% while querying availability.
- The availability search query now gets saved in the session in order to make it accessible in subsequent page loads.
- Added a couple of useful methods in preparation for Ajax-less checkout in 1.7.
- FIX | There was a typo in Extra Conditions form saving hidden extras as "hiden". You might need to open and re-save these.
1.6.2
May 2nd, 2022
This release includes performance improvements. Database queries when generating the Availability items array have been decreased by about 90%.
1.6.1
May 2nd, 2022
- FIX | Original price wasn't passed correctly when dynamic pricing was applied
- FIX | Available count passed with availability was not relevant.
1.6.0
April 30th, 2022
- Improvement | Can now select all - clear all in Dynamic Pricing panel.
- Fix | Dynamic pricing could not be saved if you didn't set dates
1.5.7
April 30th, 2022
- Bug fix:
entries()method inResrvUtilityControllershould only return the default site's entries.
1.5.6
April 30th, 2022
- NEW You can know mass add / remove
ExtrasfromEntries. Just click on the three dots in each Extra and select Mass assign on the dropdown. - The little green dot is now green only for enabled Extras in the Entry view.
1.5.5
April 26th, 2022
- Small fixes for data import
1.5.4
April 26th, 2022
- N/A Changelog not available.
1.5.3
April 26th, 2022
- N/A Changelog not available.
1.5.2
April 26th, 2022
NEW Availability import feature This release adds an import tool to mass add Availability using a CSV file. Due to the advanced nature of the import file needed and the possibility of data loss this feature should be considered alpha until the relevant tests have been written.
To use the importer you need a CSV that should have:
- An ID column (can be the item's Statamic ID or any other field in your blueprint)
- A price column in this format: price:date_from|date_end. Example: price:2022-04-23|2022-05-20
- Right next to the price column, an availability field with the same format: availability:date_from|date_end. If it's not right next to the price column the import will fail.
- The dates are not verified so make sure the start date is before the end date and in the correct format.
- You can add as many price and availability columns you need for different periods.
- if you use advanced availability, an "advanced" column.
1.5.1
April 22nd, 2022
- Clean up release
1.5.0
April 22nd, 2022
- NEW Laravel 9 compatibility.
1.4.0
April 20th, 2022
- NEW Condition on extras: you can now add
Conditionsto show, hide or require certain extras when:- Pick up or drop off time is between a time range
- Reservation dates are inside a date range
- Depending on reservation duration
- Another extra is selected
- Examples: You can force a late hours fee for a car pickup after 23:00 at night, you can force a certain extra for reservations under a number of nights or you can even add a mandatory charge and a hidden, required extra.
- NEW If you are using the override forms feature, you can now use the Statamic form's settings in order to override the emails being send.
- This release contains a DB migration
1.3.1
April 13th, 2022
- Hide
Locationsmenu if disabled in the settings - Hide
propertylabel if it's empty - Fixed: Bug in Reservation controller caused by the changes in v1.3.0
1.3.0
April 10th, 2022
- BREAKING Statamic 3.3 is the new minimum required version (keep using 1.2.x for Statamic 3.2.x)
- New feature: multiple reservations. You can now query availability for different sets of dates and create a "parent" Reservation that has child reservations for that days. An example is an airplane reservation with return ticket.
- New feature: Override checkout form by entry. To do that, add an
Formfield to your entry with the handleresrv_override_form - New feature: Multiple Stripe keys by collection. You can now use an array in the config file to have different keys for collections. This is helpful in cases that you have multiple business in your website. (for example one Collection might reserve cars and the other boats)
- Removed key based translation from the emails and moved to string based one.
- Fixed #8 by saving the extra price in the pivot table during the reservation.
- Fixed #20
1.2.2
April 3rd, 2022
- Removed forgotten ray method.
1.2.0
April 1st, 2022
- NEW Relative price extras: you can know add extras that are priced relatively to your reservation price
- Code improvements
1.1.0
March 28th, 2022
New features:
- Advanced availability: set different availability and price for an item depending on the property
- Mass edit availability popup: set availability / price for multiple months at once
1.0.1
October 11th, 2021
Small bug fixes when using Mysql Full Changelog: https://github.com/reachweb/statamic-resrv/compare/v1.0.0...v1.0.1
1.0.0
October 11th, 2021
First release
.2.1.1
June 9th, 2023
- FIX: Fix sorting when reservation results are filtered
.1.3.0
April 10th, 2022
- N/A Changelog not available.