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

How to accept recurring payments in payment gateway

Subscribe

Get notified when there's activity on this post

This question has been flagged
subscriptionrecurringpayments
2 Replies
2575 Views
Avatar
pravin Kumar

Hi, I am new to Odoo development. I want to develop a module to accept recurring or subscription payments within my custom payment gateway module. 

Please advise.


0
Avatar
Discard
Avatar
pravin Kumar
Author Best Answer

Thanks for your response. 

Can you provide more information about 'Handle Recurring Payments' with some example. 

For refund and capture functionality, Odoo provides trigger functions like '_send_refund_request' and '_send_capture_request'. Using these functions, we can build the refund and capture functionality.

So, for subscription or recurring payments, which trigger function do we use?


0
Avatar
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hello,

To develop a module for accepting recurring or subscription payments within your custom payment gateway module in Odoo, you'll need to follow these general steps:

1. Create a New Odoo Module: Start by creating a new Odoo module for your payment gateway integration if you haven't already done so. You can use the Odoo Developer Mode to create a new module or manually create the necessary files and folders.

2. Define Payment Gateway Configuration: Define the configuration parameters for your payment gateway, such as API credentials, endpoint URLs, and any other required settings. You can use Odoo's configuration settings to store these values.

3. Implement Payment Processing Logic: Implement the logic for processing payments using your payment gateway. This may involve sending requests to the payment gateway API to create recurring payment plans or subscriptions, as well as handling responses from the gateway.

4. Integrate with Odoo's Payment Processing: Integrate your payment gateway module with Odoo's payment processing system. This typically involves extending the payment module in Odoo and implementing the necessary methods to handle payment requests and responses.

5. Handle Recurring Payments: If you're implementing recurring or subscription payments, you'll need to implement logic for handling recurring payments, such as automatically charging customers on a recurring basis and updating payment statuses.

6. Testing and Validation: Test your module thoroughly to ensure that it works as expected. You may need to create test accounts with your payment gateway to test the integration in a sandbox environment.

7. Documentation and Support: Provide documentation for your module, including installation instructions and usage guidelines. Offer support to users who may have questions or issues with your module.


If you need more specific guidance or help with any step of the development process, feel free to ask!


Hope it helps

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
Subscriptions and price update Solved
subscription recurring
Avatar
Avatar
Avatar
Avatar
Avatar
4
Feb 25
8091
Does anyone know how to fully automate subscriptions?
subscription payments
Avatar
0
Jun 17
4604
quotations having both "one-shot" service and recurring service Solved
subscription recurring quotation
Avatar
Avatar
1
Aug 25
2135
Subscriptions - Generate invoice before renewal dat
invoice subscription recurring
Avatar
Avatar
Avatar
Avatar
3
Dec 24
4182
How to Configure Subscription-Recurring Plan base on Daily Billing Option in Enterprise-V17
sales subscription recurring
Avatar
1
Aug 24
3592
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