Paul Rollo
Forum Replies Created
-
@lawrenceowen you’re a good lad! tested and working here. thank you very much.
yeah, was on a pre-release which resolved the thank you page print trigger – not sure which version, sorry.
two shipping plugins in use; WooCommerce Delivery Slots by Iconic & WooCommerce Distance Rate Shipping by Automattic.
I’m having trouble with the update, the receipts used to print off the shipping method and I can’t seem to get this to work?
Yeah, same here. No shipping method (Delivery | Collection | Free Delivery) output, even from hidden fields.
Forum: Plugins
In reply to: [Star CloudPRNT for WooCommerce] printing OLD ordersI experienced this as well. I think that this is because the print is triggered on the “Thank You for your order” page being viewed. If a customer orders something, received “thank you…” then closes switches tabs, apps or whatever, if they come back to the window and it causes that page to reload then it will retrigger a print. i verified that this is what happened in my case by checking the webserver access log to see a logged in customer reviewing the thank you page. this is a behaviour of the plugin.
Yeah, mC-Print3. That was it. The first thing I should have done was make sure the firmware was up to date!
Thanks for your help Lawrence.
So, I tried sending a JSON POST request using reqbin.com. The JSON from https://www.star-m.jp/products/s_print/CloudPRNTSDK/Documentation/en/developerguide/pollingserver/post_jsonrequest.html#example-post-requests was
{ "status": "23 6 0 0 0 0 0 0 0 ", "printerMAC": "00:11:e5:06:04:ff", "statusCode": "200%20OK", "clientAction": null }That got a 200 response from the “Server URL”
{"jobReady":false,"clientAction":[{"request":"GetPollInterval"},{"request":"Encodings"},{"request":"ClientType"},{"request":"ClientVersion"}]}That also made a Printer appear in the settings page and has created the star-cloudprnt folder in wp-content.
So, the webserver is responding to POST requests and they are being logged in access.log. The only entry in access.log which includes “cloudprnt.php” is the one I sent using reqbin.com.
The printer isn’t sending the request?
I’m using https, and a letsencrypt certificate on the website.
Any thoughts anyone?
Paul- This reply was modified 5 years, 11 months ago by Paul Rollo.
- This reply was modified 5 years, 11 months ago by Paul Rollo.
I should add, there is no folder “wp-content/star-cloudprnt” which I noted was where printers are registered in another support thread. When I visit the Server URL in a browser I get an empty response and it fires an error in error.log – PHP Notice: Undefined index: mac