Troubleshooting

WooCommerce Pohoda Connector

Batch connector start displays error “curl is not recognized”

Issue: When starting the batch connector on the local or network side of Pohoda, the command line is displayed error “curl is not recognized as an internal or external command”.

Cause: The command line tool cURL is not installed on Windows running a local instance of Pohoda or which has remote access to the Pohoda network. This open software tool ensures data transfer between systems. In the case of our batch connector, it is about sending requests from Pohoda to the API e-shop.

Solution: You can use this procedure to install and activate cURL https://stackoverflow.com/a/16216825.


Pohoda mServer running nonstop stops communicating

Issue: If you use a solution via Pohoda mServer for synchronization between the e-shop and Pohoda, during its non-stop running it may get stuck, ie. mServer will stop communicating with our batch connector and Pohoda and it is necessary to restart it. A similar problem can occur if the Pohoda computer or server restarts and forgets to restart Pohoda mServer.

Cause: The most common cause of mServer crashes is its continuous operation, and Stormware, as the creator of Pohoda, does not recommend that mServer be run non-stop.

Solution: Our batch connector allows you to set Pohoda mServer to activate (start) only if the connector needs it to connect to Pohoda (“on demand”). In practice, this means that Pohoda mServer is not run non-stop, but only at the moment when data is exchanged between the batch connector and Pohoda. When the batch connector is started, the mServer turns on, when the batch connector runs, the mServer automatically shuts down. For this method of communication, simply enter the name mServer in the attribute “pohoda_mserver_name” in the “wc-config.cmd” configuration file in our batch connector.


PDF invoices from Pohoda are not downloaded to the e-shop

Issue: When synchronizing invoices, the e-shop displays the invoice numbers generated in Pohoda, but it is not possible to display them or send them to e-shop customers.

Cause: In order for invoices to be displayed in the e-shop, or so that they can be automatically sent by e-shop to customers, the plugin needs to have defined which printable invoice report to download from Pohoda.

Solution: In the plugin settings, on the “Invoices” tab, enter the value of the print report ID from the Pohoda you want to catch in the “Invoice print report” attribute. You can find the value of ID in Pohoda – you will open the Invoices agenda, in the top menu click on File > Print reports, select a print report and right-click to display Report Properties, where you will see the report ID value. The default report ID for issued invoices is 190.


Created invoices do not have the correct number range

Issue: Created invoices from e-shop orders do not have the correct number range in Pohoda, or invoices in Pohoda are not created at all.

Cause: The most common cause of the problem is an incorrectly entered number range prefix in the plugin. If this prefix is ​​not specified in the plugin, resp. is empty (tab “Invoices”, attribute “Prefix of numerical series of invoices”), Pohoda generates invoices according to the basic number series. But if you have created your own number range for invoices from the e-shop in Pohoda, you need to enter its prefix in the plugin.

Solution: In Pohoda, view a list of all number series – in the top menu, open the Settings > Lists > Number boards. The Prefix column shows the prefix and copy the prefix from the given invoice number series and paste it into the “Invoice of the invoice series prefix” attribute in the plugin.


Created invoices do not have the correct primary accounting

Issue: Created invoices from e-shop orders do not have the primary accounting correctly assigned in Pohoda.

Cause: In the plugin settings, in the “Invoices” tab, in the “Pre-invoice for invoices” attribute, the value of the primary accounting shortcut is not entered at all, or an incorrect value is entered.

Solution: In Pohoda, you will see a list of all primary accountings – in the top menu, open the Accounting > Primary accountings. The Shortcut column shows the shortcuts for primary accountings, and copy and paste the shortcut from the given primary accounting of issued invoices into the “Accounting for invoices” attribute in the plugin.


If you have not found a solution to your problem, please contact us via the form