Tilopay Payment Gateway Costa Rica - Tilopay Checkout, Refund, Capture | Tilopay Payment Provider
by Modvanta
Odoo
$ 24.93

Tilopay for Odoo 19: card payments on the Tilopay payment form, with refunds and manual capture from Odoo
Tilopay Checkout - Visa, Mastercard, Amex - USD and CRC - Partial refunds - Authorize and capture
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Tilopay is a Costa Rican payment company that serves shops across Central America and the Caribbean. This module adds it to Odoo as a payment provider. When a customer pays, Odoo asks Tilopay for a payment form and sends the customer there. When the customer comes back, Odoo does not trust the code in the return address: it asks Tilopay for the order with your API credentials and checks the amount and the currency before the payment is confirmed.
| Tilopay payment form: processPayment returns the form address; the card is typed on Tilopay, never in Odoo | |
| Result read from Tilopay: the consult API is called on return, from a button and every 15 minutes | |
| Checks before confirming: order number, amount and currency must match the Odoo transaction | |
| Full and partial refunds: processModification type 2 from the Refund button, with the amount you type | |
| Authorize, then capture: tick Manual Capture: the payment is held, then captured or voided from Odoo | |
| Payment details: Tilopay transaction ID, authorization code, card brand, last 4 digits, net to settle | |
| Customer address sent: name, address, ISO state code (CR-SJ style), country, phone and email from the order | |
| Unpaid clean-up: payments Tilopay never recorded are cancelled after 48 hours (you choose the delay) | |
| Token handling: the login token is kept in memory and renewed when it expires or is refused | |
| API log: each call and customer return logged with the API user, password, key and token masked |
Who it is for
SHOPS IN COSTA RICA Take cards on the Odoo website in colones or US dollars. | COMPANIES THAT INVOICE Send an invoice with a Pay Now link; the payment is matched to it. | HOTELS AND TOUR OPERATORS Hold the amount at booking and capture it later from Odoo. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Accept Tilopay in Odoo 19 | Not available | Payment provider with the Tilopay payment form |
| Know the payment is real | Not available | Order read back from Tilopay, amount and currency checked |
| Refund part of an order | Not available | processModification from the Refund button |
| Hold now, charge later | Not available | Manual capture, then Capture or Void on the payment |
| Customer closed the browser | Not available | Scheduled check every 15 minutes |
See it in Odoo
Credentials
The API user, password and key from your Tilopay admin, and a connection test.

Options
API address, platform name, the delay before unpaid payments are cancelled, and log retention.

Paying an invoice
The customer picks Tilopay on the invoice and is sent to the Tilopay payment form.

A paid order
Transaction ID, authorization code, card brand and last 4 digits, read from the consult API.

Partial refund
20,000 CRC refunded on a 120,000 CRC payment.

Transactions
Paid, waiting, refunded and declined payments.

API log
Token, payment form, consult, customer return and refund calls, secrets masked.

How it works
1 | Get your API credentials In your Tilopay admin, Checkout section, copy the API user, password and key. Start with test credentials. |
2 | Fill in the provider Invoicing > Configuration > Payment Providers > Tilopay. Paste the three values and press Test Connection. |
3 | Go live Replace them with your production credentials and set the provider to Enabled. |
Settings
| API Address: https://app.tilopay.com by default; the credentials decide test or production | |
| Platform Name: sent with each payment so Tilopay knows the sale came from Odoo | |
| Cancel Unpaid After: hours before a payment Tilopay never recorded is cancelled; 0 keeps it | |
| Manual Capture: core Odoo option: authorize only, then capture or void | |
| Keep API Log: days of API log kept |
Questions
Does the card number pass through Odoo?
No. The customer types it on the Tilopay payment form.
Why is the code in the return address not used?
It is not signed with a method Tilopay publishes, so Odoo reads the order from the consult API instead.
Which currencies?
The currency of the order is sent as its ISO code (USD, CRC and others your Tilopay account accepts).
Can I use manual capture with the card brands shown?
Odoo core asks you to turn off the Visa, Mastercard and Amex brand methods on the provider first; the Card method stays.
Where do the screenshots come from?
From an Odoo 19 test database. The Tilopay payment form itself is not shown.
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