Hi Stewart, I really appreciate your efforts in building and maintaining this plugin, it is central to two of my sites. That said, I would like to know if you’re still actively maintaining this plugin?
I see a few support requests that have gone without response now, so it makes me a little concerned.
That said, I do have a couple of minor errors showing up now:
PHP Deprecated: Creation of dynamic property WC_Gateway_Invoice::$instructions is deprecated in /wp-content/plugins/wc-invoice-gateway/includes/class-wc-invoice-gateway.php on line 40
PHP Deprecated: Creation of dynamic property WC_Gateway_Invoice::$order_status is deprecated in /wp-content/plugins/wc-invoice-gateway/includes/class-wc-invoice-gateway.php on line 41
PHP Deprecated: Creation of dynamic property WC_Gateway_Invoice::$user_roles is deprecated in /wc-invoice-gateway/includes/class-wc-invoice-gateway.php on line 42
PHP Deprecated: Creation of dynamic property WC_Gateway_Invoice::$enable_for_methods is deprecated in /wc-invoice-gateway/includes/class-wc-invoice-gateway.php on line 43
PHP Deprecated: Creation of dynamic property WC_Gateway_Invoice::$enable_for_virtual is deprecated in /wc-invoice-gateway/includes/class-wc-invoice-gateway.php on line 44
Your attention is much appreciated. And, I’m also be willing to lend a hand in supporting this plugin if you need it.
]]>Hi.
It would be great if you could update this plugin to be fully compatible with upcoming changes coming to PHP 9 with warnings from PHP 8.
The deprecations are related to “Creation of dynamic property” in the following locations:
Creation of dynamic property IGFW::$failed_dependencies is deprecated in invoice-gateway-for-woocommerce/invoice-gateway-for-woocommerce.php on line 158
Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_MAIN_PLUGIN_FILE_PATH is deprecated in /invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 53 and all other Class “CONSTANTS” on Line 54-63
Creation of dynamic property IGFW\Models\Gateways\IGFW_Invoice_Gateway::$instructions is deprecated in /invoice-gateway-for-woocommerce/Models/Gateways/IGFW_Invoice_Gateway.php on line 38 and all other variables on Line 39-40.
The fix is simple. Just declare the variables with the correct scope and your’re good!
]]>Hi it is possible to set the payment gateway for specific user not user roles ?
]]>Hi, would it be possible to pass in the order as a 2nd parameter to the filter_process_payment_order_status filter please? In class-wc-invoice-gateway on line 422 and line 459? Other gateways pass the order as a parameter and it will help with filtering the order status. Many thanks.
]]>Hi Stuart,
Is there a way to limit the total spend on an invoice payment option?
For instance, the total cart spend could be set to $500. If someone tries to place an invoice order of $750 then it either declines the order or hides the pay by invoice.
Cheers
Malc
]]>Hi there,
We have been using your plugin for a while now but we are unable to change the Instruction field to be left blank. Every time we do this it populates the field with the description field.
Thanks
Hi, just checked my checkout page running php 8.2 with wp debug true and saw the following – letting you know. i did not check other pages…. thx al ot
Deprecated: Creation of dynamic property WC_Gateway_Invoice::$instructions is deprecated in /home/mycloud/webapps/mysitename_shop/ok/plugins/wc-invoice-gateway/includes/class-wc-invoice-gateway.php on line 40
Deprecated: Creation of dynamic property WC_Gateway_Invoice::$order_status is deprecated in /home/mycloud/webapps/mysitename_shop/ok/plugins/wc-invoice-gateway/includes/class-wc-invoice-gateway.php on line 41
Deprecated: Creation of dynamic property WC_Gateway_Invoice::$user_roles is deprecated in /home/mycloud/webapps/mysitename_shop/ok/plugins/wc-invoice-gateway/includes/class-wc-invoice-gateway.php on line 42
Deprecated: Creation of dynamic property WC_Gateway_Invoice::$enable_for_methods is deprecated in /home/mycloud/webapps/mysitename_shop/ok/plugins/wc-invoice-gateway/includes/class-wc-invoice-gateway.php on line 43
Deprecated: Creation of dynamic property WC_Gateway_Invoice::$enable_for_virtual is deprecated in /home/mycloud/webapps/mysitename_shop/ok/plugins/wc-invoice-gateway/includes/class-wc-invoice-gateway.php on line 44
]]>hi, does this plugin automatically send a notification email to the customer and the site administrator when a customer places and order using this method?
]]>When I use the plugin and select the pay by invoice option at the checkout; I get this message:
“payment_method is not one of woocommerce_payments, bacs, cod, woocommerce_payments_bancontact, woocommerce_payments_ideal, and woocommerce_payments_sofort.”
any ideas?
thnx Erik
]]>@stuartduff Currently this plugin is marked as not compatible with HPOS. Will it be in the near future?
]]>The pluggin was working fine until about 30 minutes ago. Now it doesn’t work. I have isolated it and am using the default invoice payment tool until a fix. That one works just fine. Any thoughts?
]]>I might be going about this the wrong way, but here’s the workflow I had in mind – let me know your thoughts.
BACKGROUND
I’m using this and a combo of plugins for an invoicing system. I know I can create orders in the Woo admin but it’s clunky and time-consuming. By using this alongside Product Tables I hope to make this work…
1. login as admin
2. go to shop (product table – achieved with plugin)
3. switch to {client user} (i have a plugin for this)
4. add items to cart + checkout with invoice option.
5. user gets email with link to view order (invoice)
6. button to pay is available <- this is what is missing
COMPARISON
If I manually create an order in woo, by default it:
– puts the order status as pending
– emails them that the order/invoice is ready to be paid
– when they view their orders, it offers a PAY button (I’m guessing it’s bc a payment option ISN’T set)
POSSIBLE SOLUTIONS
SOLUTION #1
I thought about trying to hook your gateway and unset the payment method when it’s placed on the front-end and the payment method is invoice, but here’s my thoughts/questions:
1. will that cause certain triggers NOT to fire in your plugin?
2. it’s not really accurate … the order method IS pay via invoice, and then it BECOMES pay via card or whatever once that happens. I like data to be accurate so this solution feels like a hack.
SOLUTION #2
Hook something in the templates for the customer order table and order view page which shows the PAY button when the current method is invoice and it’s on-hold or pending payment.
#2 seems like the better approach. Do you agree? Am I missing some faster/better way?
There is one other thing that bugs me about Woo in general… if I generate an order on the backend, by default it sets the status to ‘pending’ and fires an email to the customer. But if I have your plugin set the status to pending with a front-end checkout, no email is generated to the client. Is this your experience as well or do you think I have a conflict with another plugin.
THANKS FOR READING ALL THIS!
]]>When purchasing via invoice gateway the status is set to “processing”.
I need the order to be set as “payment pending” so that the order is editable for the user.
I’ve seen in the documentation some people have options to set the default order status for “invoice gateway” but I don’t seem to have those options?
]]>Hello – I use this plugin on many b2b shops, but the latest one needs to allow the customer to enter an amount to invoice, and an amount to pay by credit card. Is it possible to customize the plugin for this purpose, and, would you be for hire to do it?
]]>Hi,
When a user checks out with invoice option, the status of the order switches to completed instead of pending payment.
After doing a full conflict test, the plugin causing this seems to be Memberpress WooCommerce Plus. I have contacted their support team as well. But I also wanted to check incase if the support for this plugin has had someone with this issue before and have a possible solution.
If not could you make any suggestions as to why this is happening and how I could go about fixing it. Look forward to any kind of feedback.
Thank you,
Harin
The tooltip for the Instructions field (in the admin) say that Instructions are displayed on the Thank You page and in the New Order email. In my case, Instructions are also being shown on the Order Completed email. Is this intentional? I’d prefer to not show the instructions in the Order Competed email, if possible.
If it matters, I have assigned a custom order status to the gateway.
Thanks for any help.
Steve
]]>Invoice Payment Gateway is showing an error on the checkout page “Response from payment gateway was empty.”
While on the backend order is placed.
Hello,
The shop owner as well as the customer does not receive an email when a new (invoice) order is placed. it was working fine, but recently I’ve noticed this issue. But the shop owner receives the email regarding the Product out of stock information.
I’ve checked with the email log plugin. But it also logs only the out-of-stock mail.
There are no issues with the emails when we try to place an order by bank transfer, COD, and any payment methods.
Looking forward to your feedback. Thank you!
]]>When I try the create invoice example i get the following errors:
Notice: Trying to get property ‘params’ of non-object in /var/www/html/wp-includes/IXR/class-IXR-client.php on line 155
Notice: Trying to access array offset on value of type null in /var/www/html/wp-includes/IXR/class-IXR-client.php on line 155
The example is on the documentation here:
https://wp-invoice.github.io/docs/api/#gsc.tab=0
I am attempting to use the XMLRPC to create an invoice. I modified it a little to get it to work from a test page:
<?php
//include_once( '../class-IXR.php' );
//include_once( '../class-wp-http-ixr-client.php' );
//Load WordPress
include_once( '../wp-load.php' );
include_once( '../wp-includes/class-IXR.php' );
include_once( '../wp-includes/class-wp-http-ixr-client.php' );
$client = new WP_HTTP_IXR_Client( 'https://{SITE}/xmlrpc.php' );
$client->query('wp.invoice', array(
$method = 'create_invoice',
$credentials = array('xmlrpc-user', 'password'),
$args = array(
'subject' => 'Test API Invoice',
'description' => 'Invoice descriptive information.',
'type' => 'invoice',
'user_data' => array(
'user_email' => '[email protected]',
'first_name' => 'John',
'last_name' => 'Smith'
),
'deposit' => 15.99,
'due_date' => array(
'month' => '09',
'day' => '10',
'year' => '2013'
),
'currency' => 'USD',
'tax' => 10.5,
'tax_method' => 'after_discount',
'status' => 'active',
'discount' => array(
'name' => 'Your Discount',
'type' => 'amount',
'amount' => 1.20
),
'items' => array(
array(
'name' => 'Test item 1',
'description' => 'Item 1 description',
'quantity' => 2,
'price' => 2.65,
'tax_rate' => 1 //global 'tax' will be used in order to priority
),
array(
'name' => 'Test item 2',
'description' => 'Item 2 description',
'quantity' => 4,
'price' => 3.85
)
),
'charges' => array(
array(
'name' => 'Fee 1',
'amount' => 0.56
),
array(
'name' => 'Fee 2',
'amount' => 0.99,
'tax' => 15 //global 'tax' will be used in order to priority
)
)
)
));
$new_invoice = $client->getResponse();
?>
]]>
I have the plugin set for the order status to be pending payment, but when a user selects the invoice option it is automatically coming through as complete.
]]>Hi,
First I would like to say thank you for this plugin, however, I have some issues with it when a customer is logged in with their account and try to checkout, the invoice gateway is only available on local pickup but when you’re not logged in it’s available to all shipping method. Can you help me with this? Thanks
]]>Hi,
Just added “WooCommerce Invoice Gateway” as payment gateway as we are B2B and require invoice transaction. How may we run a test checkout just to ensure that everything is working correct?
Secondly, what is different between “WooCommerce Invoice Gateway” and Stripe invoice except that it has no fees because it does not invoice?
]]>Hi, this topic was raised here before but wasn’t revolved IMO. When I install the plugin it works and all but there are no new order emails being sent out to the admin or the customer. Could you help me please? Thank you
]]>My customers would like to be able to store their records somewhere. If they are logged into their account on my site, is there a way for them to view all of the orders they’ve placed?
The alternative I suppose is a print button so they can print off the details of every order they do and store the digital pdf on their computer. It wouldn’t be an invoice so much as just the details of the order. This latter approach probably isn’t the role of this plugin, but perhaps you know the answer.
Thanks,
Sam
Hi,
I tried to configure this plugin. Invoice payments is activated in the woocommerce payment methods (it is the only activated payment method). I tried to add all user roles or not to fill in the field, same for shipping modes. I have put back the Storefont theme and when I validate my basket, I have a message saying that no mode is available. How to do ?
Wordpress 5.4 Woocommerce 4.1
I am 100% sure the pay later / invoice option didn’t used to show when the customer was logged out? correct me if I’m wrong. But now it’s visible for guests?
Also you have a typo in your settings
Choose and order status
should be
Choose an order status
]]>Hi, I have a client that was using this plugin to allow business customers to get approvals on orders. Before the latest version, their clients were able to add an order, print it/or forward the order emails, get approval for the purchase and then go back and pay for the order. Now the pay button is missing from the orders list – as indicated in the change log.
Would it be possible to put a filter in the code on an array of buttons to allow the choice of which buttons (if any) to remove? I would actually like to remove the cancel, but need the pay button.
]]>The Invoice Gateway payment method no longer displays on the checkout page. The payment is enabled and displayed until only recently. WordPress v5.4 + WooCommerce v4.0.1 + OnePress
]]>Hi Stuart,
(how) is it possible to create more than one invoice gateway? In my case I need two of them which should work equal but show other payment options in the cart.
Mario
]]>The pay now button only shows on the order tables but when a user views the full order there is no pay button. How can this be added.
]]>