alitschi
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] CHF 0 as payable amount not processed by woopaymentHello Zubair Zahid,
Many thanks for your reply. We tested with product with “0” value and with Cash on Delivery. Both did not create a problem. We assume that it is an issue with gift coupon. Best regards,
Alicia
Forum: Plugins
In reply to: [WooCommerce] CHF 0 as payable amount not processed by woopaymentHi Mahfuzur Rahman,
many thanks for youf fast reply. We are already on latest WooPayment 8.6.1 and Debug mode is activated. We tested already yesterday on 2024 theme, but same result. No entry in debug files. We feel that GitHub issue?#3194 was not the same issue. In our case, the coupon functionality seems to be the issue. The coupon generated is correctly recognised by woocommerce all the way through to checkout. It is the final payment step with WooPayment which seems to kill the process. We already contacted the plugin supplier YIHT (Woocommerce Gift Cards) and they firmly state that they rely 100% on the woocommerce coupon system and that’s why the coupons are correctly recognised. Also the theme supplier (GOYA theme) was confronted with the issue and the also claim that QUOTE ” The theme is basically a skin and it doesn’t change the processes in checkout and it doesn’t perform any validations for coupons or payment options.?” UNQUOTE. Both also asked for using 2024 or similar themes to test … same problem. We are somewhat lost – logs are empty, but frontend system tells us that something is wrong. Puuh – what next?
Best regards, Alicia
Forum: Plugins
In reply to: [GIFT4U - Gift Cards All in One for Woo] Free Orders can’t orderThank you for the response.
We reached out to the Theme provider (Envato) to get their testing and feedback. Their answer was as follows:
“The theme is basically a skin and it doesn’t change the processes in checkout and it doesn’t perform any validations for coupons or payment options. That’s from the WooCommerce code or 3rd party plugins. Nothing in the error logs indicate a problem with the theme.”
We disabled all plugins with the exception of woocommerce, woopayment and woocommerce multilingual as otherwise the site would not work for testing real redemption of a gift card coupon. We are still experiencing a fatal error with the following log entry:
2025-01-03T20:22:34+00:00Kritisch Uncaught Error: Call to a member function get_tentative_usages_for_user() on null in /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-content/plugins/woocommerce/src/StoreApi/Utilities/OrderController.php:521 Zus?tzlicher Kontext{ “error”: { “type”: 1, “file”: “/home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-content/plugins/woocommerce/src/StoreApi/Utilities/OrderController.php”, “line”: 521 }, “remote-logging”: true, “backtrace”: [ “”, “#0 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-content/plugins/woocommerce/src/StoreApi/Utilities/OrderController.php(451): Automattic\WooCommerce\StoreApi\Utilities\OrderController->get_usage_per_aliases(Object(WC_Coupon), Array)”, “#1 [internal function]: Automattic\WooCommerce\StoreApi\Utilities\OrderController->validate_coupon_usage_limit(Object(WC_Coupon), Object(Automattic\WooCommerce\Admin\Overrides\Order))”, “#2 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-content/plugins/woocommerce/src/StoreApi/Utilities/OrderController.php(203): call_user_func_array(Array, Array)”, “#3 [internal function]: Automattic\WooCommerce\StoreApi\Utilities\OrderController->Automattic\WooCommerce\StoreApi\Utilities\{closure}(‘validate_coupon…’, 1, Array)”, “#4 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-content/plugins/woocommerce/src/StoreApi/Utilities/OrderController.php(205): array_walk(Array, Object(Closure), Array)”, “#5 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-content/plugins/woocommerce/src/StoreApi/Utilities/OrderController.php(170): Automattic\WooCommerce\StoreApi\Utilities\OrderController->validate_coupons(Object(Automattic\WooCommerce\Admin\Overrides\Order))”, “#6 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-content/plugins/woocommerce/src/StoreApi/Routes/V1/Checkout.php(284): Automattic\WooCommerce\StoreApi\Utilities\OrderController->validate_order_before_payment(Object(Automattic\WooCommerce\Admin\Overrides\Order))”, “#7 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-content/plugins/woocommerce/src/StoreApi/Routes/V1/AbstractRoute.php(119): Automattic\WooCommerce\StoreApi\Routes\V1\Checkout->get_route_post_response(Object(WP_REST_Request))”, “#8 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-content/plugins/woocommerce/src/StoreApi/Routes/V1/Checkout.php(136): Automattic\WooCommerce\StoreApi\Routes\V1\AbstractRoute->get_response_by_request_method(Object(WP_REST_Request))”, “#9 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(1292): Automattic\WooCommerce\StoreApi\Routes\V1\Checkout->get_response(Object(WP_REST_Request))”, “#10 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/wc/store/v1/ch…’, Array, NULL)”, “#11 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request))”, “#12 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-includes/rest-api.php(449): WP_REST_Server->serve_request(‘/wc/store/v1/ch…’)”, “#13 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP))”, “#14 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)”, “#15 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-includes/plugin.php(565): WP_Hook->do_action(Array)”, “#16 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-includes/class-wp.php(418): do_action_ref_array(‘parse_request’, Array)”, “#17 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-includes/class-wp.php(813): WP->parse_request(”)”, “#18 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-includes/functions.php(1336): WP->main(”)”, “#19 /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-blog-header.php(16): wp()”, “#20 /home/httpd/vhosts/xxxxxx.ch/httpdocs/index.php(17): require(‘/home/httpd/vho…’)”, “#21 {main}”, “thrown” ] }
On top, we are also unable to process a checkout where the cart balance is “0” after applying a gift card coupon. For some reason, the GIFT4U coupons are creating an fatal error in the payment process … and yet the system recognises GIFT4U coupons all the way in the checkout process … until “pay now” ist clicked -> fatal error.
Many thanks for looking again into this issue.
Forum: Plugins
In reply to: [GIFT4U - Gift Cards All in One for Woo] Free Orders can’t orderWe now tested your plugin GIFT4U by switching to the very basic WP theme “Twenty-twenty four” and disabled all other plugins. But we are still encountering the same problems. It seems that GIFT4U does not integrate all the way with the woocommerce coupon functions and for those reasons it crashes when taking the final step of payment. Ideally, the GIFT4U coupons are also shown in the regular list of woocommerce coupons which guarantees compatibility. Is there a fix for these problems of GIFT4U?
Best regards,
Forum: Plugins
In reply to: [GIFT4U - Gift Cards All in One for Woo] Free Orders can’t orderWe quickly checked the log files regarding our above-mentioned issue. Please find below the details of the error message stored in WP log files:
2024-12-30T10:13:24+00:00 Kritisch Uncaught Error: Call to a member function get_tentative_usages_for_user() on null in /home/httpd/vhosts/xxxxxx.ch/httpdocs/wp-content/plugins/woocommerce/src/StoreApi/Utilities/OrderController.php:521
Forum: Plugins
In reply to: [GIFT4U - Gift Cards All in One for Woo] Free Orders can’t orderI experience today the very similar problem. In our setup, we encounter the following two-step problems:
- If the customer redeems a gift card voucher (less than order value AND greater than order value), the cart always leaves the shipping charges untouched. Therefore a customer with sufficient gift card value will still have to pay shipping charges separately.
- But even when trying to pay with the gift card credit, it does not successfully finish the order. When the user attempts to place the order, a critical error occurs.
This leaves another issue open – namely how the customer will see any possible remaining balance in his account overview. We cannot verify such next step. We would highly appreciate an update or fix to resolve this issues.