
Take card payments in Odoo through Pin Payments, with 3D Secure, capture later and refunds from Odoo.
Pin Payments | Hosted Fields | Card tokens | 3D Secure | Authorise and capture | Void | Partial refunds | Signed webhooks | AUD, NZD and 13 more currencies | Odoo 19
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Adds Pin Payments as a payment provider for Australian and New Zealand businesses. When the customer pays an order, a portal invoice or a payment link, Odoo opens its own checkout page with Pin Payments Hosted Fields: the card number, expiry and CVC are typed in fields served by Pin Payments, and Odoo only gets a card token back. Odoo then creates the charge with 3D Secure, sends the customer to their bank when the card asks for it, and reads the result back from Pin Payments. Captures, voids and refunds are made from the payment in Odoo, and signed webhooks keep Odoo up to date.
| Hosted Fields: card number, expiry, CVC and name in Pin Payments iframes on an Odoo page; billing address filled in from the customer | |
| 3D Secure: sent with each charge; the bank page opens when the card is enrolled, the result is checked with the verify call. Cards that are not enrolled can still be charged if you allow it | |
| Authorise and capture: charge at once, or authorise only and capture or void from Odoo within seven days | |
| Refunds: full or partial from the payment; refunds Pin Payments marks Pending are confirmed by webhook | |
| Signed webhooks: the Pin-Signature is checked (HMAC-SHA256, 5 minute window) before the charge or refund is read back from Pin Payments | |
| Statement reference: your own text on the customer's bank statement | |
| Status checks: a button on the payment and a check every 15 minutes for pending charges and refunds | |
| 15 currencies: AUD, NZD, USD, EUR, GBP, CAD, SGD, HKD, JPY, MYR, THB, PHP, ZAR, IDR, TWD, with the minimum charge of each checked before charging | |
| Test Connection: reads your balance to check the secret key | |
| API log: every call and webhook with its result; e-mail, IP address, card holder and address masked |
Who it is for
AUSTRALIAN ONLINE SHOPS Card payments in AUD on your own Pin Payments account. | NEW ZEALAND SELLERS NZD and the other Pin Payments currencies. | SERVICES AND BOOKINGS Authorise at booking, capture when the job is done. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Pin Payments as a payment provider | Not included | Hosted Fields card form and charges |
| 3D Secure | Not included | Bank page when needed, result verified |
| Capture later and refunds | Not included | Capture, void, full and partial refunds |
| Webhooks | Not included | Pin-Signature checked, then read back from the API |
See it in Odoo
Keys
Publishable and secret key, webhook signing key (administrators only) and the webhook URL, with Test Connection.

Charge options
3D Secure, charging cards that are not enrolled, statement reference.

At checkout
A payment link with Pin Payments. The card fields are served by Pin Payments, so screenshots show the Odoo side only.

A paid charge
Charge token, card scheme and masked number, and the amount refunded so far.

Authorised only
Capture or void it from Odoo.

A declined card
The reason Pin Payments gave is kept on the payment.

Waiting for 3D Secure
Pending until the bank page sends the customer back.

A pending refund
Confirmed later by the refund webhook.

Transactions
Charges and refunds made through Pin Payments.

API log
Each charge, refund, status read and connection test.

How it works
1 | Get your keys In the Pin Payments dashboard, API Keys: the publishable and the secret key (test first). |
2 | Set up the provider Invoicing or Website, Configuration, Payment Providers, Pin Payments: paste the keys and press Test Connection. |
3 | Add the webhook Dashboard, Account, Webhooks: add the webhook URL from Odoo and paste the endpoint key back into Odoo. |
4 | Try a payment Pay in Test mode with a Pin Payments test card, then switch to Enabled with the live keys. |
Settings
| Credentials: publishable key, secret key and webhook signing key (the last two for administrators only) | |
| Charges: 3D Secure on or off, allow cards that are not enrolled, statement reference | |
| Capture: immediate, or authorise only and capture from Odoo | |
| API log: how many days to keep it |
Questions
Do card numbers pass through my Odoo server?
No. They are typed in Pin Payments Hosted Fields and sent straight to Pin Payments; Odoo receives a one-time card token.
Can I capture part of an authorisation?
No. Pin Payments only captures the full authorised amount. Void it and charge again if the amount changes.
How long can I wait before capturing?
Seven days. After that Pin Payments lets the authorisation expire and Odoo marks the payment as cancelled when you check its status.
What if the customer closes the tab during 3D Secure?
The charge stays pending; the webhook and the check every 15 minutes read it from Pin Payments and record the result.
Is there a monthly fee?
No. You pay once; Pin Payments bills you under your own account.
Compatibility
Odoo 19 Community and Enterprise. Needs the Payment and Invoicing apps; works with eCommerce, the customer portal and payment links. Built on the public Pin Payments API documentation and tested with recorded answers. Apple Pay, Google Pay and saved cards are not included.
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