Hi Boozefree,
Thank you for your message.
For your information, If the invoice created but unpaid bill, it will not be able to execute the coupon
If you have already received the payment from that invoice, please go to the backend choose “Mark as Paid”
If the voucher has been paid, please choose “Mark as Used”
Let us know if you having any questions,please!
https://prnt.sc/x3a04l
Thanks for your reply. Here’s what happened
The customer went to checkout and applied voucher for £50 and paid the residual amount. It all went through and the order changed to processing but the customer didn’t receive confirmation and only received an error that said “SyntaxError: Unexpected token U in JSON at position 0”. They then tried again and again applied the same voucher and paid the residual amount. Again order showed as processing and voucher applied. The customer did this nine times in total each time paying the residual amount and applied (the same) £50 voucher. They actually used it 9 times (£450) in their orders and the value still showed as £50 on my system. I dod not understand if there was a error why the order changed to processing. The orders did not create an invoice which is the only reason I noticed the issue. When I manually created invoice in WordPress/Woocommerce it then applied the voucher although I had already reduced the balance by £50 so it now shows as minus £50. I received orders either side of these orders with no issue so it must have some link to the voucher. I need to know that it actually works and this issue has been fixed. Thanks
Hi @boozefree
Can you confirm if the voucher is correctly applying to checkout page? Also, if the customer is completing order correctly? As you said the order is still showing in processing status so, until the order isn’t completed the voucher will remains unused. If you complete the order then voucher will show the remaining balance.
If still not showing then please let us know. If possible you can provide us screenshot so, we can check and help you to resolve.
Hi the voucher is applying correctly at checkout and reducing the balance due. The customer then pays the balance of the order and the order moves to ‘Processing’ status within Woocommerce. Orders only move to ‘Processing’ once they have been fully paid. However Woocommerce did not create an invoice number. I was able to do it manually by clicking in the ‘PDF Invoice’ button when looking at the order on Woocommerce – Orders.
Above you say that ‘the order is still showing in processing status so, until the order isn’t completed the voucher will remains unused’. That would mean that a customer could use a voucher as many times as they wanted as long as I had not marked the order as complete. That will not work as some shops may take several days to process and complete an order. The voucher value needs to reduce when the order is confirmed as having been fully paid (voucher plus any additional cost not covered by the voucher) and the order moves to ‘Processing’ within WooCommerce.
I do in fact think that that is probably what would normally happen but maybe only once an invoice number is created. Therefore no invoice number creation, means no use of voucher recorded and no balance reduction leaving it available to be used again.
I think that you need to look into how using a voucher may conflict with invoice creation as I had normal orders (with no voucher) work perfectly either side of this customer’s orders.
I can’t give screen prints as it was the customer who received the error and I can think of nothing I have that will be of any help.
Hi @boozefree
Yes, please if possible share some screenshot with error so, we can get better idea. We will surely check and try to help you
Hi
I said I CAN’T give any screen shots as there is nothing meaningful to show and the error message which I’ve given you already was received by the customer so no shots of that either.
Thanks
Hi @boozefree
To create invoice are you using another plugin? And regarding order processing for now, voucher will only marked as used when the order status is completed. We will check other customer’s requirement and try to upgrade this in future updates.
The plugin creating invoices is ‘WooCommerce PDF Invoices & Packing Slips’ plugin. A pretty standard plugin.
I tried to install your latest version as per the email you sent me but I had to reverse out the installation as it caused all my orders to move straight to ‘completed’ status and miss ‘processing’ status altogether! And those orders didn’t even use a gift voucher.
I think that your plugin has too many bugs for it to be fit for purpose at the moment and with this type of plugin there is not the option for it to only partially work.