Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5112 Lượt xem

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 ?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

Now I have same problem :(

Câu trả lời hay nhất

Hello guys, can someone post example of controller?

Now I have same problem :(

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 2 24
2795
1
thg 11 20
10052
1
thg 9 20
3006
1
thg 3 16
6416
1
thg 5 24
1714