Giter Club home page Giter Club logo

wc-invoice-pdf's People

Contributors

ole1986 avatar tkembo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wc-invoice-pdf's Issues

date confusion

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.

Update since Wordpress V5.2.5 throws errors in plugin.

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

Invoice page in "My Account" not found

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

[ISPConfig3] Provide an order confirmation once the order completed

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

Should allow checkout completion even if a domain is already registered or cannot be verified

Current Problem:

  • If you try to checkout with a domain that has already been registered, you won't be allowed to proceed and will be give an "The domain is already registered" error. This stops anyone who wants to move their existing domain to you from proceeding with checkout.
  • Also if one wanted to a TLD such as .co.zw (which is not supported by the WC-Invoice check), they they get an "The domain could not be verified" error.

Proposed Solution

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.

Fatal error Class 'NumberFormatter' not found

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,

fatal exception for timezone in wp

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...

Kann es im WP-Admin leider nicht finden

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!

Cirtical error in "WC-Rechnungen >> Rechnungen"

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.

Upfront payment notification and different recurring per product

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.

Error 500 when enable "Automative invoice submission"

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.

wc-invoice.txt

Synchronized password creation

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

removes product price field from all product types

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.

wc-invoice-pdf-issue1
wc-invoice-pdf-issue2

Thank you ..

Payment Reminder of deleted Customers

As i was testing this plugin i created random Users but i deleted them later.

Now i am getting an daily E-Mail: Payment reminder. (Attached)
I even deleted the plugin and reinstalled it.

Is there a file to maybe delete these manually?
Thanks
image

Conflict with plugin WooCommerce PDF Invoices & Packing Slips

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.

multiple client template

How can I configure several products with different client templates? in configuration it only allows one

Uncaught Exception: DateTimeZone::__construct():

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.