Hello everyone,

I hope you're doing well.

I am writing because one of our ecommerce customers asked to have a COD
Payment method on the site (all good so far), but with a surcharge.

I did a bit of research and OOTB OFbiz does not have support for this
feature; I found a conversation in an old ML (13 years ago) where this
argument is discussed, but nothing more.

I am evaluating some possible solutions, like:

- creating a specific promo (extending the OOTB promo conditions) and add
some custom logic in the checkout when COD payment is selected, to make the
system add the promo to the cart as "SURCHARGE_ADJUSTMENT";

- extend  ProductStorePaymentSetting entity, adding a "surcharge" field:
this obviously means that I also have to add in someway the specific logic
during payment process flow;

- add a specific request to checkExternalPayment uri, when *cod* is
selected, that adds an adjustment to the order;

I would like to know if some of you have faced a similar situation and
which solution you preferred to adopt.

Thank you in advance for your help,
Giulio

-- 
Giulio Speri


*Mp Styl**e Srl*
via Antonio Meucci, 37
41019 Limidi di Soliera (MO)
T 059/684916
M 347/0965506

www.mpstyle.it

Reply via email to