Integrations
Configuration
Configure integration credentials, field mapping, and OAuth settings.
Environment Variables
Each integration is controlled by provider-specific credentials.
Stripe
.env
FILAFORMS_STRIPE_SECRET_KEY=sk_live_...
FILAFORMS_STRIPE_PUBLISHABLE_KEY=pk_live_...
FILAFORMS_STRIPE_WEBHOOK_SECRET=whsec_...
FILAFORMS_STRIPE_FEE_PERCENT=2
FILAFORMS_STRIPE_CURRENCY=USD
Google Sheets
.env
FILAFORMS_GOOGLE_SHEETS_ENABLED=true
FILAFORMS_GOOGLE_CLIENT_ID=your-id.apps.googleusercontent.com
FILAFORMS_GOOGLE_CLIENT_SECRET=your-secret
FILAFORMS_GOOGLE_API_KEY=your-api-key
Google Sheets requires enabling the Google Sheets API, Google Drive API, and Google Picker API in your Google Cloud Console project.
OAuth Callback URL
For local development with Laravel Herd's .test domains, use a tunneling service like fwd.host:
.env
FILAFORMS_OAUTH_CALLBACK_URL=https://fwd.host/http://your-site.test/filaforms/connections/oauth/callback
Google OAuth requires the exact redirect URI to be registered in Google Cloud Console. Wildcards are not supported.
In production, omit this variable to use the default route URL.
Field Mapping Defaults
config/filaforms-integrations.php
'field_mapping' => [
'include_unmapped_fields' => false,
'default_transformation' => 'none',
],
| Option | Default | Description |
|---|---|---|
include_unmapped_fields | false | Pass unmapped form fields through to the integration payload |
default_transformation | none | Default transformation applied to all mapped fields |