Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4521 Vistas

Hello,

I have developped my custom Payement Acquirer method for a local payment provider.

The problem is that this payment provider gives me a url with HTTP GET Method but Odoo seems to POST data to tx_url and not GET.

So I am having 405 errors at redirections from Odoo Web Site to Acquirer page.

Can anyone help me about this ?

Avatar
Descartar
Autor Mejor respuesta

I solved this by creating the controller url that acept POST requests and then redirect to with GET.

The internal POST controller method is used to post Acquirer data

The Acqurere Redirect GET url is part of the Acquirer data posted by Odoo.

That works perfectly

Avatar
Descartar

Hi Tidiane, can can you please post example of controller?

Now I have same problem :(

Mejor respuesta

Hello guys, can someone post example of controller?

Now I have same problem :(

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
feb 24
2041
1
nov 20
9459
1
sept 20
2525
1
mar 16
5936
1
may 24
1265