Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Payment Providers
  3. BML Connect Payment Gateway - Bank of Maldives Payment | Maldives Payment Gateway MVR v 19.0
  4. Sales Conditions FAQ

BML Connect Payment Gateway - Bank of Maldives Payment | Maldives Payment Gateway MVR

by Modvanta https://modvantaapps.tech/odoo-apps/payment-bml-connect/
Odoo

$ 48.86

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
BML Connect Payment Gateway for Odoo 19
Odoo 19BML payment pageMVR + USDSigned webhooksPre-authorizationSaved cards39 automated tests

BML Connect Payment Gateway for Odoo 19

Accept payments through BML Connect, the Bank of Maldives merchant gateway, in Odoo eCommerce, the customer portal, invoices and payment links. Customers pay on the BML payment page in MVR or USD; Odoo confirms every payment with the BML API and signed webhooks, and keeps saved cards for later charges.

Buy Now - $49Ask a Question

Written and supported by Modvanta - modvantaapps@gmail.com

What it does

The module adds BML Connect as an Odoo payment provider. When a customer pays, Odoo creates a BML Connect transaction and sends the customer to the BML payment page, where they pay with a card or another payment method enabled on your BML merchant account. When the customer comes back, and whenever BML sends a webhook, Odoo reads the transaction from the BML API and confirms, authorizes or declines the payment.

Who it is for: Shops, hotels, resorts and service companies in the Maldives with a Bank of Maldives merchant account and BML Connect access, selling in Maldivian rufiyaa (MVR) or US dollars.

Why merchants pick it

BML payment page
Customers pay on the secure BML Connect page with the payment methods of your merchant account; you can open one method directly.
Never trusts the browser
The state appended to the return URL is ignored: Odoo always reads the transaction from the BML API.
Signed webhooks
Webhooks are checked with the X-Signature (SHA-256 of nonce, timestamp and your API key) before Odoo looks at them.
Pre-authorize, then capture
Authorize now, then capture or cancel the pre-authorization from the Odoo transaction.
Saved cards
Card on file: the customer saves the card on BML once; later invoices and orders are charged with the stored token. Removing it deletes it on BML.
Customer details sent
Name, e-mail and billing address go to BML so the payment page can skip its customer form; your terms can be marked as accepted.

Key features

Create Transaction (V2) with amount in laari / cents, MVR and USD
Redirect to the BML payment page (full URL; short link kept on the transaction)
Optional preselected payment method (skip the method selection)
Customer and billing address sent; BML customer reused per contact
Skip the customer form and accept your terms on the BML page
Payment link lifetime setting
Return URL protected by an access token and a transaction id check
Get Transaction after every return and webhook
Webhook signature check (X-Signature-Nonce / Timestamp / Signature)
Amount and currency checked against Odoo
States: confirmed, authorized, failed, cancelled, voided, refund requested
Pre-authorization: capture or cancel from Odoo
Card on file: card saved on BML, token list read, charge stored token
Saved card deleted on BML when removed in Odoo
Failure reason from the BML error history shown on the transaction
Recovery job: pending payments polled, expired links cancelled
UAT environment in Test mode, production when enabled
API log with the API key masked, connection test button

Pay at checkout

BML Connect appears with your other payment methods in the Odoo 19 eCommerce checkout.

Pay at checkout

API key and webhook

One API key from the BML Merchant Dashboard, the webhook URL to copy and a connection test.

API key and webhook

Payment page options

Preselected payment method, skip the customer form, terms URL and payment link lifetime.

Payment page options

Confirmed payment

BML transaction id, state, payment method, card and the short payment link on the transaction.

Confirmed payment

Pre-authorization

An authorized payment waiting for capture, with the Capture and Void (cancel) buttons.

Pre-authorization

Failed payments

The reason BML recorded is shown on the transaction and to the customer.

Failed payments

Saved card

The card stored on BML: token, BML customer, brand and expiry, ready for later payments.

Saved card

API log

Every BML Connect call and webhook, with the API key masked.

API log

How it works

1
Create an integration app
In the BML Merchant Dashboard (UAT for testing) create an app under Connect and copy its API key.
2
Configure Odoo
Open Payment Providers > BML Connect, paste the API key and press Test Connection. Optionally preselect a payment method and set your terms URL.
3
Test on UAT
Keep the provider in Test mode: payments go to the BML UAT environment.
4
Go live
Paste the production API key, set the provider to Enabled and publish it.

Settings

API KeyKey of your BML Connect integration app (UAT key in Test mode).
App IDClient id of the app, for reference.
Webhook URLSent with every payment; can also be set in the dashboard.
Preselected Payment MethodOpen one BML payment method directly (for example cards).
Skip the Customer FormSend the customer details from Odoo instead.
Terms and Conditions URLMark your terms as accepted on the BML page.
Payment Link LifetimeMinutes before the BML payment page expires.
Capture Amount ManuallyStandard Odoo option: pre-authorize, capture later.

FAQ

Which currencies are supported?
MVR and USD, the currencies BML Connect settles for merchants.
Can I refund from Odoo?
Refunds are made in the BML Merchant Dashboard: BML Connect does not publish a refund API. The Odoo payment stays confirmed while BML processes the refund.
What if the customer closes the browser after paying?
BML sends a signed webhook and a recovery job polls pending payments, so the order is confirmed anyway.
Are cards stored in Odoo?
No. Cards are stored by BML. Odoo keeps the token id, the BML customer, the brand and the last digits.
Do I need a BML account?
Yes, a Bank of Maldives merchant account with BML Connect access and an integration app (API key) created in the Merchant Dashboard.

Compatibility and support

Odoo 19 Community and Enterprise, on premise and Odoo.sh. Depends only on the standard payment and account_payment modules; eCommerce, portal, invoices and payment links use it automatically.

Questions, installation help or a feature request: write to modvantaapps@gmail.com.

Buy Now - $49
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 963
Technical Name mdv_payment_bml_connect
LicenseOPL-1
Websitehttps://modvantaapps.tech/odoo-apps/payment-bml-connect/
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with