TechMan
Forum Replies Created
-
Facing the same issue after auto update from 5.213 to 5.214. Recovery mode also not working.
- This reply was modified 1 month, 3 weeks ago by TechMan.
Forum: Plugins
In reply to: [WooCommerce] Incorrect payment method when reading order data using PHPThere is a slight problem with using woocommerce_thankyou hook for notification. If a customer opens thank you page again or refresh the page then it will again send a notification. So basically, every time customer opens/refreshes thank you page, it sends that custom notification that your order has been received.
Forum: Plugins
In reply to: [WooCommerce] How to resend notification to customerI am using woocommerce_thankyou hook to send message.
add_action('woocommerce_thankyou', 'send_whatsapp_notification'); function send_whatsapp_notification($order_id) { $order = new WC_Order( $order_id ); $order_total = $order->get_total(); $payment_method = $order->get_payment_method_title(); //rest of the code here; }
- This reply was modified 1 year ago by TechMan.
Forum: Plugins
In reply to: [WooCommerce] Incorrect payment method when reading order data using PHPWhat is the hook for after order has been confirmed?
Forum: Plugins
In reply to: [WooCommerce] Incorrect payment method when reading order data using PHPOk I talked to customer and found out what exactly happened and was able to recreate it.
She first chose Credit/Debit Card as payment method, after which notification was sent to her as it fired
woocommerce_new_order
hook. But she pressed back button on browser and changed method to Cash on delivery.Forum: Plugins
In reply to: [WooCommerce] Showing custom message after order placingIs it the correct way? What will happen when WooCommerce is updated? Won’t it remove the changes I did in the file?
This is a new VPS where WordFence was never installed before so it is not possible auto_prepend_file would be present here.
Forum: Plugins
In reply to: [WooCommerce] delete all orders and customers from systemThere is no WooCommerce option in Cleanup tab of Advanced Database Cleaner.
Forum: Plugins
In reply to: [Social Sharing Plugin - Sassy Social Share] Setting not being savedYes, there are many JavaScript errors shown in console. But most of these errors are also present in other admin pages too. They are shown once page loads. But when you check or uncheck a checkbox then no error is shown. Besides you are saving settings on button click “Save Changes” so I am not sure if these errors will have any effect on it or not.
By the way this is how Dashboard looks like.
But Scan actually works.
Diagnostic report sent. Although I didn’t see any success message on screen. Once I pressed “Send” button it showed Wordfence is working….and then nothing….no error or success message so I am not if it is sent or not.
Yes firewall was still optimized because during deactivation it asked whether to remove that setting from php.ini and I clicked “Cancel”. I was deactivating it temporary and planned to activate plugin again thinking it would fix the original issue that is why I clicked “Cancel”.
How do I fix the original issue?
I disabled WordFence and it messed up with my site big time as everything stopped working. I enabled logging and found out some plugin was throwing “function not found” error. So, I disabled it from database and then another plugin was throwing same error. WordFence messed up something and all plugins started throwing errors so I restored from a backup. But I am never going to use this joke of a plugin called WordFence again. But how do I completely remove it from my site without messing it up?
Forum: Developing with WordPress
In reply to: Setting SEO title and meta description without pluginThanks guys. I used ChatGPT to write a plugin that displays custom SEO title and meta description. Hardly took 5 minutes.
Forum: Plugins
In reply to: [Simple Login Captcha] ERROR: Invalid or expired request.I disabled plugin from database, then I was able to login. That table exists as well as one record which contain the “answer”. And I am entering same value as shown in “answer” column but no luck. Enabled logs but no exception is thrown.