Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Technical Settings
  3. PayPal : Payment Integration v 18.0
  4. Sales Conditions FAQ

PayPal : Payment Integration

by much. Consulting & PayPal Inc. https://muchconsulting.com
Odoo
v 18.0 Third Party 71
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 17.0 18.0 19.0
You bought this module and need support? Click here!
Versions 17.0 18.0 19.0
  • Description
  • Manifest

# PayPal Integration

This acts as acquirer for PayPal business to use PayPal to receive payments.

Table of Contents

  • Features
  • Configuration
  • Usage
  • Dependencies
  • Limitations, Issues & Bugs
  • Development
  • Tests

---

## Features

  • Integration Signup Process to connect odoo to your PayPal account

---

## Configuration

### Setup credentials to connect Odoo to Paypal

On the partner side which is Much. PayPal MerchantID, Client ID, Client Secret and BN_CODE is needed to use the PayPal Signup Process to connect Odoo to PayPal.

To setup this details in Odoo. 1. Go to Invoicing > Configuration > Settings > PayPal Partner Integration 2. Add the credentials recieve from Much partner here.

### Connect Odoo to Paypal using Paypal Integrated Signup Process.

  1. Go to Invoicing > Configuration > Payment Providers
  2. Click on PayPal Business Integration to open the record.
  3. Click on Connect to PayPal. (make sure credentials from partner is already setup)

---

## Usage

---

## Dependencies

### Odoo modules dependencies

Module | Why used? | Side effects |
----------- | ---------------------------------------------------- | ------------ |
payment | to use the base models / functions for acquirers | |
| | |

---

## Limitations, Issues & Bugs

### Paypal Partner.js issue.
  • https://caniuse.com/?search=postMessage only supported browser
  • testing on firefox version 133.0 partner.js fails to hook the onboarded callback.

---

## Development

To use the Integration Signup, when testing for engineer you will need a public url connected to your local odoo environment and odoo base url set to this public URL

---

## Tests

Tests are located in tests/ and cover the core PayPal API client, authentication, orders, refunds, onboarding, logging, and payment processing.

### Tags

All test classes are decorated with:

`python @tagged("post_install", "-at_install", "paypal_integration", "<feature_tag>") `

Feature tag | File | Description |
:--- | :--- | :--- |
apple_pay | test_apple_pay.py | Apple Pay constants, payment sources, domain verification |
authentication | test_authentication.py | OAuth2 auth, token generation, credential management |
client | test_client.py | PayPal API client initialization and configuration |
controllers | test_controllers.py | PayPal controller endpoints |
google_pay | test_google_pay.py | Google Pay constants, inline form, payment sources |
ir_ui_view | test_ir_ui_view.py | PayPal-specific UI view overrides |
onboarding | test_onboarding.py, test_onboarding_wizard.py | Onboarding controller and wizard |
order | test_order.py | PayPal Order V2 API wrapper |
partner_referral | test_partner_referral.py | Partner referral API operations |
payment_provider | test_payment_provider.py | Provider configuration and disconnect logic |
payment_transaction | test_payment_transaction.py | Payment transaction processing |
paypal_log | test_paypal_log.py | Request/event logging model |
portal | test_portal.py | Payment portal controller overrides |
refund | test_refund.py | PayPal refund API wrapper |
request_logger | test_request_logger.py | HTTP request logging context manager |
res_company | test_res_company.py | Company model PayPal extensions |
secret_manager | test_secret_manager.py | Secret manager cloud function client |
utils | test_utils.py | Utility functions and data normalization |

### Running Tests

```bash # All tests in this module odoo-bin -d <db> -i payment_paypal_integration --test-enable --stop-after-init

# All tests by module tag odoo-bin -d <db> -i payment_paypal_integration --test-enable --test-tags paypal_integration --stop-after-init

# Single feature odoo-bin -d <db> -i payment_paypal_integration --test-enable --test-tags apple_pay --stop-after-init ```

### Writing Tests

  1. Create tests/test_<feature>.py and register it in tests/__init__.py.

  2. Inherit PayPalCommon from tests/common.py (all tests in this module must use it).

  3. Tag every class: ```python from odoo.tests import tagged

    @tagged("post_install", "-at_install", "paypal_integration", "<feature_tag>") class TestMyFeature(PayPalCommon):

    ...

    ```

  4. Mock all external API calls — never hit real PayPal endpoints.

  5. Keep one feature per file.

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 4394
Technical Name payment_paypal_integration
LicenseAGPL-3
Websitehttps://muchconsulting.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with