Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
1900 Vistas

500: Internal Server Error

QWeb

Message d'erreur :


Error while render the template

KeyError: 'provider_sudo'

Template: payment_stripe.express_checkout_form

Path: /t/div

Node:

L'erreur s'est produite lors du rendu du modèle payment_stripe.express_checkout_form et de l'évaluation des expressions suivantes :


Pouvez-vous m'aider à régler ce problème ?


Merci d'avance, cdt , clai8

Avatar
Descartar

Hello,
Did you succeed in solving this error ? I face the same issue.
Best Regards.

I have the same problem and I can't fix it...

Were you able to resolve this error, it did as suggested but it doesn't work


Mejor respuesta

Hello,

The problem has been solved with this commit:
https://github.com/odoo/odoo/commit/30ee75cbff010c349819eff58c14daf92f0aca58

You need to upgrade the "payment" module to apply the fix on your database.

Avatar
Descartar
Mejor respuesta

There is an issue with rendering the payment_stripe.express_checkout_form template in Odoo. The specific error is a KeyError related to the 'provider_sudo' value.

This error can occur if there is a problem with the configuration of the Stripe payment provider in Odoo or if there is a bug in the code. Here are some steps you can try to resolve the issue:

Make sure that the Stripe payment provider is properly configured in Odoo. Check that your Stripe API keys are correctly entered in the Odoo settings.

Clear your browser cache and cookies. This can sometimes resolve issues with rendering templates in Odoo.

If the issue persists, try disabling any custom modules or addons that you have installed in Odoo to see if they are causing the problem.

Avatar
Descartar
Mejor respuesta

Je rencontre exactement le même problème que je ne parviens pas à résoudre. Quelqu'un a-t-il trouvé une solution svp ?

I have exactly the same error that I can't fix. Has anyone found a solution please ?

Avatar
Descartar