Is this plugin still being updated? I see a warning that it hasn’t been updated for the last 3 wp updates.
Thanks for your help.
]]>Invoice Gateway For Woocommerce v1.1.3
In versions of PHP 8.2 and above dynamic properties are deprecated unless explicitly allowed via the AllowDynamicProperties, currently getting many deprecation errors in the debug log and it is filling it up real fast.PHP Deprecated: ?Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_MAIN_PLUGIN_FILE_PATH is deprecated in /var/www/html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 53
PHP Deprecated: ?Creation of dynamic property IGFW\Models\Gateways\IGFW_Invoice_Gateway::$instructions is deprecated in /var/www/html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Gateways/IGFW_Invoice_Gateway.php on line 38
PHP Deprecated: ?Creation of dynamic property IGFW::$failed_dependencies is deprecated in /var/www/html/wp-content/plugins/invoice-gateway-for-woocommerce/invoice-gateway-for-woocommerce.php on line 158
This occurs on all properties that are dynamically called within the plugin.
Subsequently this is generating deprecation errors when preg_replace is called with null as a parameter to $subject.
PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-includes/kses.php on line 1805
Can we please make sure all properties of the classes are defined else allow dynamic properties in all classes?
Thanks
]]>The payment method is not showing on the checkout page. Everything is configured correctly, the errors states “There are no payment methods available. This may be an error on our side. Please contact us if you need any help placing your order.” The site is basically a staging site to test this plugin.
WP version: 6.5.5
Theme: DIVI
Plugins: this and woocommerce only
PHP: 8.1.29?
Please let me know if you need more info. Thanks!
Hi,
When i activate the plugin, my other payment methods disappear. Are you familiar with this problem?
]]>G’day,
We’re seeing a bunch of deprecated notices in the log. If you could please optimise for PHP 8.2 that’d be fantastic, thank you!
Please let us know if we can help further with resolving the issues.
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW::$failed_dependencies is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/invoice-gateway-for-woocommerce.php on line 158
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_MAIN_PLUGIN_FILE_PATH is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 53
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_PLUGIN_DIR_PATH is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 54
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_PLUGIN_DIR_URL is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 55
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_PLUGIN_BASENAME is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 56
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_PLUGIN_MAIN_FILE is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 57
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_CSS_ROOT_URL is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 59
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_IMAGES_ROOT_URL is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 60
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_JS_ROOT_URL is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 61
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_VIEWS_ROOT_PATH is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 63
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_TEMPLATES_ROOT_PATH is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 64
[06-Mar-2024 05:35:02 UTC] PHP Deprecated: Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_LOGS_ROOT_PATH is deprecated in /home/USERNAME/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 65
Deprecated: Creation of dynamic property IGFW\Models\Gateways\IGFW_Invoice_Gateway::$instructions is deprecated in /home/thebookw/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Gateways/IGFW_Invoice_Gateway.php on line 38
Deprecated: Creation of dynamic property IGFW\Models\Gateways\IGFW_Invoice_Gateway::$enable_for_methods is deprecated in /home/thebookw/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Gateways/IGFW_Invoice_Gateway.php on line 39
Deprecated: Creation of dynamic property IGFW\Models\Gateways\IGFW_Invoice_Gateway::$enable_for_virtual is deprecated in /home/thebookw/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Gateways/IGFW_Invoice_Gateway.php on line 40
Thanks,
Luke
Hello!
I am wondering if you can send a snippet that will show the PO Number on the Order Details Page in the Customer’s “My Account” Orders.
IMPORTANT NOTE: I’m using the following snippet that you previously sent that shows the PO Number in the order list and Thank You Page. This is working great!
(Is it possible to show PO Number column only for a customer that has a PO rather than to all customers?)
// Add PO Number Column on My Orders Table
add_action( 'woocommerce_my_account_my_orders_column_po-number' , 'add_igfw_po_number',10,1 );
function add_igfw_po_number( $order ) {
$po_number = get_post_meta( $order->get_id(), 'igfw_purchase_order_number', true );
echo $po_number;
}
add_filter( 'woocommerce_account_orders_columns', 'new_orders_columns',10,1 );
function new_orders_columns( $columns) {
// Add new column. Kept simple to play nice with other filters.
$columns['po-number'] = __( 'PO Number', 'woocommerce' );
return $columns;
}
// Add PO Number on Thank You Page
add_action('woocommerce_thankyou_igfw_invoice_gateway', 'igfw_show_po_number_on_thank_you_page', 10, 1);
function igfw_show_po_number_on_thank_you_page($order_id) {
$order = wc_get_order($order_id);
$po_number = $order->get_meta('igfw_purchase_order_number', true);
echo '<p><strong>PO Number:</strong> ' . $po_number . '</p>';
}
Thanks for your help!
]]>Is there a snippet I can use to change the following text on the checkout page under the field to enter PO Number:
“We will generate and send you an invoice for your order, if you have a PO number, please enter it.”
Please advise, and thank you!
]]>or you going to update the plugin soon or? It is not compatible with the newest WP version
]]>When using a manual order “New Order” button on woocommerce does the system allow you to use user role prices to create invoices/orders to send to customers to pay online. Or is there another way to make invoices for their user role prices to then email to the customer?
]]>Is this possible?
I’d like to hide it for free products like how the Stripe payment gateway does not appear when only free products are in the cart.
Thanks!
]]>Good afternoon.
I’m wondering if it is possible to show the PO number that the customer has entered on their “My Account, Orders” page and also on the thank you page after ordering.
Right now it does state that the payment is Purchase Order, but I’d love it if they could see their PO number as well.
Thanks for your help with this.
]]>Is there a way to make the PO Number Required rather than optional?
Please advise and thank you!
]]>HI there, we use your plugin on a load of portals, it has been working fine,
SO when an order comes in with the Invoice plugin, it should go to processing to allow the accounts department to invoice separately and the order to go to the warehouse system. BUT seems since the update the other day, its going to ON HOLD… which isnt triggering the order to go to the warehouse anymore?
Description on plugin >>>>>>>>>>>>>
INVOICE GATEWAY FOR WOOCOMMERCE – AN EASY INVOICE PAYMENT GATEWAY SOLUTION
Add a WooCommerce invoice gateway option for your customers on the checkout. The invoice payment gateway lets your customers checkout without paying and you can invoice separately via your Xero, Quickbooks, MYOB, Reckon Online, or other accounting package.
There’s no integration required, you just invoice as you normally would, the plugin lets you record the invoice number which gets added to the customer’s WooCommerce invoice email.
Orders get created in Processing status and from there you can generate a separate invoice from your accounting system to have your customer pay outside of WooCommerce.
Once you have been paid just add the invoice number to the order then change the Order status to Completed.
It’s perfect for situations like wholesale selling where customers are often reluctant to pay large orders online. It’s very similar to a WooCommerce quote at this stage and many people do use it as a quotes gateway.
This plugin is also fully compatible with Wholesale Suite’s WooCommerce Wholesale Prices plugin which is the #1 solution for wholesale sales in WooCommerce.
The WooCommerce invoicing process with Invoice Gateway For WooCommerce:
Please can you advise why its going to ON hold rather than Processing as we need, and the plugin used to do ? cheers Paul
]]>2023-09-15T07:03:26+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function IGFW\Models\Orders\IGFW_Order_CPT::save_invoice_number(), 1 passed in /customers/e/a/f/aveo.se/httpd.www/wp-includes/class-wp-hook.php on line 310 and exactly 2 expected in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Orders/IGFW_Order_CPT.php:185 Stack trace: #0 /customers/e/a/f/aveo.se/httpd.www/wp-includes/class-wp-hook.php(310): IGFW\Models\Orders\IGFW_Order_CPT->save_invoice_number(116129) #1 /customers/e/a/f/aveo.se/httpd.www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) #2 /customers/e/a/f/aveo.se/httpd.www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/legacy/api/v3/class-wc-api-orders.php(666): do_action(‘woocommerce_upd…’, 116129) #4 /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/legacy/api/v3/class-wc-api-server.php(371): WC_API_Orders->edit_order(116129, Array) #5 /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/legacy/api/v3/class-wc-api-server.php(222): WC_API_Server->dispatch() #6 /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/legacy/class-wc-legacy-api.php(113): WC_API_Server->serve_request() #7 /customers/e/a/f/aveo.se/httpd.www/wp-includes/class-wp-hook.php(310): WC_Legacy_API->handle_rest_api_requests(Object(WP)) #8 /customers/e/a/f/aveo.se/httpd.www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #9 /customers/e/a/f/aveo.se/httpd.www/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #10 /customers/e/a/f/aveo.se/httpd.www/wp-includes/class-wp.php(398): do_action_ref_array(‘parse_request’, Array) #11 /customers/e/a/f/aveo.se/httpd.www/wp-includes/class-wp.php(779): WP->parse_request(”) #12 /customers/e/a/f/aveo.se/httpd.www/wp-includes/functions.php(1335): WP->main(”) #13 /customers/e/a/f/aveo.se/httpd.www/wp-blog-header.php(16): wp() #14 /customers/e/a/f/aveo.se/httpd.www/index.php(17): require(‘/customers/e/a/…’) #15 {main} thrown i /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Orders/IGFW_Order_CPT.php p? rad 185
Too few arguments to function on row 185 in IGFW_Order_CPT.php please fix this.
]]>Error Details
=============
An error of type E_ERROR was caused in line 185 of the file /usr/share/nginx/html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Orders/IGFW_Order_CPT.php. Error message: Uncaught ArgumentCountError: Too few arguments to function IGFW\Models\Orders\IGFW_Order_CPT::save_invoice_number(), 1 passed in /usr/share/nginx/html/wp-includes/class-wp-hook.php on line 310 and exactly 2 expected in /usr/share/nginx/html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Orders/IGFW_Order_CPT.php:185
Stack trace:
#0 /usr/share/nginx/html/wp-includes/class-wp-hook.php(310): IGFW\Models\Orders\IGFW_Order_CPT->save_invoice_number(185735)
#1 /usr/share/nginx/html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)
#2 /usr/share/nginx/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /usr/share/nginx/html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/data-stores/class-wcs-subscription-data-store-cpt.php(189): do_action('woocommerce_upd...', 185735)
#4 /usr/share/nginx/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(196): WCS_Subscription_Data_Store_CPT->update(Object(WC_Subscription))
#5 /us
]]>
Hi, can we set pay later option only for specific user ?
]]>Is it possible to set the invoice option to only display for specific customers based on user role or some other parameter?
]]>Hello team,
I am using both stripe payments and invoice payments based on cart conditions. When I select Stripe payments, the order is processed successfully and an order receipt is generated. But when I am purchasing via Invoice payments, the page redirects to the cart which says “empty basket”. But the buyer receives the mail and I can see the orders in the backend. Only the receipt page is not generated after purchase.
If you want to test, you can go to this page and create a group with 2 seats. Then you can checkout with invoice payment.
Please help.
]]>The plugin is falling when the below request is performed.
Request:
POST?https://www.storedomain.com/wc-api/v2/orders/357743
data: {"order": {"status": "completed"}}
Error:
1 PHP Notice Trying to get property 'ID' of non-object
Plugin: Customize My Account for WooCommerce
File: /wp-content/plugins/customize-my-account-for-woocommerce/include/frontend/woocommerce_frontend_endpoint.php
Line: 29 Aug 16, 2023 - 11:58:25
(2 occurrences logged)
2 PHP Fatal Uncaught ArgumentCountError: Too few arguments to function IGFW\Models\Orders\IGFW_Order_CPT::save_invoice_number(), 1 passed
Stack trace:
#0 /wp-includes/class-wp-hook.php(310): IGFW\Models\Orders\IGFW_Order_CPT->save_invoice_number(293833)
#1 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)
#2 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /wp-content/plugins/woocommerce/includes/legacy/api/v2/class-wc-api-orders.php(629): do_action('woocommerce_upd...', 293833)
#4 /wp-content/pl in /wp-content/plugins/invoice-gateway-for-woocommerce/Models/Orders/IGFW_Order_CPT.php on line 185
WordPress core
File: /wp-includes/class-wp-hook.php on line 310 and exactly 2 expected
Line:
]]>
Is it possible to have the PO field + checkout process work for free products? Currently if the product is £0.00 the PO field doesn’t show.
]]>
Error Details
=============
An error of type E_ERROR was caused in line 185 of the file /var/www/html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Orders/IGFW_Order_CPT.php. Error message: Uncaught ArgumentCountError: Too few arguments to function IGFW\Models\Orders\IGFW_Order_CPT::save_invoice_number(), 1 passed in /var/www/html/wp-includes/class-wp-hook.php on line 308 and exactly 2 expected in /var/www/html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Orders/IGFW_Order_CPT.php:185
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(308): IGFW\Models\Orders\IGFW_Order_CPT->save_invoice_number(145693)
#1 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/data-stores/class-wcs-subscription-data-store-cpt.php(189): do_action('woocommerce_upd...', 145693)
#4 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(196): WCS_Subscription_Data_Store_CPT->update(Object(WC_Subscription))
#5 /var/www/html/wp-content/plugins/woocommerce/includes/abstr
]]>
I installed the invoice gateway, but I always get a message saying there’s an error. The site won’t check out. there are no other payment gateways set up. Could this possibly be the reason?
Any suggestions?
]]>Hi,
I wanted to request that your plugin, enables support for Woocommerce’s new feature, “High Performance Order Storage”. Right now I can’t use this new feature for my store because “Invoice Gateway for Woocommerce” doesn’t yet support HPOS.
I’m hoping that you’ll be supporting HPOS in some future update.
https://developer.woocommerce.com/2022/09/14/high-performance-order-storage-progress-report/
Thanks for your time!
]]>I see someone made a topic like this about 2 years ago. I need the PO field to be required, since people are submitting orders without adding a PO number. I’ve tried a few ways to add a required attribute, but it hasn’t worked.
]]>We have observed that the Invoice option is not visible on iPhone devices, although it appears correctly on laptops and desktops. Despite our efforts, we have been unable to resolve the issue.
]]>I want to change default payment status to Pending instead of processing
Please and thank you!
]]>Hi, does this plugin communicate discounts with Quickbooks Online? We wish to be able to show any applied discounts on our invoices…
]]>Hi!
I enabled the mode in your plugin to add a Purchase Order field and when I fill it out, for some reason it is not transferred to Xero.
How is this supposed to work correctly?
]]>Is it possible, if the users selects pay by invoice, they can enter invoice details?
For example, I might have a Head Teacher place the order so use their email for the account etc but want the invoice sent to the office managers email.
]]>The Reference field in Xero invoices will be populated by the WooCommerce payment reference – eg “Credit Card 987621234” or “Bank transfer (EFT)”.
Also I have an API interface with a 3rd party who can send sales and their order reference number will come through because they must be able to populate the payment reference.
So my question/request is can there be a way for a user to poplate reference, usually a Purchase Order number/ref? Currently users will typically populate the “notes” box on the checkout page however that info does not get to Xero, and sometimes the notes will have other info such as delivery instructions.
So would it be possible to have a specific field on the checkout page for “order reference” if populated which would over-ride the payment details insofar as what gets sent to Xero ‘reference’?
]]>