Which settings do I need to change in DEV3 Promptly (payments, email, scheduled jobs) before it works for real customers? Is anything simulated by default?
#configuration#ai-writer#ai-chatbot#document-chat#rag
DEV3 Developer Forum
Every post is reviewed first. Usually reviewed within 24 hours.
Which settings do I need to change in DEV3 Promptly (payments, email, scheduled jobs) before it works for real customers? Is anything simulated by default?
#configuration#ai-writer#ai-chatbot#document-chat#rag
Payments
The default gateway is Simulated: checkout shows a test card page with Pay and Decline buttons and charges nothing. To take real subscription payments, open Settings → Payments, choose Stripe, PayPal or Razorpay, set the currency and keys (they are stored encrypted), and register the webhook https://your-domain/dev3/webhooks/payments/<gateway> in the gateway's dashboard. Renewals on real gateways are confirmed by that webhook. Test with sandbox or test-mode keys first: these drivers have not been run against live accounts.
Two-factor authentication
Every account can add a second sign-in step from its profile (avatar menu → Profile): an authenticator app (scan the QR code, then keep the 8 single-use recovery codes) or a 6-digit code by email, which needs working mail.
/admin./app; members turn it on themselves.php artisan dev3:2fa-reset you@example.com. Resets and every change are written to the audit log.APP_KEY, so if you change the key, reset 2FA for the affected users.DEMO_MODE=true, the one-click demo logins never ask for a code and 2FA can't be turned on.Cron and queue
Add one cron entry that runs Laravel's scheduler every minute:
* * * * * cd /path/to/promptly && 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 starts each workspace's new credit period when its renewal date passes (promptly:renew-credits, hourly), runs queued jobs on hosts without a worker, and, only when DEMO_MODE=true, runs the nightly demo reset.
The queue is sync by default (document indexing runs inside the upload request; nothing to set up). For large documents or busy sites, set QUEUE_CONNECTION=database and run php artisan queue:work under Supervisor.
Until you set up mail, outgoing email is written to the log. Open Settings → Mail, choose SMTP and enter the host, port (587 for TLS or 465 for SSL), username, password and from address. Invitations, low-credit warnings, new-lead alerts, receipts and password resets all use it. In demo mode mail always goes to the log.