I have a reservations site that needs a small edit.
Currently if a user makes a booking the room becomes 'provisionally' booked and disappears from the 'available' list even if it hasn't been paid for.
I want to have the room only remain unavailable for a given number of days if payment has not been made.
This would be possible as there's a timestamp column in the contracts table so you'd only need to write a pseudocron plugin to look for contracts where the timestamp is > N days and the deposit_paid = 0.
Once N is exceeded AND there is still no payment the room would revert to unbooked.
Any questions please use PMB
Thanks