Plugin Settings
Manage configuration settings for installed plugins.
Breadcrumb: System Configuration > Plugin Settings
Overview
Plugin Settings provide a centralized location to configure all installed plugins. Each plugin can define its own configuration schema, and PteroCA automatically generates admin UI for managing these settings.
Key Features:
Dynamic settings per plugin
Schema-based validation
Type-safe configuration
Namespace isolation
Default value support
Settings Overview
Location
Settings → Plugins (Admin Panel)
Configuration
Per-plugin configuration forms
Storage
Database (setting table)
Namespace
plugin:{plugin-name}
CLI Coverage
None (Admin Panel only)
Note: Plugin settings are only configurable via Admin Panel. The CLI wizard does not cover plugin configuration.
How Plugin Settings Work
Each installed plugin can define its own configuration options. PteroCA automatically generates a settings form in the Admin Panel where you can configure these options.
Common Setting Types:
Text fields - For API keys, usernames, URLs
Password fields - For secret keys and passwords
Toggles - To enable/disable features
Dropdowns - To select from multiple options (e.g., sandbox vs live mode)
Number fields - For limits, timeouts, port numbers
Each plugin determines which settings it needs. For example, a payment plugin might need API credentials and an enable/disable toggle.
Configuring Plugin Settings
Log in to the Admin Panel
Navigate to Settings in the main menu
Click Plugins
Select the plugin you want to configure from the list
Fill in the required settings (marked with *)
Configure optional settings as needed
Click Save
Tips:
Required fields are marked with an asterisk (*)
Hover over the (?) icon for help text about each setting
Some settings only appear after enabling certain features
Always test after changing plugin settings
Common Plugin Types and Their Settings
Different types of plugins require different configuration options. Here are some examples:
Payment Plugins
Payment plugins (like PayPal, Stripe alternatives) typically need:
API Credentials - Client ID and Secret for authentication
Environment Mode - Sandbox (testing) or Live (production)
Enable/Disable Toggle - To activate or deactivate the payment method
Display Name - How the payment method appears to customers
Example: Configuring PayPal Plugin
Navigate to Settings → Plugins → PayPal Payment
Enter your PayPal Client ID (from PayPal Developer Dashboard)
Enter your PayPal Client Secret
Select "Sandbox" for testing or "Live" for production
Enable the "Allow PayPal Payments" toggle
Click Save
Integration Plugins
Plugins that connect to external services usually need:
API Endpoint URL - Where the service is located
API Key or Token - For authentication
Timeout Settings - How long to wait for responses
Enable/Disable Toggle - To control if the integration is active
Notification Plugins
Plugins for sending notifications typically configure:
Notification Methods - Email, SMS, Discord, etc.
Service Credentials - API keys for notification services
Templates - Message formatting and content
Trigger Conditions - When to send notifications
Customization Plugins
Plugins that modify appearance or behavior may have:
Theme Colors - Color pickers for branding
Logo/Image Uploads - Custom graphics
Feature Toggles - Enable/disable specific features
Text Content - Custom messages or labels
Default Plugins
PteroCA includes several plugins that may have settings:
Hello World Plugin
Purpose: Example plugin demonstrating plugin system
Settings: Minimal example settings
Location: plugins/hello-world/
PayPal Payment Plugin
Purpose: Accept payments via PayPal
Settings:
PayPal Client ID (API credentials)
PayPal Client Secret
Environment Mode (sandbox/live)
Enable/Disable toggle
Location: plugins/paypal-payment/
Setup Guide: See Payment Settings
Best Practices
Review Settings:
Understand what each setting does
Read help text carefully
Check plugin documentation
Test in Sandbox:
Use test/sandbox modes when available
Verify functionality before enabling
Test with small transactions
Keep Credentials Secure:
Use strong API keys
Rotate credentials periodically
Don't share screenshots with secrets
Monitor Plugin Behavior:
Check logs after enabling
Verify expected functionality
Watch for errors
Troubleshooting
Settings Not Saving
Problem: Plugin settings don't persist
Causes:
Validation errors
Database issues
Cache problems
Solutions:
Check for Error Messages:
Look for validation errors in UI
Check browser console (F12)
Verify Required Fields:
Ensure all required fields filled
Check field types match
Clear Cache:
Check Logs:
Plugin Not Appearing
Problem: Plugin settings page not showing
Causes:
Plugin not installed
Plugin not active
No config_schema defined
Solutions:
Verify Plugin Installation:
Check
plugins/directoryEnsure plugin files present
Check Plugin Status:
Navigate to Plugins management
Verify plugin is enabled
Verify config_schema:
Open
plugin.jsonEnsure
config_schemaexists and valid
Clear Cache:
Invalid Setting Values
Problem: Setting value causing errors
Causes:
Type mismatch
Invalid format
Out of range
Solutions:
Check Type:
Ensure value matches type
Number for number fields
Boolean for boolean fields
Validate Format:
URLs must include protocol
Emails must be valid format
Numbers within acceptable range
Reset to Default:
Delete setting to use default
Or manually set to plugin's default value
Plugin Behavior After Setting Change
Problem: Plugin not responding to setting changes
Causes:
Cache not cleared
Plugin not reloaded
Settings not yet applied
Solutions:
Clear Cache:
Restart Workers:
Check Application:
Some plugins require application restart
Refresh browser
Log out and back in
Related Documentation
Payment Settings - Configure payment plugins
General Settings - Core system settings
Email Settings - SMTP configuration for plugin notifications
Need Help?
If you're having trouble configuring a plugin:
Check Plugin Documentation - Most plugins include setup instructions
Review Plugin Settings Page - Read the help text for each field
Contact Plugin Developer - For plugin-specific issues
Check PteroCA Community - Other users may have similar questions
For Plugin Developers: If you're developing custom plugins, see the Plugin Development Guide in the For Developers section.
Last updated