JackTheKnife
Forum Replies Created
-
@danieliser I see those JS errors and for me are not MAJOR as you can see in the code is trying to do “appendChild” to two instances of DOM – US Map and World Map, which exists only once or twice somewhere in the site. But this is not the case which doesn’t allow to trigger popup.
I will check your directions and report back. Interesting is that wasn’t mentioned in that demo video.
Thanks
- This reply was modified 7 years, 9 months ago by JackTheKnife.
Those errors has nothing to do with your pop-up code as simple are telling there is no map DOMs. You can see that “competition” pop-up works fine here but yours simple is not triggered at all and I don’t like “competition”
Forum: Plugins
In reply to: [WooCommerce] Payment processing issue after update to 2.6I have found an issue related to a data getting via
get_order_item_totals()
that is why above values were empty – WC 2.6 may change the output for that function and payment gateway was getting empty values as HTML filter was not working properly.I have switched it to direct requests like get_total() etc
Forum: Plugins
In reply to: [WooCommerce] Payment processing issue after update to 2.6OK – I found that with WC 2.6
$order = new WC_Order( $order_id )
came empty for
[cart_subtotal] => 0 [shipping] => 0 [payment_method] => 0 [order_total] => 0
when with WC 2.5.5 carried right values
Forum: Plugins
In reply to: [WooCommerce] Payment processing issue after update to 2.6I have that set but as I have mentioned above nothing there related WC or payment gateway.
There is no way to log what exactly WC is doing?
Forum: Plugins
In reply to: [WooCommerce] Payment processing issue after update to 2.6How can I turn on logging for WC as this log file is coming blank?
Forum: Plugins
In reply to: [WooCommerce] Payment processing issue after update to 2.6You mean other plugins not related to WooCommerce but rather WP itself can cause that problem?
Forum: Plugins
In reply to: [WooCommerce] Payment processing issue after update to 2.6If there will be a plugin conflict it should not to work with 2.5.5
Forum: Plugins
In reply to: [WooCommerce] Payment processing issue after update to 2.6Still the same – successful payment but WooCommerce is showing as “Pending Payment”
Is there any way to change that status on
$order->payment_complete();
?Forum: Plugins
In reply to: [WooCommerce] Payment processing issue after update to 2.6There is nothing related payment gateway in the WP debug.log and WC-log is coming as blank file.
Also you are saying that I should to use WC_Gateway_BACS on top of WC_Payment_Gateway which I have used? Why?
Thanks
Forum: Plugins
In reply to: [WooCommerce] Payment processing issue after update to 2.6Even in your documentation you have exactly the same code to process successful payment https://docs.woothemes.com/document/payment-gateway-api/ but 2.6 handle that as is still processing.
Forum: Plugins
In reply to: [WooCommerce] Payment processing issue after update to 2.6As I wrote above – my code was up to date with version 2.5.5 and I’m asking what was changed regarding payment processing or product status as after update to version 2.6 WooCommerce (not payment plugin which works fine – credit card was charged and returned as valid transaction) is set up status order as “Pending Payment”
My code for that part looks like that:
$response = $this->postRequest($this->postURL, $query); if(stripos($response, "false")!==false||stripos($response, "invalid")!==false){ //if there is a false or invalid message //Fosdick return errors if( stripos($response, "MxSubtotal") === false ) { wc_add_notice(__('Payment error #:', 'woothemes') . $response,'error'); return; } }else{ //all good 2.2.0 $order->payment_complete(); } // Return thankyou redirect 2.1.0 return array( 'result' => 'success', 'redirect' => $this->get_return_url( $order ) ); }
And when I test it I can reach result as ‘success’ but WooCommerce is setting order status as “Pending Payment” so it is WooCommerce issue rather than payment gateway plugin or there are no info regarding changes related to payment gateways handling response by WooCommerce itself.
Thanks
Forum: Plugins
In reply to: [WooCommerce] Payment processing issue after update to 2.6Custom made Fosdick based on that https://github.com/mdkwock/woocommerce-fosdick-fulfilment
Forum: Plugins
In reply to: [WooCommerce] Customers are not receiving emailsthat code is in both templates – email to the site admin and customer, and both located in the child theme folder
Forum: Plugins
In reply to: [WooCommerce] Customers are not receiving emailsThere is no error produced on that. Those lines exists on the amdin email template and it works. Also if I will delete customized template and use default one it works. Kind of strange for me.