Charge on Payment Method
-
I want to charge clients based on payment method like Cash on Delivery for example. Is there a chance this will be worked on in a future implementation of Bagisto?
What should I be considering when overriding the default checkout to enable this functionality?
-
Hi there,
Can you please elaborate? -
ok so for example, when a custom chooses payment method as 'Cash on Delivery', I want to charge them a fixed amount. What is the best way to do this?
-
Hi there,
You can create a new field like Rate inside configuration/sales/paymentmethods.
And please take a reference from Here for the same. -
hi. I understand setting the rate, but how do I calculate it when checking out?
I feel like the only solution is editing the Webkul\Checkout\Cart::collectTotals() function and copy-paste the same functionality of selected-shipping-rate, but not sure if thats the best way. Can you pls confirm?