No surcharge when paying for order
-
Hello I would like to report a few issues with the plugin.
1. GatewaySurchargeHandler->canProcessGateway() looks at $_POST[‘payment_method’] while in ajax action update_surcharge_order_pay $_POST[‘method’] gets passed along (gatewaySurcharge.min.js).
Therefore when a customer clicks a payment link provided in for example a invoice there is no surcharge calculated (WC_Order->get_checkout_payment_url()).2. PaymentService->processAsMolliePayment() $this->logger->debug( $apiCallLog); should be $this->logger->debug( json_encode($apiCallLog)); since the logger->debug($message) does not allow arrays to be passed.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘No surcharge when paying for order’ is closed to new replies.