This question has been flagged
2 Replies
3829 Views

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
Discard
Author Best Answer

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
Discard

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

Now I have same problem :(

Best Answer

Hello guys, can someone post example of controller?

Now I have same problem :(

Avatar
Discard