Which settings do I need to change in DEV3 Slotwise (payments, email, scheduled jobs) before it works for real customers? Is anything simulated by default?
#configuration#booking#appointments#scheduling#saas
DEV3 Developer Forum
Every post is reviewed first. Usually reviewed within 24 hours.
Which settings do I need to change in DEV3 Slotwise (payments, email, scheduled jobs) before it works for real customers? Is anything simulated by default?
#configuration#booking#appointments#scheduling#saas
Payments
The default gateway is Simulated: checkout shows a test card page with Pay and Decline buttons and charges nothing. To take real payments, open Settings → Payments, choose Stripe, PayPal or Razorpay, set the keys (they are stored encrypted), and register the webhook https://your-domain/dev3/webhooks/payments/<gateway> in the gateway's dashboard. The same gateway collects businesses' subscriptions and customers' deposits; each business's deposits are charged in its own currency.
Test with sandbox or test-mode keys first: the real drivers have not been run against live accounts. Subscription renewals on Stripe, PayPal and Razorpay leave the renewal invoice open until the gateway's webhook confirms payment, so the webhook must be reachable. Only the simulated gateway charges renewals by itself.
Cron and queue
Add one cron entry that runs Laravel's scheduler every minute:
* * * * * cd /path/to/slotwise && php artisan schedule:run >> /dev/null 2>&1
In cPanel choose Once per minute and use the full PHP path if needed. System → System health shows when the scheduler last ran. The scheduler runs:
slotwise:send-reminders every 5 minutes: email and SMS reminders that are dueslotwise:expire-holds every 5 minutes: releases bookings whose deposit was not paid in timesaas:renew daily: renews subscriptions, ends trials and scheduled cancellations, and expires past-due accounts after the grace perioddev3:demo-reset nightly, only when DEMO_MODE=trueWithout the cron entry no reminders go out and unpaid holds keep their slots. The queue is sync by default (jobs run inside the request; nothing to set up). For a busy platform, set QUEUE_CONNECTION=database and run php artisan queue:work under Supervisor so emails go out in the background.
Until you set up mail, outgoing email is written to the log. Open Settings → Mail in /admin, choose SMTP and enter the host, port (587 for TLS or 465 for SSL), username, password and from address. Confirmations with calendar invites, reminders, reschedules, cancellations, invitations and invoice receipts all use it. In demo mode mail always goes to the log.
Two-factor sign-in
Every account can turn on two-factor sign-in from its profile (avatar menu → Profile): an authenticator app (TOTP) with 8 single-use recovery codes, or a 6-digit code by email (needs working mail).
/admin, turn on Settings → Security → Require 2FA for staff. For business teams (/app), staff (/staff) and customers (/account) it stays optional.php artisan dev3:2fa-reset you@example.com on the server.APP_KEY; if you change APP_KEY, reset 2FA for the affected users.