Hi. I was excited to try out the latest woocommerce C&P gateway in hopes that it would work for me. More than half of all transactions attempted with the previous gateway failed. I finally had a chance to install 2.300.002 today and upgrade WooCommerce to the almost current version (3.4.4). I tried to run a live transaction with information that was called to me on the phone because the customer became so frustrated, she gave up and called to place an order. I tried using her information. The transaction failed. On the checkout page, the transaction hangs, and then scrolls to the top of the page where it looks like there should be some kind of error, but no error shows - only a bar. The transaction in woocommerce backend shows that it is "processing." This time a receipt was sent (which is odd). But there is no such transaction showing in Connect or in Salesforce in C&P Data or C&P Transactions.
Here is the error thrown in the woocommerce log:
2018-08-09T22:52:30+00:00 CRITICAL Uncaught Error: Call to a member function get_id() on array in /home/ancient/public_html/wp-content/plugins/woocommerce-product-addons/woocommerce-product-addons.php:360 Stack trace: #0 /home/ancient/public_html/wp-content/plugins/woocommerce-click-pledge-gateway/classes/clickandpledge-request.php(507): get_product_addon_price_for_display('5', Array, true) #1 /home/ancient/public_html/wp-content/plugins/woocommerce-click-pledge-gateway/classes/clickandpledge-request.php(28): clickandpledge_request->buildXML(Array, Array, Object(WC_Order)) #2 /home/ancient/public_html/wp-content/plugins/woocommerce-click-pledge-gateway/gateway-clickandpledge.php(3785): clickandpledge_request->send(Array, Array, Object(WC_Order)) #3 /home/ancient/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(849): WC_Gateway_ClickandPledge->process_payment(26208) #4 /home/ancient/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1044): WC_Checkout->process_order_payment(26208, 'clickandpledge' Yes, I have the woocommerce Product Add-On plugin running. Does the C&P gateway not work with that plugin?
Here is the error thrown in the woocommerce log:
2018-08-09T22:52:30+00:00 CRITICAL Uncaught Error: Call to a member function get_id() on array in /home/ancient/public_html/wp-content/plugins/woocommerce-product-addons/woocommerce-product-addons.php:360 Stack trace: #0 /home/ancient/public_html/wp-content/plugins/woocommerce-click-pledge-gateway/classes/clickandpledge-request.php(507): get_product_addon_price_for_display('5', Array, true) #1 /home/ancient/public_html/wp-content/plugins/woocommerce-click-pledge-gateway/classes/clickandpledge-request.php(28): clickandpledge_request->buildXML(Array, Array, Object(WC_Order)) #2 /home/ancient/public_html/wp-content/plugins/woocommerce-click-pledge-gateway/gateway-clickandpledge.php(3785): clickandpledge_request->send(Array, Array, Object(WC_Order)) #3 /home/ancient/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(849): WC_Gateway_ClickandPledge->process_payment(26208) #4 /home/ancient/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1044): WC_Checkout->process_order_payment(26208, 'clickandpledge' Yes, I have the woocommerce Product Add-On plugin running. Does the C&P gateway not work with that plugin?
Comment