Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
5045 Visualizações

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
Cancelar
Autor Melhor resposta

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
Cancelar

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

Now I have same problem :(

Melhor resposta

Hello guys, can someone post example of controller?

Now I have same problem :(

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
fev. 24
2762
1
nov. 20
10018
1
set. 20
2979
1
mar. 16
6376
1
mai. 24
1684