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

I'm wondering how to add a new custom payment acquirers for payment types that are not connected to any external service?

I'm trying to add "Payment on pickup on location" and when I select it on the website on order confirmation the button just gets the spinning icon and nothing happens. 

I've left the default_acquirer_button in Form button. For provider I've selected Manual Confirmation.


The only documentation that I've found for setting Payment Acquirers was for odoo 13 and it said that I should configure the template like it's in the documentation of that payment service. But I don't need a service, it should only show the confirmation page.

So can anyone help me how to create simple Payment Acquirers?

Ảnh đại diện
Huỷ bỏ
Tác giả

I think that my problem is somewhere else. In my log there is: WARNING odoo.addons.base.models.ir_actions_report: wkhtmltopdf: libpng warning: iCCP: known incorrect sRGB profile Exit with code 1 due to network error: TimeoutError

Tác giả Câu trả lời hay nhất

Found solution from Yenthe

https://www.odoo.com/forum/help-1/question/why-does-my-odoo-wait-for-more-than-2-minutes-after-clicking-on-pay-now-ecommerce-63715

Had to add system parameter
web.base.url.freeze
True

And set system parameter 

web.base.url
http://0.0.0.0:8069

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

Hi Samo:

You can create a new Payment Acquirer with the Provider as Manual Configuration for this requirement.

Ảnh đại diện
Huỷ bỏ
Tác giả

with manual configuration it does not redirect to confirmation page but just stays on the payment page

It should redirect to the confirmation page. This has worked for me. Please re-check the configuration of the custom Payment Acquirer. If you post a screenshot of the configuration, I can take a look at it too.

Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 10 23
16117
0
thg 6 20
2531
0
thg 10 22
659
0
thg 10 22
379
0
thg 11 20
2179