Hi I am trying to connect the purchase order plugin from mobile app using create order /wp-json/wc/v3/orders rest api and i am passing gazchap_purchase_order_number as parameter followed by purchase order value but i am getting gazchap_purchase_order_number as null after order is created. how to pass my purchase order number while create order rest api is executed
Is this compatible with the new Woocommerce HPOS https://woo.com/document/high-performance-order-storage/
Thank you
]]>Hello – would you be interested in extending your plugin, to allow us to validate entered PO number? We’d need it to check the entered value against the list of acceptable values. We’re expecting 3 valid numbers, and they may change over time, so I’d need access to the code to make the changes, or, a field in the Woo settings for managing the valid numbers.
Thanks, Scott
]]>Hi Gareth,
Thanks for your work on the plugin so far. When I complete an order for some reason the PO number no longer shows in the admin panel.
Is this expected behaviour?
Cheers
]]>My client wants to be able to accept purchase orders only from certain approved customers. Is there a Purchase Order Payment gateway to will allow this?
]]>I know that Organisation is a British spelling of the word, but I have a client complaining about the misspelling. What would be a proper fix for this? For the time being I have just edited the plugin but I know that will be overwritten on the next update. Let me know if you need clarification.
]]>Unfortunately you cannot see the problem on the front end of the site. We use myworks to sync the order with accounting and the format of the variable that is sent from the gazchap has a nested array.
array (
0 =>
array (
),
)
This is not the standard now with woocommerce. Is there a way that you can fix it?
It should look like
array (
0 => '',
)
if empty and
array (
0 => '123456ponumber',
)
if there is a value
]]>After buying something with the purchase order, when I go to see my orders in my account, the purchase order is not shown anywhere. It is visible on the admin side when I see the order details, but for clients, it’s nowhere to be seen.
]]>This plugin gives a PHP Notice:
payment_method was called incorrectly. Order properties should not be accessed directly.
The line causing this is $order->payment_method
in the function email_instructions()
.
It should be $order->get_payment_method()
the same way it is in the function email_add_po_number()
.
Conditions:
1st checkout works fine, 2nd checkout from same user throws JS error which also prevents Stripe’s CC field from displaying properly, therefore making checkout impossible.
As a workaround I have disabled Persistent Checkout Form Data in WooCommerce. Took about an hour to track down the issue, so thought I would pass it along. Thanks!
Uncaught Error: Syntax error, unrecognized expression: form.woocommerce-checkout [name=gazchap_purchase_order[number]]
at Function.ea.error (jquery.js?ver=1.12.4-wp:2)
at ea.tokenize (jquery.js?ver=1.12.4-wp:2)
at ea.select (jquery.js?ver=1.12.4-wp:2)
at Function.ea (jquery.js?ver=1.12.4-wp:2)
at Function.a.find (jquery-migrate.min.js?ver=1.4.1:2)
at n.fn.init.find (jquery.js?ver=1.12.4-wp:2)
at n.fn.init.a.fn.find (jquery-migrate.min.js?ver=1.4.1:2)
at a.fn.init.n.fn.init (jquery.js?ver=1.12.4-wp:2)
at new a.fn.init (jquery-migrate.min.js?ver=1.4.1:2)
at n (jquery.js?ver=1.12.4-wp:2)
]]>
Hi,
I’m texting your plugin for a project and it would be perfect except that, the description text is not displayed on the checkout page. The instructions are on the final payment page and order emails but the description is missing on checkout. Trying it on my sandbox site and the GeneratePress theme is used.
Thanks!
]]>Hi Gareth,
Just wondering if it were possible to change the title of “Purchase Order Number*” above input field to different text in the code. We are using it for Education in schools – and they don’t use Purchase Orders – but do have Roll Numbers…
Many thanks,
Chris
]]>