The plugin does not recognize my API key. I have tested the API with postman and it shows status 200 Ok,but when I enter it in the plugin it says that Holded does not recognize the API key.
WordPress version: 6.6.1
Astra: 4.7.3
Woocommerce: 9.1.4
Holded for woocommerce: 3.5.0
There are no incompatibilities as only these plugins are active:
The hosting has rest api enabled.
]]>Hello, would be nice to add the invoice_id into the order meta fields, I can see in your actual code that you have this planned in TODO.
/holded-integration/src/Services/OrderService.php
try {
$order = OrderAdapter::fromWoocommerceToDTO($WCOrder);
// Create / Update salesorder.
$holdedInvoiceId = $WCOrder->get_meta('_holdedwc_invoice_id');
if (empty($holdedInvoiceId)) {
$this->holdedSDK->syncOrder($order);
// TODO: Implement async calls to the plugin in order to save this ID
//if (is_string($result)) {
// update_post_meta($orderId, '_holdedwc_invoice_id', $result);
//
// $result = true;
//}
} else {
$this->holdedSDK->syncOrder($order);
}
return true;
} catch (\Exception $e) {
}
Please implement this feature for stores to retrieve the invoice ID and let us ask the API to send/download the document.
This is mandatory, all WooCommerce orders must have an invoice ID match and the store owner needs to see that information on each order.
Thank you,
Daniel.
Hello,
When we do a massive update of products with plugins to do this such as PW WooCommerce Bulk Edit Pro, a fatal error occurs when saving the first product, so the other products are not updated. This error occurs in the updateHoldedProduct function of the ProductService.php file located in holded-integration/src/Services. This error occurs because this function only accepts one parameter, which is the product id as an integer. We have solved this error by simply removing the restriction that the variable be an integer. I don’t know if you could review it and correct it in a future update.
Thank you.
]]>Buenos días,
Al parecer el plugin da error crítico y deja la web inaccesible al actualizar y con PHP 8.1. He tenido que cambiar a 8.0 para que pueda seguir funcionando la web sin desactivar el plugin.
Se ha producido un error del tipo?E_ERROR
?en la línea?15
?del archivo?/home/dkwjdkgr/taisa-designer.com/shop/wp-content/plugins/holded-integration/uninstall.php
. Mensaje de error:?Uncaught Error: Class 'Holded\Woocommerce\Holded' not found in /home/dkwjdkgr/taisa-designer.com/shop/wp-content/plugins/holded-integration/uninstall.php:15 Stack trace: #0 /home/dkwjdkgr/taisa-designer.com/shop/wp-admin/includes/plugin.php(1241): include_once() #1 /home/dkwjdkgr/taisa-designer.com/shop/wp-admin/includes/plugin.php(958): uninstall_plugin('holded-integrat...') #2 /home/dkwjdkgr/taisa-designer.com/shop/wp-admin/includes/ajax-actions.php(4705): delete_plugins(Array) #3 /home/dkwjdkgr/taisa-designer.com/shop/wp-includes/class-wp-hook.php(308): wp_ajax_delete_plugin('') #4 /home/dkwjdkgr/taisa-designer.com/shop/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #5 /home/dkwjdkgr/taisa-designer.com/shop/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/dkwjdkgr/taisa-designer.com/shop/wp-admin/admin-ajax.php(188): do_action('wp_ajax_delete-...') #7 {main} thrown
Cambiando a php 8.0 si funciona.
Un saludo,
Taisa