TIP: You can type at any time to perform a new search.
eCommerce: charge payment fee
website_sale_charge_payment_fee · OCA/e-commerce
- Repository
- OCA/e-commerce · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Website
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/e-commerce
- Last tracking update
- 2026-08-07 09:06:25
- Authors
- Odoo Community Association (OCA), Quartile Limited, Agile Business Group, Studio73, AITIC S.A.S
- Maintainers
- Odoo Community Association (OCA), Quartile Limited, Agile Business Group, Studio73, AITIC S.A.S
- Committers
- Weblate, OCA-git-bot, oca-ci, miguel-S73
- Odoo dependencies
- Python dependencies
- geoip2
- System dependencies
- None
- Required by
- None
- Description
This module allows to associate generic payment fee to online payment methods. Thus, when website user select a payment method with additional fee, an additional sale order line will be added to online order
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
form_fee |
form_fee | ir.ui.view | qweb | Inherits payment.form |
method_form_fee |
Payment Method Fee | ir.ui.view | qweb | Inherits payment.method_form |
payment_fee |
Payment Fee | ir.ui.view | qweb | Inherits website_sale.total |
provider_form_fee_inherit |
payment_provider.form.fee.inherit | payment.provider | form | Inherits payment.payment_provider_form |
HTTP endpoints (3)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | WebsiteSaleFee.process_express_checkout |
inherited | http | ALL | |
/shop/payment |
WebsiteSaleFee.shop_payment |
public | http | ALL | sudo website |
| (inherited route override) | WebsiteSaleFeePaymentPortal.shop_payment_transaction |
inherited | http | ALL | sudo |
Models touched (3)
New fields (7)
-
charge_feeBooleanhelp='An extra fee line will be added to online order when using this payment method' args: 'Fee charged to customer' -
charge_fee_currency_idMany2one → res.currencystring='Fee Currency' args: 'res.currency' -
charge_fee_descriptionTextcompute='_compute_charge_fee_description' args: 'Fee Description' -
charge_fee_fixed_priceFloatmin_display_digits='Product Price' args: 'Fixed Price' -
charge_fee_percentageFloathelp='Percentage applied to order total' args: 'Percentage' -
charge_fee_product_idMany2one → product.productdomain="[('type', '=', 'service')]"string='Fee Product' args: 'product.product' -
charge_fee_typeSelectiondefault='fixed'string='Computation type' args: [('fixed', 'Fixed'), ('percentage', 'Percentage')]
No public methods.
New fields (1)
-
amount_payment_feeMonetarycompute='_compute_amount_payment_fee'store=Truestring='Payment Fee Amount'tracking=True
-
update_fee_line(self, provider)
New fields (1)
-
payment_fee_lineBooleanreadonly=True args: 'Payment fee line'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…