Buy B2BKing
$299 $199
The purchase order gateway adds a PO field to checkout, allowing customers to enter their purchase order number. Customers can also upload PO documents directly via a convenient drag & drop area.
This gateway works with both the classic WooCommerce checkout and the newer blocks-based checkout.
Customers will see the PO gateway as one of the available payment gateways during checkout:
If document upload is enabled, customers will also see a drag & drop area where they can click or drag a file to upload their PO document.
To enable this feature, go to WooCommerce->Settings->Payments and enable the "Purchase Order" gateway.
Make sure to also enable this method in B2BKing -> Groups for your user groups. Methods can be controlled separately for each group, so you can, for example, enable Purchase Orders for your B2B users only.
The method can be further configured via the WooCommerce settings page:
The gateway includes the following settings to control which fields are shown and whether they are required:
This gives you full control over the checkout experience. For example, you can make the PO number required while keeping document upload optional, or require both.
Purchase order numbers entered by customers will appear in the backend for each order when editing that order.
If the customer uploaded a PO document, a "View / Download" button will also appear next to the PO number, allowing you to open and download the uploaded file directly.
Note: The purchase order number must be issued manually using your business's own purchase order management system.
By default, this gateway sets orders to the "On Hold" status. If you'd like to change this, you can do so by adding a PHP code snippet to your site.
For example, to change this to the "Processing" status, add the following snippet:
add_filter('b2bking_purchase_order_status', function($status, $order){ return 'processing'; }, 10, 2);
Powered by BetterDocs