Official PayPal payment integration for PteroCA Panel.
- PayPal Orders API v2 integration
- Support for 25+ currencies
- Sandbox and Production modes
- Secure credential management
- Real-time payment status tracking
- Automatic order capture
- Automatic dependency installation
- Navigate to Settings → Plugins in PteroCA admin panel
- Click "Upload Plugin" button
- Upload the plugin ZIP file
- Plugin will be automatically installed with all dependencies
- Enable the plugin in the plugins list
- Configure plugin settings
- Upload plugin to
plugins/paypal-payment/directory - Install dependencies:
docker exec pteroca_web_dev php bin/console pteroca:plugin:install-deps paypal-payment - Enable plugin in PteroCA admin panel
- Configure plugin settings in admin panel
- Create PayPal Developer account at https://developer.paypal.com
- Go to Dashboard → My Apps & Credentials
- Click "Create App" under REST API apps
- Enter app name and click "Create App"
- Copy the following credentials:
- Client ID (visible immediately)
- Client Secret (click "Show" to reveal)
- Note: You'll see both Sandbox and Live credentials - use appropriate ones for your mode
- Navigate to Settings → Plugins in admin panel
- Find "PayPal Payment Provider" plugin
- Click "Configure" or settings icon
- Fill in the configuration:
- Enable PayPal: Toggle to Yes
- PayPal Client ID: Your Client ID from PayPal Developer Dashboard
- PayPal Client Secret: Your Client Secret (keep this secure)
- PayPal Mode:
- Select "sandbox" for testing with test accounts
- Select "live" for production with real payments
- Save settings
- Payment Initiation: When a user selects PayPal and initiates payment, the plugin creates a PayPal order using the Orders API v2
- Redirect to PayPal: User is redirected to PayPal's secure checkout page to approve the payment
- Payment Approval: User logs in to PayPal and approves the payment
- Automatic Capture: Upon return, the plugin automatically captures the approved order
- Balance Update: User's balance is updated in PteroCA Panel
The plugin uses redirect-based payment flow with automatic order capture for a seamless user experience.
Use PayPal Sandbox for testing:
- Set PayPal Mode to "Sandbox"
- Use sandbox credentials from PayPal Developer Dashboard
- Test with PayPal sandbox accounts (create them in Developer Dashboard)
- All transactions in sandbox mode are simulated and use test money
- Ensure plugin is enabled in Settings → Plugins
- Verify "Enable PayPal" is set to Yes in plugin configuration
- Check that Client ID and Client Secret are configured
- Verify you're using the correct credentials for your selected mode (Sandbox vs Live)
- Check that your PayPal app credentials are active
- Review logs in
var/log/directory for detailed error messages - Ensure your currency is supported by PayPal
- Both Client ID and Client Secret must be filled in
- Credentials must not contain extra spaces or characters
- Make sure you've saved the configuration after entering credentials
USD, EUR, GBP, CAD, AUD, JPY, PLN, CHF, CZK, DKK, SEK, NOK, HUF, ILS, MXN, BRL, INR, SGD, HKD, NZD, PHP, THB, ZAR, MYR, TWD, TRY, RUB
- PteroCA Panel 0.6.0+
- PHP 8.2+
- PayPal REST API credentials
- Composer (automatically handled by PteroCA when using panel upload)
MIT License