Woocommerce plugin
Installation Guide
Step-by-step installation instructions for the Bridge WooCommerce Plugin
Installation Guide
Follow this step-by-step guide to install the Bridge WooCommerce Plugin on your WordPress site.
Prerequisites
Before installing the plugin, ensure you have:
- WordPress 5.0 or higher
- WooCommerce 3.0 or higher
- PHP 7.4 or higher
- Bridge API credentials
- SSL certificate (for production)
Installation Steps
Step 1: Download the Plugin
- Download the plugin from our download page
- Save the ZIP file to your computer
Step 2: Access WordPress Admin
- Log in to your WordPress admin dashboard
- Navigate to Plugins > Add New
Step 3: Upload the Plugin
- Click Upload Plugin at the top of the page
- Click Choose File and select the downloaded ZIP file
- Click Install Now
Step 4: Activate the Plugin
- After installation, click Activate Plugin
- You should see a success message
Step 5: Verify Installation
- Go to WooCommerce > Settings > Payments
- Look for "Bridge" in the payment methods list
- The plugin should be listed and ready for configuration
Alternative Installation Methods
Method 1: FTP Upload
If you can't upload through WordPress admin:
- Extract the downloaded ZIP file
- Upload the
bridge-woocommercefolder to/wp-content/plugins/ - Go to Plugins in WordPress admin
- Find "Bridge WooCommerce Plugin" and click Activate
Method 2: WP-CLI
If you have WP-CLI access:
# Navigate to your WordPress directory
cd /path/to/wordpress
# Install the plugin
wp plugin install bridge-woocommerce-plugin-1.0.0.zip --activateMethod 3: cPanel File Manager
- Log in to your cPanel
- Open File Manager
- Navigate to
/public_html/wp-content/plugins/ - Upload the extracted plugin folder
- Activate through WordPress admin
Post-Installation Configuration
Step 1: Configure API Settings
- Go to WooCommerce > Settings > Payments
- Find "Bridge" and click Set up
- Enter your API credentials:
- API Username: Your Bridge API username
- API Password: Your Bridge API password
- Service ID: Your service identifier
Step 2: Configure Payment Methods
- Enable Mobile Money: Check to enable mobile money payments
- Enable Card Payments: Check to enable card payments
- Enable Bank Transfers: Check to enable bank transfers
Step 3: Set Up Callbacks
- Callback URL: Set your callback URL (usually your site URL +
/wc-api/thebridge_callback) - Test Callback: Use our test endpoint to verify callbacks work
Step 4: Configure SMS Settings
- Enable SMS: Check to enable SMS notifications
- Sender ID: Enter your approved sender ID
- SMS Template: Customize SMS message templates
Testing the Installation
Test 1: Plugin Activation
- Go to Plugins in WordPress admin
- Verify "Bridge WooCommerce Plugin" is active
- Check for any error messages
Test 2: Payment Method Visibility
- Go to WooCommerce > Settings > Payments
- Verify "Bridge" appears in the list
- Check that it can be enabled/disabled
Test 3: Checkout Integration
- Add a product to cart
- Go to checkout
- Verify Bridge payment option appears
- Test the payment flow (use test mode)
Troubleshooting
Common Installation Issues
Issue: Plugin won't activate
Symptoms: Error message when trying to activate the plugin
Solutions:
- Check PHP version (must be 7.4 or higher)
- Check WordPress version (must be 5.0 or higher)
- Check WooCommerce is installed and active
- Check for plugin conflicts
Issue: Fatal error on activation
Symptoms: White screen or fatal error message
Solutions:
- Check error logs in
/wp-content/debug.log - Increase PHP memory limit to 256MB
- Disable other plugins temporarily
- Contact support with error details
Issue: Payment method not visible
Symptoms: Bridge doesn't appear in payment methods
Solutions:
- Ensure WooCommerce is active
- Check if payment method is enabled
- Verify plugin is properly activated
- Clear any caching plugins
Issue: Configuration page not loading
Symptoms: Can't access plugin settings
Solutions:
- Check user permissions
- Clear browser cache
- Disable security plugins temporarily
- Check for JavaScript errors
Debug Mode
Enable debug mode to troubleshoot issues:
- Add to
wp-config.php:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);- Check logs in
/wp-content/debug.log
Getting Help
If you're still experiencing issues:
- Check Documentation: Review our configuration guide
- Contact Support: Email support@thebridgesolutions.com
- Include Details: Provide error messages, PHP version, and WordPress version
Security Considerations
SSL Certificate
- Required for Production: SSL certificate is mandatory
- Test SSL: Verify SSL is working properly
- Mixed Content: Ensure all resources load over HTTPS
API Credentials
- Secure Storage: Credentials are encrypted in the database
- Regular Rotation: Rotate API credentials regularly
- Access Control: Limit admin access to payment settings
File Permissions
- Plugin Files: 644 for files, 755 for directories
- Upload Directory: 755 with proper ownership
- Config Files: 600 for sensitive configuration files
Next Steps
After successful installation:
- Configure the Plugin: Follow our configuration guide
- Test Payments: Test all payment methods in sandbox mode
- Go Live: Switch to production mode when ready
- Monitor: Set up monitoring and logging
Uninstallation
To uninstall the plugin:
- Go to Plugins in WordPress admin
- Find "Bridge WooCommerce Plugin"
- Click Deactivate
- Click Delete to remove completely
Note: This will remove all plugin data and settings. Make sure to backup your site first.