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
    • Estate 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
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

What is the intended function of the PayPal IPN handler?

Subscribe

Get notified when there's activity on this post

This question has been flagged
paypalipn
8 Replies
9107 Views
Avatar
Matt Taylor

What is the PayPal IPN processor intended to do?  I assumed that it would create a Payment Transaction record (Settings -> Payments -> Payment Transactions) using the data in the PayPal Instant Payment Notification.  Instead, the PayPal module tries to find an existing transaction that matches the notification coming from PayPal.  Since the transaction doesn't exist, I get an error message:

ERROR  openerp.addons.payment_paypal.models.paypal: Paypal: received data for reference SAJ/2014/0406; no order found

How are Payment Transaction records created, if not from the IPN data?

I'm using 8.0, and testing with master.

2
Avatar
Discard
Matt Taylor
Author

The only calls to the create() method self-test code. Am I required to write some code to get this working?

Matt Taylor
Author

I see some s2s (server2server) methods, but I don't see any code that calls them. Is there some documentation for how this should be used? Do I need some other module?

Matt Taylor
Author

There are a lot of people that report success with this feature. How do they do it? Can't some one give me a clue? Just a little hint? Maybe I am asking the wrong question. Do I need to clarify what I am asking?

Matt Taylor
Author

I have customers using the portal to pay multiple invoices. They need some indication of which invoices have been paid, so they don't try to pay them twice.

Avatar
Fabrice Henrion (fhe)
Best Answer

1. It highly depends on the exact version of Odoo that you are using: v7-SaaS3? SaaS4? SaaS5? Odoo trunk pre-v8-release? Odoo 8 final?
2. Did you configure your Paypal account to send the IPN?
3. When Odoo receives the IPN message from Paypal, Odoo will change the existing payment transaction's status from Draft to Done. The payment transaction is initially created in Draft before the payment is successful (known via IPN); depending on which exact version of Odoo you are using, this payment transaction could be created when a visitor clicks on the last "Buy" button in the Odoo checkout process, or at a different time.

1
Avatar
Discard
Matt Taylor
Author

Okay, Thanks Fabrice. I'm really not doing e-commerce. My customers click the PayPal button on the invoice in the customer portal. So, do I need to write some code to create the transaction when the customer clicks the PayPal button? It's probably easier to just call the create method when I receive the IPN. I'll use the IPN data to create and complete the transaction. Unless you have a better way.

Cliff Kujala

I'm in the same situation as @Matt. Can the PayPal Acquirer be setup to automatically record, and reconcile payments customers make via PayPal from the link included in the emails we manually send for invoices from Odoo v8 Final? Also, those links don't respect the settings we configure for any added fees for the PayPal payments. Did you find a solution @Matt?

Avatar
Anton Chepurov
Best Answer

@Matt,

How did you end up solving this?

UPD: this could be helpful, as a nice starting point:

https://github.com/laslabs/odoo-payment/blob/release/8.0/payment_authorize_auto_reconcile/models/payment_transaction.py

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Does the paypal button in email quotation work with ipn?
paypal quotation ipn
Avatar
Avatar
1
Jan 18
4474
PayPal Auto Return URL
paypal
Avatar
Avatar
1
Mar 23
3591
Paypal Plus integration
paypal
Avatar
0
Nov 20
3423
Odoo 12, Paypal Payment Acquirer settings
paypal
Avatar
0
Jul 20
3038
What's the default paypal method in Odoo v10? Solved
paypal
Avatar
1
Mar 17
3950
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
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

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

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now