Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

ERROR 500 INTERNAL ERROR IN SHOPPING CART

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
shopping_cartwebsite_sale
2 Replies
2250 Tampilan
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
Buang
Avatar
Alan Estrada
Jawaban Terbai

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
Buang
Avatar
Sujata
Jawaban Terbai

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
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
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
5359
QWeb render error: Node: <t t-set="display_image" t-valuef="true"/>
website_sale
Avatar
0
Agu 24
2503
Separate Mobile and Desktop Website in Odoo 16 Website Module Diselesaikan
website_sale
Avatar
Avatar
1
Jun 23
4758
Redirects to the shop page in website
website_sale
Avatar
0
Jun 23
2314
Odoo 13 - How to translate or rename 'My Cart' menu item.
shopping_cart
Avatar
0
Jan 23
3825
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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