TIP: You can type at any time to perform a new search.
Payment Provider: Paypal
payment_paypal · odoo/odoo
Security findings
- Repository
- odoo/odoo · module folder
- Module version
- 2.0
- Category
- Accounting/Payment Providers
- Folder size
- 0.74 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-09-28 18:31:24
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Raphael Collet, Odoo Translation Bot, Christophe Matthieu, Victor Feyens, Tiffany Chang (tic), Antoine Vandevenne (anv), Dylan Kiss (dyki), kcv-odoo, Pierre Lamotte (pila), Valeriya (vchu), Shrey Mehta, anko-odoo, Florian Malfroid, livaios, Khaj-odoo, chpa-odoo, Ahmed Hamila, mekot-odoo
Code Analysis
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
inline_form |
inline_form | ir.ui.view | qweb | New |
payment_paypal.method_form |
payment_paypal.method_form | ir.ui.view | qweb | Inherits payment.method_form |
payment_provider_form |
PayPal Provider Form | payment.provider | form | Inherits payment.payment_provider_form |
payment_submit_button_inherit |
payment_submit_button_inherit | ir.ui.view | qweb | Inherits payment.submit_button |
payment_transaction_form |
PayPal Transaction Form | payment.transaction | form | Inherits payment.payment_transaction_form |
HTTP endpoints (6)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | PaypalController.paypal_cancel_payment |
public | http | GET | |
| (inherited route override) | PaypalController.paypal_complete_order |
public | jsonrpc | POST | sudo |
| (inherited route override) | PaypalController.paypal_return_from_checkout |
public | http | GET | |
| (inherited route override) | PaypalController.paypal_webhook |
public | http | POST | csrf off |
| (inherited route override) | PaypalOnboardingController.finalize_onboarding |
user | jsonrpc | ALL | |
| (inherited route override) | PaypalOnboardingController.init_onboarding |
user | jsonrpc | ALL |
Models touched (3)
New fields (12)
-
codeSelectionondelete={'paypal': 'set default'}selection_add=[('paypal', 'PayPal')] -
paypal_access_tokenCharcopy=Falsegroups='base.group_system'help='The short-lived token used to access Paypal APIs'string='PayPal Access Token' -
paypal_access_token_expiryDatetimecopy=Falsedefault='1970-01-01'groups='base.group_system'help='The moment at which the access token becomes invalid.'string='PayPal Access Token Expiry' -
paypal_account_idCharcopy=Falsestring='PayPal Seller Account ID' -
paypal_client_idCharcopy=Falsestring='PayPal Client ID' -
paypal_client_secretCharcopy=Falsegroups='base.group_system'string='PayPal Client Secret' -
paypal_email_accountCharcopy=Falsedefault=<expr>help='The public business email solely used to identify the account with PayPal'string='PayPal Email' -
paypal_email_confirmedBooleancopy=False -
paypal_is_oauth_onboardedBooleancopy=False -
paypal_payments_receivableBooleancopy=False -
paypal_seller_nonceCharcopy=False -
paypal_webhook_idCharcopy=Falsestring='PayPal Webhook ID'
-
action_paypal_create_webhook(self)Create a new webhook. Note: This action only works for instances using a public URL. :return: None :raise UserError: If the base URL is not in HTTPS. -
action_paypal_update_onboarding_status(self)Update the providers with the status of their merchant account. :return: True :rtype: bool :raise UserError: If the merchant account id of a provider is missing. -
action_reset_credentials(self)Override of `payment` to trigger a hard reload on the page when credentials are reset. This is necessary because the PayPal SDK is single-use and must be loaded again. :return: The action to reload the page. :rtype: dict -
action_start_onboarding(self, menu_id=None)Override of `payment` to start the OAuth onboarding in the client.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
paypal_setup_token_refCharstring='PayPal Setup Token ID' -
paypal_typeCharstring='PayPal Transaction Type'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…