boozefree
Forum Replies Created
-
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.
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 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.
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
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] rounding error in total amountHi Ewout
I wouldn’t know where to start with that but I will add it to my to-do list.
In the meantime is there anyway I can change my local version of the plugin so it does not show the subtotal of products and just shows each product, the shipping and the grand total?
Thanks
Terry
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] rounding error in total amountI found the same issue a couple of months ago and thought it was connected to the WooCommerce Product Bundles plugin. However, the support for that plugin did a lot of checking and stated…
“it is possible that the sum of all the individual order items is not equal to the total order price, regardless of the order items product type. The reason why this happens is that WooCommerce core uses different methods to calculate the total order price than to display item subtotals — the former are more extensive and calculate totals with better accuracy”
I tested buying the same products but not via a product bundle and got the same issue so I know it’s not that plugin.
It appears that this plugin uses the Woocommerce subtotals which is where the issue lies. If you check the order confirmation page that appears after a customer has made an order you will see the same issue with the figures on that page. This plugin just reproduces those figures I believe.
A simple solution for this plugin would be to take the actual Woocommerce total and then reduce by the postage cost to get the subtotal – that way all the figures would tie up and from my testing I believe they would be correct (as the actual total is always correct). It’s not ideal as the woocommerce order confirmation page would still be wrong but the long term record is the pdf produced by this plugin: I doubt many customers bother reading the order confirmation page in any detail so hopefully won’t notice. Woocommerce should look to correct it though.
I can supply screen prints if needed,
Terry