Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

ERROR 500 INTERNAL ERROR IN SHOPPING CART

Naroči se

Get notified when there's activity on this post

This question has been flagged
shopping_cartwebsite_sale
2 Odgovori
2273 Prikazi
Avatar
Rodrigo Hernandez del Moral

I HAVE MY ONLINE STORE, I ONLY HAVE THE WEB PAGE APPLICATIONS, I CLARIFY.

WHEN I ADD PRODUCTS TO THE SHOPPING CART TO TEST THE PAYMENT METHOD, THEY ARE ADDED CORRECTLY, HOWEVER WHEN I ENTER THE CART I GET AN ERROR AND I CAN NOT DO ANYTHING, I GET THE ERROR THAT I SHARE BELOW.

I CLARIFY THAT THE PAYMENT METHOD I HAVE IS STRIPE.



Traceback (most recent call last):

  File "/home/odoo/src/odoo/saas-17.4/odoo/tools/cache.py", line 103, in lookup

    r = d[key]

        ~^^^^^

  File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun

    return caller(func, *(extras + args), **kw)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/odoo/tools/func.py", line 84, in locked

    return func(inst, *args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/odoo/tools/lru.py", line 34, in __getitem__

    a = self.d[obj]

        ~~~~~~^^^^^

KeyError: ('ir.model.data', , 'payment.payment_method_unknown')

 

During handling of the above exception, another exception occurred:

 

Traceback (most recent call last):

  File "/home/odoo/src/odoo/saas-17.4/odoo/http.py", line 1976, in _transactioning

    return service_model.retrying(func, env=self.env)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/odoo/service/model.py", line 134, in retrying

    result = func()

             ^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/odoo/http.py", line 1943, in _serve_ir_http

    response = self.dispatcher.dispatch(rule.endpoint, args)

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/odoo/http.py", line 2100, in dispatch

    return self.request.registry['ir.http']._dispatch(endpoint)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/odoo/addons/base/models/ir_http.py", line 227, in _dispatch

    result = endpoint(**request.params)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/odoo/http.py", line 757, in route_wrapper

    result = endpoint(self, *args, **params_ok)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/addons/website_sale/controllers/main.py", line 765, in cart

    values.update(self._get_express_shop_payment_values(order))

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/addons/website_sale/controllers/main.py", line 1742, in _get_express_shop_payment_values

    'payment_method_unknown_id': request.env.ref('payment.payment_method_unknown').id,

                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/odoo/api.py", line 584, in ref

    res_model, res_id = self['ir.model.data']._xmlid_to_res_model_res_id(

                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/odoo/addons/base/models/ir_model.py", line 2229, in _xmlid_to_res_model_res_id

    return self._xmlid_lookup(xmlid)

           ^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun

    return caller(func, *(extras + args), **kw)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/odoo/tools/cache.py", line 110, in lookup

    value = d[key] = self.method(*args, **kwargs)

                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/odoo/src/odoo/saas-17.4/odoo/addons/base/models/ir_model.py", line 2222, in _xmlid_lookup

    raise ValueError('External ID not found in the system: %s' % xmlid)

ValueError: External ID not found in the system: payment.payment_method_unknown

0
Avatar
Opusti
Avatar
Alan Estrada
Best Answer

Hello I have the same problem. 

I dont have the error as Rodrigo, I dont know where to find a log like that. 

I tried to disable my payment methods and it didn´t work.

Have you solved your problem?

0
Avatar
Opusti
Avatar
Sujata
Best Answer

Hello Rodrigo,

The error you're encountering indicates that Odoo is trying to reference an external ID (payment.payment_method_unknown), which is not found in your system. This is causing the issue when you're attempting to use the Stripe payment method on your website.

Follow the approach below to troubleshoot the issue:
  1. Check Payment Method Configuration:
    • Go to Invoicing > Configuration > Payment Providers and ensure that Stripe is properly configured.
    • Make sure that a valid payment method is associated with Stripe in your system. This ensures that the correct method is available for processing payments.
  2. Verify if the Missing Payment Method Exists:
    • Navigate to Settings > Technical > Database Structure > External Identifiers (XML IDs).
    • Search for payment.payment_method_unknown. If this ID doesn't exist, it may be the cause of the issue.
  3. Add the Missing Payment Method (If Necessary):
    • If payment.payment_method_unknown does not exist, you may need to manually add or restore the missing payment method.
    • Check your system for other missing payment methods or reinstall any modules related to Payments (e.g., payment, payment_stripe).
  4. Check Stripe Configuration:
    • Go to Invoicing > Configuration > Payment Providers and review the Stripe configuration.
    • Ensure that Stripe is properly published, and verify that your API credentials (keys) are set correctly.
    • Ensure that a proper Payment Journal is configured for Stripe.
  5. Reinstall the Payment Module (If Necessary):
    • If the issue persists, consider reinstalling the payment module to restore any missing configurations.
    • Go to Apps, search for the payment module, and reinstall it to reset the configuration.
  6. Custom Development Check:
    • If you are using custom code for payment integration or customization, ensure that there are no incorrect references to payment.payment_method_unknown. Review the custom logic and make sure it points to valid payment methods.

Let me know if it helps :)

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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
very critical issue for Paypal payment in the web shop the SO is changed after payment
shopping_cart website_sale paypal quotation invoice
Avatar
Avatar
2
apr. 16
5386
QWeb render error: Node: <t t-set="display_image" t-valuef="true"/>
website_sale
Avatar
0
avg. 24
2528
Separate Mobile and Desktop Website in Odoo 16 Website Module Solved
website_sale
Avatar
Avatar
1
jun. 23
4785
Redirects to the shop page in website
website_sale
Avatar
0
jun. 23
2333
Odoo 13 - How to translate or rename 'My Cart' menu item.
shopping_cart
Avatar
0
jan. 23
3859
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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