Odoo (draft2)
Prerequisites
- MultiSafepay account
- Odoo 18.0
- Python 3.9+ (tested on 3.12)
- Administrator privileges on your Odoo instance
Installation
Before installing the module, make sure all its Python dependencies are installed in the same Python environment used by your Odoo instance:
pip install multisafepay
The module can be installed in two ways:
Manual Installation from the Odoo Interface
-
Sign in to your Odoo backend as Administrator.
-
Go to Apps > Update Apps List.
-
Go to Apps > Import module.
-
Select the ZIP file of the module "payment_multisafepay_official".
-
After uploading, search for MultiSafepay in the Apps list.
-
Click Install.
-
Go to Apps > MultiSafepay and click Activate.
Server Installation
This installation method is intended for administrators who have access to the server where Odoo is running. Unlike the manual upload, the module must be placed on the server inside an existing custom addons directory or in a new directory that you add to Odoo’s configuration file.
- Edit your odoo.conf file to find (or define a new one) directory where the module is located:
# In your odoo.conf file addons_path = /path/to/odoo/addons,/path/to/custom_addons
- Copy the module into the
custom_addons
directory:cd /path/to/custom_addons cp -r /path/to/payment_multisafepay_official .
- Restart your Odoo server:
- Docker:
docker-compose restart odoo
- Systemd:
sudo systemctl restart odoo
- Docker:
- Sign in to your Odoo backend as Administrator and go to Apps > Update Apps List.
- Search for the MultiSafepay in the Apps list.
- Click Install.
- Go to Apps > MultiSafepay and click Activate.
Configuration
- Sign in to your Odoo backend.
- Go to Invoicing > Configuration > Payment Providers.
- Click MultiSafepay.
- Select a State (Test Mode for test) and enter your corresponding test API Key.
- Save your changes.
- To get payment methods from your MultiSafepay account, go to Configuration and click "Pull Payment Methods" to fetch and activate all payment methods available in your account.
- Test the integration: Submit a test transaction to ensure everything is functioning correctly.
- Switch to Live Mode changing State to Enabled and enter your corresponding live API Key.
- Verify that your payment method settings remain in place after switching to live mode.
- Set the payment provider as Published.
User guide
Orders
Your customers can place orders through the checkout page, and administrators can also create invoices directly from the Odoo backend.
Checkout page
- After selecting an item, click View cart > Checkout.
- Enter an existing address or provide a new one. You can configure delivery and billing addresses individually.
- Click Confirm.
- At the checkout page, select the payment method and click Pay now.
- Provide any required information (e.g. bank account number), and confirm payment.
- When the transaction is completed, Odoo will receive an Order Confirmed webhook notification and will confirm the order.
- You can find your orders confirmed under Website > eCommerce > Orders.
Create an invoice
- Sign in to your Odoo backend.
- Go to Invoicing > Customer > Invoices
- Click New.
- Fill the required fields:
- Select an existing customer or create a new one under Customer > Search More > New.
- Enter an existing Delivery Address or create a new one.
- Select the item under Invoice Lines.
- Click Send to email the invoice to the customer.
- The customer can open the invoice from the email and click the Pay Now button if the invoice is unpaid.
- Alternatively, as an administrator you can generate a Payment Link from the invoice, copy it, and send it manually to the customer.
Refunds
In Odoo, you can process full and partial refunds. Orders that have been shipped
cannot be refunded unless returned. To process a refund for an order:
- Sign in to your Odoo backend.
- Go to Website > eCommerce > Orders.
- Click the relevant order you want to refund.
- On the order page, go to Invoices > Payments.
- Click Refund. Enter the maximum allowed amount for a full refund or modify it to process a partial refund.
- Click Refund.
Payment methods
By default, any payment method you activate in your MultiSafepay account will be available for your backend. Newly activated payment methods must be enabled manually in your backend settings.
To configure your payment methods:
- Sign in to your Odoo backend.
- Go to Invoicing > Configuration > Payment Providers.
- To enable or disable payment methods individually, click Enable Payment Methods. Here, you can inspect each payment method, their minimum and maximum amounts and supported currencies.
Updates
Before updating:
- Create a backup of your database, especially before an update.
- Always download the latest Odoo version from our official MultiSafepay repository.
- Replace old module files with the updated files.
How to update your plugin
- Update the required Python dependencies by entering the following command
cd payment_multisafepay_official/
pip install -r requirements.txt --upgrade
- Restart Odoo
- Upgrade your Odoo module by going to Apps > MultiSafepay Official > Upgrade.
You can also upgrade the module via the following command line:
odoo-bin -u payment_multisafepay_official -d your_database_name
Support
Contact MultiSafepay:
- Email: [email protected]
- GitHub: Create a technical issue
Updated about 12 hours ago