跳至內容
選單
此問題已被標幟
2 回覆
4993 瀏覽次數

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 ?

頭像
捨棄
作者 最佳答案

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

頭像
捨棄

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

Now I have same problem :(

最佳答案

Hello guys, can someone post example of controller?

Now I have same problem :(

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
2月 24
2702
1
11月 20
9961
1
9月 20
2927
1
3月 16
6302
1
5月 24
1578