Allow payments for only shipment fees
-
I am trying allow payments when the total of the products is 0 but shipment fees exist.
on line 93 of class-express-checkout-gateway.php, you have
if (WC()->cart->cart_contents_total <= 0) {
but if this is written as
if (WC()->>cart->total <= 0) {
then it will allow this kind of payment.Please consider modifying your code in the future version.
ThanksThe page I need help with: [log in to see the link]
- The topic ‘Allow payments for only shipment fees’ is closed to new replies.