Invoice Number
This topic contains 14 replies, has 3 voices, and was last updated by Patrik 7 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: invoice
-
AuthorPosts
-
November 22, 2018 at 3:26 pm #2339
Hello,
1. I need to restart my Invoice Numeration from the very beginning (1), deleting the first ones, that were just for testing (I has gone live a few days ago).
How can I do?2. May I set invoicing manually, after payment has been successful and listing has been actually published by admin?
Best,
AntonellaNovember 22, 2018 at 9:35 pm #23401. Delete all your test invoices.
Then go to Invoicing > Settings > Misc tab >
Sequential Invoice Numbers > Yes
Sequential Starting Number > 12. Payment can only be successful if an invoice was generated as part of the listing submission process.
Once a payment was successful, you should not modify any invoice generated. At any rate, the invoice number cannot be changed after successful listing submission, regardless of payment.Thanks
November 23, 2018 at 8:37 am #2341Hello Guust,
thanks for your reply, but unfortunately It doesn’t work for me.
I have cancelled my invoices first, and then deleted forever, so the list is now empty.
But settings the counter in Settings does not reset.
Please see attached.About 2, ok, I see. But maybe I will open another topic for bank transfer, because my need and trouble is there, in that check-out.
Best,
AntonellaNovember 23, 2018 at 8:40 am #2345Did you empty the trash first as well?
Please post URL and WP admin details in a private reply if we need to have a look.
ThanksNovember 23, 2018 at 9:22 am #2346This reply has been marked as private.November 23, 2018 at 9:57 am #2347This reply has been marked as private.November 23, 2018 at 11:31 am #2348This reply has been marked as private.November 23, 2018 at 1:32 pm #2349This reply has been marked as private.November 23, 2018 at 1:39 pm #2350This reply has been marked as private.November 23, 2018 at 2:15 pm #2351Hi,
Please check now if it is working fine or not and let me know.
Regards,
PatrikNovember 23, 2018 at 2:21 pm #2352Now it works fine, thank you!
For next time, just in case, how can I solve on my own?
Thanks,
AntonellaNovember 30, 2018 at 11:47 am #2363Hello,
I have the same problem at the moment, how can I solve it?
Regards,
AntonellaNovember 30, 2018 at 1:22 pm #2364Hi,
I have done that on your given site.
It’s a bit technical. Need to run the following code ONCE by putting into functions.php file of your currently active theme:
add_action('wp_head', 'wp_head_cb'); function wp_head_cb(){ wpinv_update_option( 'invoice_sequence_start', 1 ); delete_option( 'wpinv_last_invoice_number' ); }This will reset the sequence to start from 1 and delete the last invoice number which you may have deleted after testing. Please note: You should run this code just once so after you put this code in the file you have to refresh the home page of your theme and then remove the code. Let me know if this works for you or not.
Regards,
PatrikNovember 30, 2018 at 1:54 pm #2365Ok thank you, it works fine.
May I suggest to give the possibility to restart numeration directly in Settings?
Regards,
AntonellaNovember 30, 2018 at 2:01 pm #2366This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket