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

Form is not Secure when redirecting from Odoo Controller

Subscribe

Get notified when there's activity on this post

This question has been flagged
paymentgatewayodoo16odoov16
1 Reply
1900 Views
Avatar
Alark Kulkarni

Hello

In Odoo 16 when redirecting using Odoo Controller it prompts not Secure only in Browser.. for example when payment is processed while redirecting from gateway API, it prompts that my Form is not secure even though my SSL is working fine.

0
Avatar
Discard
Avatar
CodeWasher
Best Answer

Here are some potential reasons and solutions:


1. Mixed Content

Ensure that all elements (scripts, images, iframes, etc.) on the page are being loaded over HTTPS, not HTTP. Mixed content (where some resources are loaded over HTTP while the main page is HTTPS) can cause the browser to flag the page as insecure.

2. HTTP to HTTPS Redirection

Verify that the redirection URL in your Odoo controller explicitly uses HTTPS. If the controller is redirecting to an HTTP URL, the browser will warn that the connection is not secure.

3. Payment Gateway Configuration

Double-check the configuration of your payment gateway. Ensure that the payment gateway callback URL is set to use HTTPS. Some payment gateways may default to HTTP if not explicitly configured.

4. Correct SSL Certificate

Although you mentioned that your SSL is working fine, ensure that the SSL certificate is correctly configured and covers all subdomains or alternative domains that might be involved in the redirection.

5. Content Security Policy (CSP)

Implement or review your Content Security Policy headers to ensure they are correctly configured to enforce secure content delivery. This can help prevent any non-secure elements from being loaded on the page.

6. Custom Redirects in Controller

Review the code in your Odoo controller that handles the redirection. Ensure that it is using a secure URL (HTTPS) when performing the redirection after the payment is processed.

7. Browser Cache and Cookies

Sometimes, old cached versions of pages or cookies might cause this issue. Try clearing the browser cache and cookies to see if the issue persists.

8. Update Odoo and Payment Modules

Ensure that your Odoo instance and payment modules are up-to-date. Sometimes, security-related updates are included in newer versions that could resolve this issue.

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
Payment gateway issue (Razorpay)
paymentgateway odoo16 odoov16 paymentprovider
Avatar
0
Jul 24
1732
Where i find the code that fill field line_ids (account.move) odoo 16
invoicing odoo16 odoov16
Avatar
Avatar
1
Jul 25
1503
Automatic Batch Transfer Solved
odoo16
Avatar
Avatar
1
Aug 25
1344
Automatic Batch Transfer
odoo16
Avatar
Avatar
1
May 25
2160
Bank statement import via email
odoo16
Avatar
0
Nov 24
2099
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