Repository
odoo/odoo · module folder
Module version
1.0
Category
Sales/Point of Sale
Folder size
0.99 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-08 22:19:35
Authors
Maintainers
None
Committers
Martin Trigaux, Odoo Translation Bot, Odoo Online, Jorge Pinna Puissant, Victor Feyens, Joseph Caburnay, Samuel Degueldre, Tiffany Chang (tic), Gorash, Pierre Paridans, David Monnom (moda), Louis Wicket (wil), Mylyna Hy, Michael (mcm), Theo VINCENT (thvi), Louis (wil), Loukas Wets (lowe), vlst, Pierre Pulinckx (pipu), Pulinckx Pierre (PIPU)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Allow credit card POS payments
==============================

This module allows customers to pay for their orders with credit
cards. The transactions are processed by Vantiv (developed by Wells
Fargo Bank). A Vantiv merchant account is necessary. It allows the
following:

* Fast payment by just swiping a credit card while on the payment screen
* Combining of cash payments and credit card payments
* Cashback
* Supported cards: Visa, MasterCard, American Express, Discover
    

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
mercury_common mercury_common ir.ui.view qweb New
mercury_return mercury_return ir.ui.view qweb New
mercury_transaction mercury_transaction ir.ui.view qweb New
mercury_voidsale mercury_voidsale ir.ui.view qweb New
pos_payment_method_view_form Payment Method pos.payment.method form Inherits point_of_sale.pos_payment_method_view_form
res_config_settings_view_form_inherit_pos_mercury res.config.form.inherit.mercury res.config.settings form Inherits point_of_sale.res_config_settings_view_form
view_pos_mercury_configuration_form Vantiv Configurations pos_mercury.configuration form New
view_pos_mercury_configuration_tree Vantiv Configurations pos_mercury.configuration tree New
view_pos_order POS orders pos.order form Inherits point_of_sale.view_pos_pos_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (7)

New fields (1)
  • type Selection
    ondelete={'credit': 'set default'} selection_add=[('credit', 'Credit Card')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (7)
  • mercury_card_brand Char
    help='The brand of the payment card (e.g. Visa, AMEX, ...)' string='Card Brand'
  • mercury_card_number Char
    help='The last 4 numbers of the card used to pay' string='Card Number'
  • mercury_card_owner_name Char
    string='Card Owner Name'
  • mercury_invoice_no Char
    help='Invoice number from Vantiv Pay' string='Vantiv invoice number'
  • mercury_prefixed_card_number Char
    compute='_compute_prefixed_card_number' help='The card number used for the payment.' string='Card Number Prefix'
  • mercury_record_no Char
    help='Payment record number from Vantiv Pay' string='Vantiv record number'
  • mercury_ref_no Char
    help='Payment reference number from Vantiv Pay' string='Vantiv reference number'
Public methods (0)

No public methods.

New fields (1)
  • pos_mercury_config_id Many2one → pos_mercury.configuration
    help='The configuration of Vantiv used for this journal' string='Vantiv Credentials' args: 'pos_mercury.configuration'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • merchant_id Char
    help='ID of the merchant to authenticate him on the payment provider server' required=True string='Merchant ID'
  • merchant_pwd Char
    help='Password of the merchant to authenticate him on the payment provider server' required=True string='Merchant Password'
  • name Char
    help='Name of this Vantiv configuration' required=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (4)
  • do_payment(self, data)
    @api.model
  • do_return(self, data)
  • do_reversal(self, data)
    @api.model
  • do_voidsale(self, data)
    @api.model

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…