The problem is this: The user writes his e-mail and presses the send button. But the system does not respond to the user. The user thinks that he is not registered in the system. It should react as if you signed up for the subscriber newsletter.
https://prnt.sc/26ec5gq
When you remove the code, the courses of the users who complete their payment with coupons are not opened automatically. If you can fix this problem, we can remove it. By the way, removing the code fixed the problem.
Yes, we identified the problem correctly. When you put it on hold and then complete it, the problem goes away. I probably added this code in fuctions.php. It could also be caused by this. The reason I added the code; 70% of my customers reach my products with free coupon codes. If the person has used a coupon code and does not need to pay, I want the order to be marked as complete. If there's another way to do it, I can do that too.
add_filter( 'woocommerce_payment_complete_order_status', 'my_change_status_function', 10, 2 );
function my_change_status_function ($order_status, $order_id) {
$order = new WC_Order($order_id);
return 'completed';
Did you look into the problem?
This reply has been marked as private.
While you've been waiting for the problem to be fixed for 4 months, you haven't started yet. :(
This reply has been marked as private.
This reply has been marked as private.
Yes, that's a problem, you have to click it every time, and there is another problem. It should also be selected on a 24-hour basis, but there are am and pm. No 24 hour selection.
You have not responded to the other items above?
Item 1 is particularly important.
I am waiting for your reply about the problem.
I am waiting for your reply about the problem.
I am waiting for your reply about the problem.
I am waiting for your reply about the problem.
I am waiting for your reply about the problem.