I’m trying to get hiEvents docker to run. I’ve set a webhook secret, public key and a secret key in my stripe dashboard and pasted them into the .env file which looks like that:
# See the README.md file for information on how to generate the JWT_SECRET and APP_KEY
APP_KEY=
JWT_SECRET=
# Frontend variables (Always prefixed with VITE_)
VITE_FRONTEND_URL=https://tickets.domain.de
VITE_API_URL_CLIENT=https://tickets.domain.de/api
VITE_API_URL_SERVER=https://tickets.domain.de:8123/api
VITE_STRIPE_PUBLISHABLE_KEY=pk_live_51RD8OsCiPN3MBpYFcAItRuepeR8mC4sD8Z5PuUb01f9cJPBmWXexhhwOGO9I2UBi2skFZEhnR4Wzxt4amKHfJbuM00Jd5arv5u
VITE_STRIPE_REDIRECT_URI=https://tickets.domain.de/api/stripe/oauth/callback
# Backend variables
# These values may not be suitable for production environments.
# Please refer to the documentation for more information on how to configure these values
# https://hi.events/docs/getting-started/deploying
LOG_CHANNEL=stderr
QUEUE_CONNECTION=sync
# Application settings
APP_CDN_URL=https://tickets.domain.de:8123/storage
APP_FRONTEND_URL=https://tickets.domain.de:8123
APP_DISABLE_REGISTRATION=true
APP_SAAS_MODE_ENABLED=true
APP_SAAS_STRIPE_APPLICATION_FEE_PERCENT=0
APP_SAAS_STRIPE_APPLICATION_FEE_FIXED=0
# Email settings (Using log mailer for local testing)
MAIL_MAILER=log
MAIL_DRIVER=log
MAIL_HOST=mail.local
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
[email protected]
MAIL_FROM_NAME="Hi Events"
# File storage settings
FILESYSTEM_PUBLIC_DISK=public
FILESYSTEM_PRIVATE_DISK=local
# Database settings
DATABASE_URL=postgresql://postgres:secret@postgres:5432/hi-events
# Stripe settings (Replace with valid test keys if necessary)
STRIPE_PUBLIC_KEY=pk_live_51RD8OsCiPN3MBpYFcAItRuepeR8mC4sD8Z5PuUb01f9cJPBmWXexhhwOGO9I2UBi2skFZEhnR4Wzxt4amKHfJbuM00Jd5arv5u
STRIPE_SECRET_KEY=sk_live_
STRIPE_WEBHOOK_SECRET=whsec_
Upon starting docker however, Laravel throws an exception:
production.ERROR: Failed to create or fetch Stripe Connect Account: Only Stripe Connect platforms can work with other accounts. If you specified a client_id parameter, make sure it's correct. If you need to setup a Stripe Connect platform, you can do so at https://dashboard.stripe.com/account/applications/settings. {"accountId":1,"stripeAccountId":"acct_","accountExists":"true","exception":"[object] (Stripe\\Exception\\PermissionException(code: 0): Only Stripe Connect platforms can work with other accounts. If you specified a client_id parameter, make sure it's correct. If you need to setup a Stripe Connect platform, you can do so at https://dashboard.stripe.com/account/applications/settings. at /app/backend/vendor/stripe/stripe-php/lib/Exception/ApiErrorException.php:38)
Which suggests that my account doesn’t have stripe connect set up. But if I look into my connect-overview in my stripe dashboard, my account is marked as active.
Does anyone have a solution to this?
Any help would be greatly appreciated,
regards derelektrischemoench