Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5168 มุมมอง

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 :(

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ก.พ. 24
2886
1
พ.ย. 20
10148
1
ก.ย. 20
3041
1
มี.ค. 16
6471
1
พ.ค. 24
1776