CoinPayments Crypto Payment Gateway - Bitcoin, USDT, Litecoin Invoices, Signed Webhooks | CoinPayments Payment Provider
by Modvanta
Odoo
$ 48.86

CoinPayments for Odoo 19: accept Bitcoin, USDT, Litecoin and other coins on the CoinPayments invoice page
New CoinPayments API - Signed requests and webhooks - Prices in your currency - Odoo 19 Community and Enterprise
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
CoinPayments is a crypto payment platform. This module adds it to Odoo as a payment provider on the new CoinPayments API (not the old api.php). When a customer pays a quotation, an invoice or a payment link, Odoo creates a CoinPayments invoice in your Odoo currency and sends the customer to the CoinPayments checkout, where they pick a coin and pay. CoinPayments signs its webhooks with your client secret; Odoo checks the signature, the invoice, the amount and the currency, and marks the payment as paid once the invoice is completed. Odoo never holds a wallet or a private key.
| Hosted invoice and checkout: Odoo creates the invoice with POST /merchant/invoices and sends the customer to its checkout link | |
| Signed requests: every call carries the client id, a UTC timestamp and the HMAC-SHA256 signature; the client secret is never sent | |
| Signed webhooks: each webhook signature is rebuilt from the raw body and compared in constant time; unsigned calls are refused | |
| Completed, not just paid: paid on chain but not yet credited stays pending; completed confirms the order | |
| Timed out and cancelled: an invoice that times out or is cancelled cancels the Odoo transaction | |
| Cancel from Odoo: cancel an unpaid CoinPayments invoice with one button | |
| Status check: a button and a check every 15 minutes read the invoice when a webhook is lost | |
| Instances A, B, C and sandbox: pick the CoinPayments instance your account lives on | |
| Prices in your currency: fiat currency ids are loaded from CoinPayments with one button | |
| API log: invoice, read, cancel and webhook calls with the buyer email masked |
Who it is for
ONLINE SHOPS Offer crypto next to card payments without running a wallet. | AGENCIES AND FREELANCERS Send invoices that clients pay in the coin they hold. | ODOO PARTNERS A provider on the new CoinPayments API, with signatures checked both ways. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Accept CoinPayments in Odoo 19 | Not available | Payment provider on the new CoinPayments API |
| Trust the webhook | Not available | HMAC-SHA256 signature checked on the raw body |
| Ship only when credited | Not available | Completed confirms, paid on chain stays pending |
| Webhook lost | Not available | Status button and a check every 15 minutes |
| Wallet keys | Not needed | None in Odoo: CoinPayments holds the funds |
See it in Odoo
Credentials
Platform instance, client ID and client secret of your CoinPayments API integration, and a connection test.

Webhook and currencies
The webhook URL Odoo sends with each invoice, the fiat currency ids and the log retention.

Paying an invoice
The customer picks Crypto (CoinPayments) on the invoice payment page and goes on to the CoinPayments checkout. The checkout itself is not shown.

A completed invoice
Invoice ID, status completed, the coin paid with and the invoice link.

Paid, waiting for the credit
Confirmed on chain but not yet in your balance, so the transaction stays pending. Check Status reads it again.

Cancel an open invoice
An unpaid invoice can be cancelled on CoinPayments from Odoo.

Transactions
Completed, waiting, pending, timed out and open invoices side by side.

API log
Invoice creation and the signed webhooks for pending, paid and completed.

How it works
1 | Create an API integration In the CoinPayments dashboard, create an API integration and copy its client ID and client secret. |
2 | Paste them in Odoo Invoicing > Configuration > Payment Providers > CoinPayments: pick your instance, paste the keys, press Test Connection and Load Currencies. |
3 | Test, then enable Pay a small invoice with the LTCT test coin CoinPayments offers, then switch to Enabled. The webhook URL goes with every invoice. |
Settings
| Platform Instance: A, B or C by your country of registration, or the sandbox | |
| Webhook URL: sent with each invoice; can also be set on the integration in the dashboard | |
| Fiat Currency IDs: filled by Load Currencies; CoinPayments refers to currencies by id | |
| Keep API Log: number of days before old log lines are removed |
Questions
Does Odoo hold any crypto or wallet key?
No. The customer pays CoinPayments on its checkout. Odoo only stores the invoice id and its status.
When is the order confirmed?
When the CoinPayments invoice is completed, which means the money is credited to your CoinPayments balance. Paid on chain stays pending until then.
Can I refund from Odoo?
No. CoinPayments refunds over- and underpayments and timed-out payments itself; Odoo sends no crypto.
Which coins can customers use?
The coins enabled on your CoinPayments account. The customer picks one on the checkout.
Is this the old CoinPayments API?
No. It uses the new platform API with client ID and secret. Accounts still on the legacy dashboard need the legacy API.
Compatibility
Odoo 19.0 Community and Enterprise. Depends on Payment and Invoicing (account_payment). Works with eCommerce, the customer portal and payment links.
Questions before you buy?
Write to modvantaapps@gmail.com. We answer on working days, usually within one day.
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