Hello again, i wanted to ask you for some help with a reoccurring issue we have on our shop. I know that this is not directly related to your theme, but while using our previous theme i managed to fix it and now it’s back, so i thought you might know how to help.
At some point, after some WC update (i suppose, but sadly can’t pinpoint it) we started having all orders made and payed for by Paypal remain uncompleted, even tho the funds are well transferred to our Paypal account. This is quite annoying, since the system doesn’t send out the notification mails and the invoices, and the stock is not updated either.
After spending days of searching the net, reading to tons of forums and stuff i’ve managed to find something of a little workaround. It’s not very “clean”, but it worked. What i did was edit the thankyou.php file in wp-content/themes/legenda/woocommerce/checkout and added the <?php $order->payment_complete(); ?> code to it, right after the first <?php endif; ?>. Then i setup Paypal to automatically transfer buyers to http://www.dobiart.fr/thankyou.php
That worked, the inventory would update and generally the whole process would go as planned.
I tried to do the same with Legenda, but so far i hasn’t worked. I see that the thankyou.php is not exactly the same as the old one, so maybe there’s a different way to approach this?
For info, there seems to be an IPN problem with our host, but i think we can’t do much about it. Their support is not really helpful.