跳至内容
菜单
此问题已终结
5 回复
4490 查看

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?

形象
丢弃
编写者

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

编写者 最佳答案

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

形象
丢弃
最佳答案

Hi Samo:

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

形象
丢弃
编写者

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.

相关帖文 回复 查看 活动
5
10月 23
16049
0
6月 20
2486
0
10月 22
659
0
10月 22
379
0
11月 20
2104