PayTrace Payment Gateway - Hosted Card Fields, Refund, Capture | PayTrace Payment Provider
by Modvanta https://modvantaapps.tech/odoo-apps/payment-paytrace/
Odoo
$ 39.88

Take PayTrace payments on your Odoo 19 website, invoices and payment links
Card fields hosted by PayTrace | Capture and void | Refunds | Vault | AVS and CSC results
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
The customer stays on your Odoo page. The card fields are hosted by PayTrace (Protect.js) in an iframe, which returns one-time tokens, and Odoo pays with those tokens through the PayTrace API. PayTrace answers immediately, so no webhook is needed.
| Hosted card fields: Protect.js puts the PayTrace fields on the Odoo payment form; the card number goes straight to PayTrace. | |
| Sale or authorization: Sale by default; with Capture Amount Manually, authorize and then capture or void from Odoo. | |
| Refunds: Partial or full refunds of settled payments. Before settlement, a full refund is sent as a void. | |
| Saved cards in the Vault: A customer profile is created with the payment or from the portal, and deleted from the Vault when the card is removed from Odoo. | |
| Fraud results: AVS and CSC answers and the masked card number are kept on the transaction. | |
| Partial approvals refused: If PayTrace approves another amount than requested, the payment is refused and voided automatically. | |
| API log: Every call is logged with credentials and tokens masked. |
Who it is for
MERCHANTS ON PAYTRACE US businesses with a PayTrace account selling on an Odoo website. | B2B SELLERS Companies that authorize orders and capture when they ship. | ACCOUNTING TEAMS People who send invoices with a Pay Now button and refund from Odoo. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Pay with PayTrace at checkout | No | Yes, with fields hosted by PayTrace |
| Capture and void from Odoo | No | Yes |
| Refund from Odoo | No | Full or partial |
| Saved cards | No | PayTrace Vault customer profiles |
Screenshots
Taken on a clean Odoo 19 database in test mode. The gateway answers come from a local simulator written from the public API documents of PayTrace, so no real card or merchant account was involved. On the payment form, the card fields shown are a stand-in for the PayTrace iframe, which needs a real account.
1. Connect your account
API user, merchant ID and integrator ID, with a Test Connection button.

2. PayTrace at checkout
The card fields appear on the Odoo page; here a bench stand-in for the PayTrace iframe.

3. Payment confirmation
The customer lands on the Odoo confirmation page.

4. Transaction details
Response code, approval code, masked card, AVS and CSC results.

5. Partial refund
A refund made from Odoo.

6. Authorized, ready to capture
Capture or void the authorized amount from the Odoo transaction.

7. API log
Each call with its status; open a line to see the masked request and answer.

How it works
| 1 | Ask PayTrace for sandbox credentials and your integrator ID. |
| 2 | Install the module and open Invoicing -> Configuration -> Payment Providers -> PayTrace. |
| 3 | Enter the API user, password, merchant ID and integrator ID, then press Test Connection in Test mode. |
| 4 | Pay once with a PayTrace test card, then switch to Enabled with your production API user. |
Settings
| API Username / Password: The API user of your PayTrace account; use a different one for production. | |
| Merchant ID: Sent with each transaction. | |
| Integrator ID: Given by PayTrace with the sandbox credentials. | |
| Capture Amount Manually: Authorize at checkout and capture later. | |
| Keep API Log (days): Older lines are removed by a scheduled job. |
FAQ
Has it been run against a live PayTrace account?
Not yet. The automated tests and the screens use answers shaped exactly like the public PayTrace API documents. Run a test payment in your PayTrace sandbox before going live, and write to us if an answer differs: we fix it.
Which currency?
US dollars: the PayTrace API has no currency field.
Does Odoo see the card number?
No. Odoo only receives the one-time tokens of Protect.js and the masked number.
Can I refund a payment the same day?
A full refund before settlement is sent as a void. PayTrace refuses a partial refund before settlement, and Odoo shows that message.
Where do I set the address and security code rules?
In the PayTrace Virtual Terminal, under Account -> Security Settings. A payment PayTrace voids for a mismatch is shown as an error in Odoo.
Compatibility
Odoo 19 CommunityOdoo 19 EnterpriseeCommerceInvoicesPayment linksPayTrace API v3
Support
Questions, a bug, or a change you need: write to us, we answer every email.
EMAIL | AUTHOR Modvanta | INCLUDED Free fixes for Odoo 19 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 872 |
| Technical Name |
mdv_payment_paytrace |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/payment-paytrace/ |
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