Skip to Content
Menu
This question has been flagged
1 Reply
92 Views

Hi everyone, is there a way to restrict selectedPayment provider on the Website? 

I have the process when on the website I'm doing the pre-reservation (using Wire-Transfer as a Payment method). Then  the quote is created , and this quote needs to be validated by the user. Validated quote will be send back the the customer who can pay by card at this time. SO I want to activate Card payment , but I don't wan't customers to use it  at the checkout. The simplest idea which came to my mind is to "hide" the Card payment on website. the question is how ? 

Avatar
Discard
Best Answer

Hi,


To hide the card payment method on your Odoo website checkout during the initial pre-reservation phase while still enabling it for validated quotes, several approaches can be considered. One advanced method involves customizing the payment method availability based on specific conditions, such as the quote's validation status, potentially requiring custom code or a third-party app. This would ensure the card payment option appears only after the quote is validated and the customer is directed to a specific payment page.


Alternatively, you could use Odoo's payment provider configuration to manually disable the card payment method until the quote is validated, then re-enable it before sending the quote back to the customer, though this requires manual intervention. Another option is to set a very low maximum amount for card payments during pre-reservation, effectively hiding the option, but its reliability may vary. As a less ideal solution, you could provide clear instructions on the wire transfer payment method page, informing customers that card payment will be available after quote validation. The most suitable approach depends on your technical capabilities, with a customized solution offering the most seamless user experience.


Hope it helps

Avatar
Discard
Related Posts Replies Views Activity
3
Sep 25
2266
3
Oct 25
149265
1
Sep 25
1481
4
Sep 25
6247
1
Sep 25
375