ole1986 / wc-invoice-pdf Goto Github PK
View Code? Open in Web Editor NEWWC Recurring Invoice Pdf plugin for wordpress
Home Page: https://wordpress.org/plugins/wc-invoice-pdf
WC Recurring Invoice Pdf plugin for wordpress
Home Page: https://wordpress.org/plugins/wc-invoice-pdf
Hi, I am working with your invoice tool for recurring invoices. I'm trying to figure out the date functions. I create an invoice in woo using a create date in the future (example 2022-06-01) then generate the schedule with your tool. The script then provides the summary list showing today's create date and a due date two weeks from now.
What decides this due date? It doesn't appear to be any function I can manipulate in the settings.
What are the functions of B2C or Offer supposed to provide? When I tick B2C, I don't see any noticeable changes anywhere. When I press Offer, it appears to provide a pdf popup that appears to be identical to the Preview button.
Thanks. I do like this script. To make it work for me, it appears I have to create the invoice on the days I want them due over the next year and then make them recurring at that time. I'd prefer to build them all now and date them for the future and schedule them for the future.
Ever since i updated to new wordpress versions i get an error on plugin admin page.
I tested it from WP version 5.2.5 and up, there is an error:
Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /web/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php:120 Stack trace: #0 /web/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php(120): DateTimeZone->__construct('') #1 /web/wp-includes/class-wp-hook.php(286): WCInvoicePdf\Menu\InvoiceMenu->DisplayInvoices('') #2 /web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #3 /web/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /web/wp-admin/admin.php(253): do_action('wc-invoices_pag...') #5 {main} thrown in /web/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php on line 120
In some cases the link refering to the invoice list does not properly work and shows
"Page not found"
To workaround this, simply login as admin and open the "Settings" -> "Permalinks" from the admin panel.
All permalinks will be recreated and the invoices page should appear
Once the order process has been completed it would be useful to inform the customer about the successfully created product on the ISPConfig3 side.
This currently apply only to WC_Product_Webspace but may also include other products in future.
A possible template may also be editable through the wc-invoice-pdf
plugin settings
While Woocommerce has its own VAT database we should focus on using it.
It seem this does not always apply. So it needs to be double checked
Hi, is there a documentation how to set up this the right way? Or maybe even a tutorial?
I notice that reminders of outstanding emails are sent to the wordpress admin however they are not being sent to the actual account holders themselves. How can we get invoice reminders to be sent to account holders?
Can we add a feature that allows unpaid accounts to be automatically suspended.
When you try to open an existing invoice and you receive the following message (even as administrator)
Sorry, you are not allowed to access this page.
Read the below solution
Hi, when I click the "Place order" button, the error "Internal Server Error" appears.
https://task-test.pp.ua
Example:
Pos | Description | No of Units | Amount (incl.tax) |
---|---|---|---|
1 | Some product for B2C with 100 Euro net | 1 | 119 Euro |
Some other product for B2C with 10 Euro net | 5 | 59,5 Euro |
Total: 178,5 Euro
Tax: 28,5 Euro
thanks to @postme24 for the hint
Since it was already requested in #23 this issue resolves the request on using Webspace product to specify ISPConfig properties (like, hard disk quote, SSL, ...) when an order has been completed
When a domain is entered, we should only check if it's already in the ISPConfig server. If not, we should allow the buyer to proceed with checkout. A domain that is already registered or that cannot be verified should not stop us from proceeding with checkout.
Hi Guys,
When trying to use with plugin WooCommerce 5.2.2 / Wordpress 5.7.1 I'm getting the following:
Fatal error: Uncaught Error: Class 'NumberFormatter' not found
in /home/----/----/wp-content/plugins/wc-invoice-pdf/model/invoice-pdf.php on line 28
This is happening when trying to generate an invoice.
Thanks,
wc-invoice.pdf - version 1.5.4; woocommerce 6.1.1
After creating my first few invoices, I cannot list the invoices any longer and get a fatal exception error. I also got this error when clicking the B2C checkbox and Payment Interval for yearly.
Invoices
Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /home/customer/www/mortonbusinessconsulting.com/public_html/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php:120 Stack trace: #0 /home/customer/www/mortonbusinessconsulting.com/public_html/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php(120): DateTimeZone->__construct('') #1 /home/customer/www/mortonbusinessconsulting.com/public_html/wp-includes/class-wp-hook.php(303): WCInvoicePdf\Menu\InvoiceMenu->DisplayInvoices('') #2 /home/customer/www/mortonbusinessconsulting.com/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #3 /home/customer/www/mortonbusinessconsulting.com/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #4 /home/customer/www/mortonbusinessconsulting.com/public_html/wp-admin/admin.php(259): do_action('wc-invoices_pag...') #5 {main} thrown in /home/customer/www/mortonbusinessconsulting.com/public_html/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php on line 120
There has been a critical error on this website.
I changed the timezone from UTC-5 to New York and that fixed it. Thought you might want to know...
WooCommerce Version 3.8.0
When switching to checkouts, an error appears - "Sorry, your session has expired. Return to shop"
Hallo Ole :)
Kann den Punkt WC-Invoices leider im WP-Admin nicht finden, um die Einstellungen vorzunehmen. Geht dein Plugin noch? Brauch unbedingt ein Plugin für Sammelrechnungen. Danke!
When exporting to GnuCash the price per qty/unit is wrongly taken
My question is that if you have both this plugin and the billing module add-on enabled in ISPConfig, will there be any conflicts or are both designed to work hand in hand? Will there be any conflict of interests?
Hi Ole,
arbeite mit WP 5.3.2 / WC 3.9.2 und demnächst mit WC 4.x . Es scheint, als wenn das Plugin noch nicht kompatibel ist, wird es denn aufgrund der geringen Installationen überhaupt noch supported?
Dank & Gruß, J.
Hello, i know that there is explanation how to use it, and basically if you want to make product payment automatically per yearly there is code
do_action('wcinvoicepdf_order_period', $order_id, 'yearly');
But can i make it different per product, so one product is paid yearly and another product is paid monthly.
And also when invoice is generated it's generated on day of purchase and user have 2 weeks to make payment, but i want user to make paid prepaid, so next invoice to be generated upfront and notify user 2 weeks before expiration, kinda like when you buy domain and next year you get 30 days upfront notification for payment.
To get this error:
Enable Automative invoice submission om "Settings" - > "Task scheduler", then try to open the "Invoices".
Result: error 500.
Its nginx+php-fpm 7.3
Log is attached.
I think it's relates also to this issue, but tried the WooCommerce integration, ordered a webhosting, then, set it's state to proccessing, then completed, but nothing happened in ISPConfig. The user/website isn't created.
Update: In WP core, these were another TimeZone, then my real timezone, which caused this.After I've set it to my real TZ the invoices menu is working. But the creation in ISPConfig still not happens.
If I press "Invoice" on WooCommerce orders ->Edit order it writes Invoice 201909-4317-R created in order notes, but I can't find the invoice in WC-Invoices -> Invoices, still empty.
Hi, i am using this plugin for ispconfig. The method i am using for registering is not the Ipsconfig Blocks but the Product (Webspace). During check-out it creates a Wordpress/woocommerce Account and an ISPConfig account but with different passwords.
Is there a way to hand out the same password ?
Or to send the Welcome Mail from the ISPConfig Mail Template with the set password?
(Currently it only sends this welcome mail when i manually register a new user)
Thanks in advance
Hi, When this plugin is installed, it removes regular price and sale price from all product types and it's visible only on Working hours product type. See screenshots.
I think it's not right, All other product types should still have the price tab visible.
let me know if that's how you think it should be.
Thank you for your free plugin.
Thank you ..
When your plugin is activated, it breaks above plugin PDF creation with following error. It's PDF library conflict. Gets following error:
Fatal error: Call to protected method Cpdf::getFirstPageId() from context 'Dompdf\Adapter\CPDF'
#0 root-folder/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/CanvasFactory.php(57): Dompdf\Adapter\CPDF->__construct('letter', 'portrait', Object(Dompdf\Dompdf))
#1 root-folder/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(299): Dompdf\CanvasFactory::get_instance(Object(Dompdf\Dompdf), 'letter', 'portrait')
#2 root-folder/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php(49): Dompdf\Dompdf->__construct(Object(Dompdf\Options))
#3 root-folder/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(625): WPO\WC\PDF_Invoices\PDF_Maker->output()
#4 root-folder/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(660): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
#5 root-folder/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(337): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf('inline')
#6 root-folder/wp-includes/class-wp-hook.php(288): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax('')
#7 root-folder/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array)
#8 root-folder/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#9 root-folder/wp-admin/admin-ajax.php(175): do_action('wp_ajax_generat...')
#10 {main}
When I deactivate this plugin WC Recurring Invoice PDF, PDF creation works fine on the other plugin. Can you help if there is a way to make it work together. Thank you for your great plugin.
How can I configure several products with different client templates? in configuration it only allows one
I'm getting the following bug when I visit the /admin.php?page=wcinvoicepdf_invoices URL
An error of type E_ERROR was caused in line 112 of the file /wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php. Error message: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php:112
Stack trace:
#0 /wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php(112): DateTimeZone->__construct('')
#1 /wp-includes/class-wp-hook.php(286): WCInvoicePdf\Menu\InvoiceMenu->DisplayInvoices('')
#2 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#3 /wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#4 /wp-admin/admin.php(253): do_action('wc-invoices_pag...')
#5 {main}
thrown
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.