shawaj
Forum Replies Created
-
This is in the footer.php for our theme.
I have tried using
$order = new WC_Order($order_id);
and$order = wc_get_order ( $order_id );
in front of that code above, to no effect. It always returns 0 for both.also tried using
$order = new WC_Order($order_id);
and$order = wc_get_order ( $order_id );
in front of that code, to no effect.Glad you like it!
Forum: Plugins
In reply to: [Woocommerce Add Countries] Vat Rate For added CountriesYou probably need to go to WooCommerce > Settings > Tax and set up the rate there
Forum: Plugins
In reply to: [PixelYourSite - Your smart PIXEL (TAG) & API Manager] Twitter pixel support?You already have most of the data available withi the plugin so it would not be a huge amount of work to add the extra for Twitter.
Twitter does not take many inputs into their pixels, nowhere near as many as facebook
Forum: Plugins
In reply to: [PayPal for WooCommerce] Duplicate order with same Transaction IDWe don’t have load balancing (only have one server, one IP) and we force all requests through https.
It is not always when under heavy load but it was certainly significantly more prevalent when our site was under heavy load.
Thanks
Forum: Plugins
In reply to: [PayPal for WooCommerce] Duplicate order with same Transaction IDYes, we are using the woothemes PayPal express and Stripe integrations. We have seen this issue with both of these payment methods.
We also use the standard built in PayPal basic integration but we’ve never seen it happen with this payment method, I’m guessing because that uses IPN or something.
I just wanted to post and say that it is not just your plugin!
We have recently setup Sucuri WAF/CloudProxy but it was happening before we set this up. Prior to that we were using WP Rocket caching.
Forum: Plugins
In reply to: [PayPal for WooCommerce] Duplicate order with same Transaction IDWe’re having a very similar issue actually. Although I think it’s maybe a WooCommerce issue rather than specifically your payment plugin.
We are using Stripe and PayPal express and experiencing similar issues (both are the official woothemes plugins).
I wrote this post on GitHub (https://github.com/woothemes/woocommerce/issues/10453):
Basically we have established that on some occasions, especially under heavy server load, both PayPal Express and Stripe orders are getting duplicated. If it happens with a Stripe payment then we will actually receive two payments, however seeing it happen with stripe is more rare. If it is with PayPal then it is almost exclusively with PayPal express (using the woothemes plugin) and has actually on occasion led to three or four copies of an order. When it happens with PayPal express there will be two identical orders showing in the WooCommerce orders list with different order numbers but the PayPal transaction ID will be listed as the same for both and there will be only one payment in PayPal.
This has happened a few times when the server was not under heavy load at all. In all cases the customers have not intended to make these duplicate orders at all.
We have also had the odd few orders where they have been successfully paid on PayPal Express but on the website are still showing as “Pending”.
Forum: Plugins
In reply to: [WooCommerce] Geolocation not workingJust in case this issue occurs to anyone else:
Looks like I had a combination issue – it was a misconfiguration in CloudProxy AND corrupted GeoIP.dat and GeoIPv6.dat making it difficult to find the issue!
I now have everything working with CloudProxy / Sucuri WAF using the Sucuri WordPress Plugin with Reverse Proxy Support enabled, IP Address Discover enabled and Main IP HTTP Header set to HTTP_X_REAL_IP
GeoIP.dat and GeoIPv6.dat are located in wp-content/uploads folder and I just deleted and then force-downloaded them again.
Forum: Plugins
In reply to: [WooCommerce] Geolocation not workingThis stopped working for me also just recently.
I initially thought it was down to recently moving over to Sucuri CloudProxy but after deactivating it and going through a whole host of other tests with the people over at Sucuri it still appears to be an issue.
Can’t think what else it could be. I am using the “geolocate with caching support” setting.
Forum: Plugins
In reply to: [Invoices for WooCommerce] .htaccess changing all the time?No problem!
Forum: Plugins
In reply to: [Google Analytics for WooCommerce] ga.js header tag showing?any idea how i can find where it is coming from?
Will it cause problems if I have both the universal analytics and ga.js code called on every page?
It is definitely not in my theme header.php file as this is all it contains:
<head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <title><?php woo_title(''); ?></title> <?php woo_meta(); ?> <link rel="stylesheet" type="text/css" href="<?php bloginfo( 'stylesheet_url' ); ?>" media="screen" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <?php wp_head(); woo_head(); ?> </head>
Thanks
Forum: Plugins
In reply to: [WooCommerce] Will Geolocate work with WP Rocket?I can confirm that it *does* work with WP-Rocket.
Under the heading “Cache pages that use the following query strings (GET parameters):” you just need to put the letter v
Works great.
Forum: Plugins
In reply to: [Google Analytics for WooCommerce] 1.4.0 release date?Thanks for sorting this!
Forum: Plugins
In reply to: [WooCommerce] Will Geolocate work with WP Rocket??