What You Can Do
With the eCommerce payment plugin, you can:- Accept Card Payments Online: Process credit and debit card transactions for your Odoo eCommerce store
- Secure Checkout Flow: Redirect customers to Compago’s PCI-compliant payment page
- Automatic Order Updates: Payment status is synchronized back to Odoo automatically
- Multi-Currency Support: Accept payments in MXN and USD
- Invoice Integration: Payments are automatically recorded in your Odoo invoicing system
Use Cases
This plugin is ideal for:- Online retail stores selling products through Odoo eCommerce
- Service businesses accepting deposits or full payments online
- B2B companies processing customer invoices with online payment options
- Any business that wants to offer card payments without handling sensitive payment data
Installation
Step 1: Download the Plugin
Visit the Odoo App Store and download the Compago eCommerce Payment Provider: Download link: https://apps.odoo.com/apps/modules/18.0/payment_compagoYou must have an Odoo.sh instance to install custom apps. Self-hosted or community editions may not support third-party payment provider installations.
Step 2: Install the Plugin in Odoo.sh
- Log in to your Odoo.sh dashboard
- Navigate to your instance
- Upload and install the
payment_compagomodule - Restart your instance if required
Step 3: Activate the Plugin
Once the module is uploaded to your Odoo.sh instance:- Open your Odoo instance
- Go to Apps (you may need to enable Developer Mode)
- Remove the “Apps” filter to show all modules
- Search for “Compago”
- Click Activate on the Compago Payment Provider module
Configuration
Step 1: Ensure Prerequisites
Before configuring the plugin, verify:- The Invoicing app is installed (it’s usually pre-installed in Odoo)
- Your company is configured in MXN currency
- You have at least one bank journal configured in MXN
Step 2: Configure the Payment Provider
- Navigate to Invoicing → Configuration → Payment Providers
- Find Compago in the list (it should appear automatically after activating the plugin)
- Click on the Compago provider to open the configuration form
If Compago does not appear in the payment providers list, return to the Apps menu and ensure the plugin is activated.
Step 3: Enable and Authenticate
In the Compago provider configuration form:- Enable the provider: Toggle the Enabled switch to activate Compago
-
Add your API Key:
- Locate the Credentials section
- Paste your Compago API key in the API Key field
- Generate your API key from the Compago Dashboard if you haven’t already
-
Select the environment:
- Choose Production for live transactions
- Choose Demo for testing (if available)
- Most users should select Production
Step 4: Configure the Journal
Still in the Compago provider form:- Scroll to the Configuration section
- Select a Journal from the dropdown (typically a Bank journal)
- Verify the journal is configured in MXN currency
- Save the configuration form
Step 5: Enable the Payment Method
- Navigate to Invoicing → Configuration → Payment Methods
- Find Compago in the payment methods list
- Click on it to open the form
- Toggle Enable to activate the payment method
- Save the form
Testing the Integration
To verify the integration is working:- Create a test product in your Odoo eCommerce store
- Add the product to your cart and proceed to checkout
- Select Compago as the payment method
- Complete the checkout process
- You should be redirected to Compago’s payment page
- Enter test card details (or real card details if testing in production)
- Complete the payment
- Verify you’re redirected back to your Odoo store
- Check the order status in Sales → Orders to confirm the payment was recorded
How It Works
Here’s the complete payment flow:- Customer Checks Out: Customer adds items to cart and proceeds to checkout in your Odoo store
- Selects Compago: Customer chooses Compago as the payment method
- Redirect to Compago: Customer is redirected to Compago’s secure checkout page
- Payment Processing: Customer enters card details and completes payment on Compago’s platform
- Payment Confirmation: Compago processes the transaction and confirms the result
- Return to Store: Customer is redirected back to your Odoo store
- Order Updated: The order status is automatically updated in Odoo based on the payment result
Video Tutorial
Watch the complete setup and configuration process:Video coming soon: A step-by-step walkthrough showing the installation, configuration, and first test payment.
Troubleshooting
Compago doesn’t appear in payment providers
- Verify the plugin is activated in Apps
- Click Update Apps List in the Apps menu
- Restart your Odoo instance
Payment fails with currency error
- Ensure your company is configured in MXN
- Verify the selected journal is in MXN currency
- Check that the product prices are in MXN
Customer not redirected after payment
- Verify your API key is correct and active
- Check that the environment setting matches your API key (production vs. demo)
- Review Odoo logs for any error messages
Support
If you encounter issues with the Compago eCommerce plugin:- Check your API key is valid in the Compago Dashboard
- Review the Odoo logs for detailed error messages
- Contact Compago support at [email protected] for assistance with payment processing issues