New: Option to send email error notifications when an error happens in communication with the EAN API
New: Added filter: woocommerce_cvr_payment_gateway_email_subject_error to filter the subject of the error notification emails being sent
New: Added filter: woocommerce_cvr_payment_gateway_email_content_error to filter the content of the error notification emails being sent
Updated: WooCommerce 9.4.2 compatibility flag.
Tweak: Hook woocommerce_cvr_payment_gateway_load_plugin_textdomain to plugins_loaded
Fix: Logging to WooCommerce Logs when errors occur with EANAPI communication
Version 7.0.1 – 2024-10-08
Fix: Check for values for CVR Handling fees otherwise use default if they are not set
Fix: Fixed a niche situation where if the license wasn’t validated, HPOS compatibility would not register
Fix: Make i18n work with block based checkout
Version 7.0.0 – 2024-09-19
Updated: WooCommerce 9.3.2 compatibility flag.
Fix: Proper checks if all data is set in $_POST
New: Moved yanco_cvr_woocommerce_cart_calculate_fees outside class to avoid potential race conditions in calculating the cart fees.
New: WooCommerce Checkout Blocks compatibility
New: Logging to WooCommerce Logs when errors occur with EANAPI communication
Fix: Default variables for includes/WooCommerceCvrMetaBoxes.php
Fix: Check for order_id in requests
Fix: Check for ean_number in requests
New: Changed to EANAPI version 5
Updated: Danish translations
Version 6.2.0 – 2024-02-06
Updated: WooCommerce 8.5.2 compatibility flag.
Updated: Declare incompatibility with cart_checkout_blocks, we’re working on making it compatible with a future release, there’s not ETA on it at the current moment of this release
Tweak: Allow for multiple %s in e-mail instructions
Tweak: Check for $order object in woocommerce_ean_custom_order_notification to avoid fatals for other plugins messing with woocommerce_thankyou hook
Tweak: Check for $order object in various place to avoid fatals for other plugins messing with $order object
New: Option to add handling fee to EAN orders
New: When changing the user of an order that has EAN Payment Gateway as the selected payment method, the plugin will check if the user has saved any EAN payment information and if so, insert the EAN payment information in the related fields on the order.
New: Display the EAN user meta fields on the edit profile page of the user
Version 6.1.2 – 2023-11-15
Updated: WooCommerce 8.2.2 compatibility flag.
Fix: PHP 8.2+ deprecation warnings for dynamic creation of properties
Fix: When a renewal order is created, run set_payment_method and set_payment_method_title to include the information in the renewal e-mail being sent out
Version 6.1.1 – 2023-10-13
Fix: Fatal error: esc_ettr corrected to esc_attr
New: Updated WooCommerce tested up to version
Version 6.1.0 – 2023-09-11
New: Update WCAM library to version 2.9.1
New: Separate ean_admin_styles() into its own function and load only where necessary
Fix: Use woocommerce_thankyou hook for sending woocommerce_ean_custom_order_notification
Fix: Closing p-tag properly in settings
Security: External Security Audit performed by lana.codes from WordFence
Security: Missing Authorization to Authenticated (Contributor+) Order Meta, Fix nonce-leak
Security: Only allow update of EAN data if current user has ‘edit_shop_orders’ capability
Security: Load only ean_admin_scripts() where necessary
Version 6.0.3 – 2023-08-14
Fix: PHP Warning: Undefined array key “menu_type” in wc-am-client.php
Version 6.0.2 – 2023-07-20
Fix: Remove check for function_exists(‘wcs_is_wc_feature_enabled’) as it’s deprecated
Version 6.0.1 – 2023-07-20
Fix: Check for function_exists(‘wcs_is_wc_feature_enabled’) to support older WooCommerce versions not running HPOS
Version 6.0.0 – 2023-07-14
New: Compatibility for High Performance Order Storage (HPOS) https://woocommerce.com/document/high-performance-order-storage/ make sure to backup your site and do thorough testing, preferably on a staging/development environment before enabling HPOS
New: Updated WCAM library to version 2.9
Fix: Use wc_reduce_stock_levels() as $order->reduce_order_stock() is deprecated
Fix: Payment method added for renewal orders
Fix: Sweet Alert 2 confirmation dialogue didn’t fire when updating the EAN-API data from the WooCommerce Order Overview Screen
Version 5.0.4 – 2023-01-31
Bugfix: Allow e-mails to be sent for order status “Pending payment” (wc-pending)
Version 5.0.3 – 2023-01-30
New: WooCommerce 7.3.0 compatibility flag.
Bugfix: Use the defined text for receipt pages.
New: Introduced the filter ‘filter_yanco_ean_woocommerce_thankyou_order_received_text’ to allow for further customization of the displayed text.
Version 5.0.2 – 2023-01-10
New: WooCommerce 7.2.2 compatibility flag.
New: Deprecated descriptions in translations as these should come from options and not translations.
Tweak: Use WooCommerce translations for order statuses.
Version 5.0.1 – 2022-08-02
Fix: Added an error message to display a more correct message when an error occured with EAN API
Version 5.0.0 – 2022-03-24
New: Introduced usage of wc_get_order_statuses to control which statuses are available under the settings.
New: Introduced the filter ‘yanco_ean_payment_gateway_remove_non_actionable_statuses’ that filters out ‘non-actionable’ statuses (wc-cancelled, wc-refunded, wc-failed).
New: Upgraded to sweetalert2
New: Updated WooCommerce supported version
New: Replaced use of cURL and file_get_contents in favor of wp_remote_post
New: Security audit of the plugin
Fix: Save the CVR number to the meta_key vat_number
Version 4.2.0 – 2021-04-04
New: Updated software updater to the latest version
New: Updated WooCommerce supported version
Version 4.1.0 – 2020-11-13
New: Added option to control the subscription status when the customer changes payment method to CVR Payment Gateway
New: Added option to enter CVR information when changing to CVR Payment Gateway from the Admin Subscription view
New: Removed Meta boxes on Subscription view in favor of being able to change Payment Method
Tweak: Display the EAN API information on the Subscription view based on the selected payment method
Version 4.0.3 – 2020-11-11
Fix: Called the wrong HelperClass
Version 4.0.2 – 2020-11-11
New: Enhanced the support for WooCommerce Subscriptions
Version 4.0.0 – 2020-11-08
New: Upgraded to EAN API version 4 (https://eanapi.dk)
New: Refactored the entire codebase
New: Option to enable customers to choose a Production Unit during checkout
New: Option to set default order status for WooCommerce Subscriptions orders (separate status from the regular orders)
New: Option to set default order status for WooCommerce Subscriptions renewal/resubscribe/switch orders
New: EAN API Information is now per default collapsed in the WooCommerce order overview to save space and to have a better overview for users
New: EAN API Information can now be clicked on to display it in the WooCommerce order overview
New: Added sweetalert.js to handle dialogues for a more pleasant user experience
New: Show EAN Subscription Renewal description in Order overview
Tweak: Changed translation texts for clarification purposes
Tweak: Changed default order status to Pending Payment
Tweak: Changed the default e-mail text and message on the order receipt page slightly to give customer a better indication on of the order process.
Tweak: Only allow logged in users to save the EAN Payment Info as we can’t save details to non-logged in users
Tweak: Updated translations
Fix: Include e-mail instructions in order e-mail
Fix: When enabling reference person required and having the reference/requisition fields disabled, resulted in an error during checkout
Fix: When enabling requisition number required and having the reference/requisition fields disabled, resulted in an error during checkout
Remove: Option “Error message” as it was not needed (You can change the error message using language files)
Version 2.3.0 – 2019-12-11
New: Added option to prevent CVR-orders changing to order status cancelled.
Tweak: Updated Danish translation
Version 2.2.1 – 2019-08-02
Fix: Double $$ in WC Subscriptions Integration
Version 2.2.0 – 2019-07-30
New: Check if cURL or allow_url_fopen and display a notice if none of them are available
New: Detect if cURL is available and if true, use it to communicate with EAN API
New: If cURL isn’t available, but allow_url_fopen is, then fallback to use file_get_contents for communicating with EAN API
Tweak: Removed CVR-Nemhandelsregisteret endpoint as all data comes from CVR-Registeret now
Tweak: Updated Danish translation
Version 2.1.0 – 2019-07-09
New: Setting to allow customers to save the CVR Payment Information on their user profile
New: Customers can now choose to save the CVR Payment Information on their user profile if enabled in the settings
Tweak: Small change to the thank you page displaying the information properly under billing information
Version 2.0.1 – 2019-05-16
Tweak: Added support for checking if WooCommerce is active on multisite
Version 2.0.0 – 2019-05-10
!! IMPORTANT !! If you are upgrading from version 1.X to version 2.X you will need to deactivate the plugin and reactivate the plugin again, then enter your API key. We’ve made several improvements to the API licensing server to ensure future feature and compatibility. We are sorry for the inconvenience about this. If your license key reports an invalid key, please visit https://plugins.yanco.dk/my-account and login to make sure your license key has not changed.
New: Added integration with WooCommerce Subscriptions
New: Sets the meta_key vat_number to integrate with IEX
New: Refactored the License API
New: Refactored the Main plugin code
New: Made option to select required / optional for requisition number
New: Made option to select required / optional for reference person
New: Updated Danish translation
Fix: Proper validation for reference person and requisition number