İçereği Atla
Menü
Bu soru işaretlendi
5 Cevaplar
4460 Görünümler

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?

Avatar
Vazgeç
Üretici

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

Üretici En İyi Yanı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

Avatar
Vazgeç
En İyi Yanıt

Hi Samo:

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

Avatar
Vazgeç
Üretici

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.

İlgili Gönderiler Cevaplar Görünümler Aktivite
5
Eki 23
15952
0
Haz 20
2462
0
Eki 22
659
0
Eki 22
379
0
Kas 20
2079