Payment Provider: Paypal
payment_paypal · odoo/odoo
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 13 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.77 MB
Module directory on disk
Code analysis
0 migration notes
3 models
5 views
6 HTTP endpoints
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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 | sudo |
| (inherited route override) | PaypalController.paypal_complete_order |
public | jsonrpc | POST | sudo |
| (inherited route override) | PaypalController.paypal_return_from_checkout |
public | http | GET | sudo |
| (inherited route override) | PaypalController.paypal_webhook |
public | http | POST | csrf off sudo |
| (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…