I have installed and activate it, I can see the enabled from woocommerce -> settings -> payment,
I can’t see option of purchase order on checkout page.
Can you please suggest which step I missing? I can’t see option of purchase order on checkout page?
But I see the screenshot on your blog, that you have option of Purchase Order on checkout purchase page.
I have the purchase orders for woocommerce plugin and it works great, however, is there a way a file upload can be added to it so customers can actually attach their purchase order during checkout vs only being able to type in the po number?
]]>Hi there,
Great plugin – we love it.
A client of ours had some additional needs that extend further than the plugin you’ve built, so we made some modifications directly in the code.
Obviously this gets lost/overwritten any time you release a plugin update, so we were wondering if there was any way to make these modifications via hooks or pluggable functions.
Any help/guidance would be appreciated.
Thanks,
Todd
In WP admin when looking at an order you got the following php warning (when display is enabled in wp-config):
Notice: Function is_internal_meta_key was called incorrectly. Generic add/update/get meta methods should not be used for internal meta data, including "_payment_method". Use getters and setters. Backtrace: require('wp-admin/post.php'), require('wp-admin/edit-form-advanced.php'), do_meta_boxes, WC_Meta_Box_Order_Data::output, do_action('woocommerce_admin_order_data_after_billing_address'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Gateway_Purchase_Order->pofwc_display_purchase_order_meta, WC_Data->get_meta, WC_Data->is_internal_meta_key, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.2.0.)
I believe this is caused by using $order->get_meta(‘_payment_method’, true ) instead of $order->get_payment_method() on line 720 of wp-content/plugins/purchase-orders-for-woocommerce/class-purchase-order-gateway.php
]]>Having issues with order notifications, when selecting PO for payment option for order,s No notification are coming , Where for other payment methods order notifications are fine. I have also set the “Processing” in plugin
]]>Hi,
I’ve just tried using this plugin but have encountered 2 problems. 1, when a customer submits their order, it doesn’t send them a confirmation email and 2, we do not receive an email confirmation of a new order being received. Any advice?
]]>// Display purchase order number in a new column on Woocommerce "My account" page orders table
add_filter( 'woocommerce_my_account_my_orders_columns', 'mwd_product_column', 10, 1 );
function mwd_product_column( $columns ) {
$new_columns = [];
foreach ( $columns as $key => $wc_purchase_order_number ) {
$new_columns[ $key ] = $wc_purchase_order_number;
if ( 'order-status' === $key ) {
$new_columns['order-items'] = __( 'PO Number', 'woocommerce' );
}
}
return $new_columns;
}
]]>
Have enabled ‘pay with purchase order’ in payments, but the option to pay with purchase order is not showing in payment method selection area of checkout screen
]]>We are using Version 1.8.5 on our website and after updating to PHP 8.2 we get the error message: “Updating failed. The response is not a valid JSON response.” anytime we edit a page and Update it to save.
I’ve gone through the turn off all plug ins and turn them back on one at a time troubleshooting to determine that POs for WordPress appears to be causing this error message.
We like the plug in and some users do take advantage of it from time to time to complete their purchase – so thanks for that! Can any other users of the plug in confirm what I’m seeing? BTW we’re on Astra theme.
I’d like to keep this plugin as an option for my customers in their checkout process, but will need to upgrade to PHP 8.2 by the end of the month, so will need a way to fix or an update to the plugin before then.
Thanks for any help you can provide!
]]>Is it possible to have the purchase order number as optional? Sometimes people dont have a PO number until they have submitted an order, then later when they have ‘printed’ or emailed the price to accounts they come back with the PO number. Thanks. Jeff
Doh i see the option now – soz.!
]]>Hello,
We use your plugin and are looking to enable the upcoming HPOS (High-Performance Order Storage) feature from WooCommerce (https://woocommerce.com/document/high-performance-order-storage/)
This plugin has been flagged by Woo as incompatible at the moment so I wanted to get an idea on whether or not you have a timeline for compatability?
Thanks
]]>Hello! Any chance you might be planning to add a file upload field anytime soon? If not, any chance you might add a filter à la woocommerce_checkout_fields? Both?
]]>I do like the options this plugin provides as our business is becoming more B2B. I would like to restrict the PO option to US orders only. Is this possible?
]]>I am using the Purchase Order plugin alongside a custom checkout field plugin. Both plugins are using the hook woocommerce_email_order_meta. This is grouping this information together but I can separate or style it in the emails I am sending. Is it possible to either use a separate hook for email or disable the PO information from being included in the hook?
I hope that is clear.
Thanks
]]>After installing this plug-in, activating it, deactivating other payment methods, enabling only this one, all the add to cart buttons are now gone. Please advise.
]]>Hi, this plugin is great and does exactly what I hoped it would do.
However, I do have an idea for an improvement: At present, a user can enter any number in the “Purchase Order Number” field. It would be great if the plugin would reject a set of strings defined by the admin. For example, we’re getting the occasional person entering “N/A” or “1”.
Thanks!
]]>Does this plugin allow me to do both PO options or credit card that is what I need to do? And if not any ideas of how to do this?
]]>Hi there – is it possible for a shop manager / admin to create an order in the admin back-end of site and enter purchase order number as the payment option whilst doing so?
You plugin works great on the front end, but would really like to offer similar functionality in admin backend too.
Many thanks
]]>Is this plugin still being supported, I really need something like this but want to make sure there is support for it, I see last update was 7 months ago?
]]>Hi, we get the “Error Processing Checkout. Please try again” when trying to order using this plugin. Can you suggest how to fix it? This was working OK not long ago.
]]>I am seeing 2 possible issues:
1) I don’t see a Billing and Shipping State field in the Field Default Value drop down when creating a new field. Obviously those 2 fields are part of the default woocommerce billing and shipping fields
2) If we are displaying taxes in the view quote page. Since in our system taxes are based on the shipping address, if the user changes their shipping address in the view quote page (we added all the default billing and shipping info to the page), your system doesn’t seem to change the taxes shown based on the change to the shipping destination
I’ve noticed that in all orders, at the bottom it shows:
Purchase order information
Purchase order number:
Invoice address:
Is there a way to only show this in orders that actually used the purchase order?
Also, I don’t want the invoice address shown ever. I tried to look for some classes or something to hide it with CSS, but there aren’t any (a div around the whole thing would be useful).
]]>I get the following header errors when activating the Purchase Orders plugin.
Deprecated: Required parameter $order follows optional parameter $sent_to_admin in /home/rossi/public_html/wp-content/plugins/purchase-orders-for-woocommerce/class-purchase-order-gateway.php on line 762
Warning: Cannot modify header information - headers already sent by (output started at /home/rossi/public_html/wp-content/plugins/purchase-orders-for-woocommerce/class-purchase-order-gateway.php:762) in /home/rossi/public_html/wp-includes/functions.php on line 6584
Warning: Cannot modify header information - headers already sent by (output started at /home/rossi/public_html/wp-content/plugins/purchase-orders-for-woocommerce/class-purchase-order-gateway.php:762) in /home/rossi/public_html/wp-admin/includes/misc.php on line 1310
Warning: Cannot modify header information - headers already sent by (output started at /home/rossi/public_html/wp-content/plugins/purchase-orders-for-woocommerce/class-purchase-order-gateway.php:762) in /home/rossi/public_html/wp-admin/admin-header.php on line 9
Any idea on how to solve these?
]]>Is there a way to set the “Checkout order status” to “Pending Payment” rather than “On Hold” or “Processing”? That way it would be possible to add a Payment link to the invoice.
]]>Hi
Is there any way that I can change the names of the fields on the PO form?
I’m dealing with schools, rather than companies, so need to change the ‘Company Name’ field to say ‘School Name’ in both the box title and the helper text inside the box. I could also do with retitling the email field to be more specific.
Hope that makes sense.
Thanks in advance.
Regards
Paul
There is a circle that covers over the beginning of the PO Description text on the Checkout page. I want to send you a screenshot so you can see it, but I don’t see how to attach it here.
]]>Hi…
First of all it would be way more awesome if you could allow the admin to add custom fields and names instead of the preset fields because none of these options are the ones I was looking for.
So I tried changing the names (using Poedit) and removing the unnecessary parts instead but it seems like changing the language has no effect on the front end. it only works on the admin area. I mean what’s the point of changing the language only on the backend while the most important part is the front end ?
]]>Is there a way to change the label Zip to Post Code?
If not, that would be a useful addition.
Thanks in advance.
]]>Great plugin, how can we have the checkout order status set to pending payment once an order is place using the Purchase Order Gateway?
Also this could help your users who want to limit the gateway by user role:
https://stackoverflow.com/questions/62263005/disable-woocommerce-payment-gateway-for-guests-and-specific-user-roles
Hello, great plugin. Would you be so kind to add the Purchase order box as an option in the settings rather than it being a default required option? I removed the “required” in the code and it works but though I’d ask if it could be an option in settings.
Thanks so much.
]]>