In the event of a refund or cancellation of an order, it would be appreciated if the serial number is also deactivated or deleted (this choice can be included in the settings panel).
]]>Hello Digital License Manager Team,
Thank you for your helpful and practical plugin.
We assign a generator to a virtual product so when a user buys this product, they get an auto-generated license key. The problem is that the keys are not activated and this is showing on the user’s page. On the license tab of the plugin the codes are showing: the status is set to delivered and activation is 0 out of 1 time possible activation.
Can you kindly help us with setting up the way to auto-activate auto-generated codes?
Sincere Regards,
Hoda
]]>Hello,
I have translated this plugin to Czech, can you please approve the translation or atleast give me permission to do so? Thanks
Hello,
After a year without probles I get an 403 error when trying to activate a license. I didn’t change any code allthought plugins have been updated.
Activation still works when i use the url in the browser and log in with the consumer key and the consumer secret
I use the following code:
im client As HttpClient = New HttpClient()
' Set the base address of the API
client.BaseAddress = New Uri("https://financialdecisionsupport.nl/wp-json/dlm/v1/")
' Set the authorization header
client.DefaultRequestHeaders.Authorization =
New AuthenticationHeaderValue("Basic",
Convert.ToBase64String(Encoding.ASCII.GetBytes("ck_xxxxx:cs_yyyyy")))
' Set the security protocol explicitly
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
' Send the GET request
Dim response As HttpResponseMessage = client.GetAsync("licenses/activate/" & lsLicenseKey).Result
' Check if the request was successful
If response.IsSuccessStatusCode Then
As a result I get
- response {StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
Cache-Control: no-cache
Content-Length: 93
Content-Type: text/html
}} System.Net.Http.HttpResponseMessage
+ Content {System.Net.Http.StreamContent} System.Net.Http.HttpContent {System.Net.Http.StreamContent}
+ Headers {Cache-Control: no-cache
} System.Net.Http.Headers.HttpResponseHeaders
IsSuccessStatusCode False Boolean
ReasonPhrase "Forbidden" String
+ RequestMessage {Method: GET, RequestUri: 'https://financialdecisionsupport.nl/wp-json/dlm/v1/licenses/activate/TCCSCC-7G4U-JX5B-LKJLJKJL', Version: 1.1, Content: <null>, Headers:
{
Authorization: Basic xxxxyyyyyyy
}} System.Net.Http.HttpRequestMessage
StatusCode Forbidden {403} System.Net.HttpStatusCode
+ Version {1.1} System.Version
+ Shared members
+ Non-Public members
Any idea how to solve this?
]]>
We had talked again in an older topic about this and you had provided me this code
Right now the code no longer works. To update in what is needed let me explain.
I want to be able to display the licenses when user goes to his orders page in woocommerce. For each order the corresponding license keys to display for each product that has a delivered license.
I use custom template so it is better if there was a way to use a shortcode or something to display the license keys inside my template.
Here is my custom wocommerce orders.php template. See it on github
Inside here i’m trying to display the license key <span class=”dlm-myaccount-license-keys”></span>
In orders.php template for each is used so this element prints for each product on each order seperately.
I basically try to display a license key or keys under each product in /my-account/orders/
hello
does it support multivendor marketplace, like the dokan or wcfm etc
]]>Hi,
In the language file of the pro version, .po, some words are missed in source text.(I am translating by using LOCO plugin):
Licenses
No licenses available yet
Could you check them again? Also, Is there any method directly to add missed-words or strings from my side in the future?
Thanks.
]]>Hello,
I was looking thru docs, but i didnt found any option to disable including license keys from invoices. Is there even option to do it?
]]>Woocommerce uses data-title attributes to show the table cell information on mobile responsive tables. If we could add data-title to the license activations table it would benefit mobile users.
In below screenshot I added data-title=”name” to the first cell. Which makes the table much more readable.
View post on imgur.com
]]>
I created on a fresh empty site a license and trying to view the license through woocommerce > account > view license.
The following fatal error occurs.
Note that this is an manually created serial imported from License Manager for Woocommerce.
PHP FatalUncaught Error: Call to a member function get_view_order_url() on nullStack trace:#0 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()#1 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template()#2 /wp-content/plugins/digital-license-manager/includes/Integrations/WooCommerce/MyAccount.php(294): wc_get_template_html()#3 /wp-includes/class-wp-hook.php(324): IdeoLogix\DigitalLicenseManager\Integrations\WooCommerce\MyAccount->addSingleLicenseContent()#4 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#5 /home/991455.clo in /wp-content/plugins/digital-license-manager/templates/woocommerce/dlm/my-account/licenses/single.php on line 104Plugin: Digital License Manager
File: /wp-content/plugins/digital-license-manager/templates/woocommerce/dlm/my-account/licenses/single.php
Line: 104
Hi, is it possible that after the last update the licenses are no longer updating? In the backend, I have 6 products in stock, but the website shows 0. Thank you.
]]>Hi dear.
How can we create a copy to clipboard function for easily copy licenses by clicking on it in the order recivied page (woocomerce thank you page) ?
please help me this was a big problem for us.
thank you.
]]>Hello, was wondering if there’s any way at all to change the text color of the license keys under the “My Account” section of the Woocommerce website? Currently using a Dark Theme For The Website, so only way they can see their license key if they hover over or click on it since clicking on it will copy it clipboard as it’s setup that way.
]]>Got the a german (de_DE.mo) translation, they say it’s translatable but that seems not be the case.
Hello, and thank you for your plugin.
Could be possible to add a custom filter to add a custom array keys to API responses, after data are processed and before they are sent as json? maybe a filter with 2/3 param so we can add custom key conditionally based on api request url, etc..
thank you.
]]>Is it possible to send the licenses in test messages by whatsapp? Currently I use a plugin to notify each status of woocommerece orders with several keywords such as: [order_id] [order_currency] [order_amount]
[order_product_with_qty] [order_product] [order_status]
Att..
]]>Hi,
I have a problem with DLM. I try to query single license but with non-existing license number.
When I do it in Postman, everything works and I get correct JSON answer about license key not found or that in does not exist. No matter what exact call I use, either it is “activate”, “validate”, or just a “license”.
But when I try to achieve the same result from my installer, I get Internal Server Error. Installer is made in Setup Factory 9, and I submitting my call with built-in function HTTP.SubmitSecure with all parameters provided. Funny thing is that with “activate” call everything works and I get an answer from server, but with either “validate” or “licenses/{license_key} I have only Internal Server Error.
What can be possibly wrong? I have the same behavior with License Manager for WooCommerce, and I have hoped that it will work with yours. But no, it has the same behavior.
I am trying to set up this addon to create a database of licenses. I would like to add a custom status called “STOLEN”. The customer can report as stolen in the MY ACCOUNTS section via a status change form. Their licence should then be changed to stolen. When using the validator form on the front end, i would like the license check to then come back with say a red box with stolen text.
Basically, i need a frontend form where a customer can simply select a new status, that in turn will be reflected in the validator form when the key is typed correctly. Is this possible?
I have tried every plugin like this, and up until now this is the most needed feature for me, that i just cannot work out. I will be definately buying the premium version to get subscriptions etc included, if only i can get something like this working.
Thankyou
]]>hello
There is some php warning “PHP Warning: include(/www/wp-content/plugins/digital-license-manager/templates/woocommerce/dlm/my-account/licenses/partials/key.php): Failed to open stream: No such file or directory” when enable debug
and I searched the code found some reference in file “\includes\Integrations\WooCommerce\MyAccount.php” line 282: ‘license_key_html’ => wc_get_template_html( ‘dlm/my-account/licenses/partials/key.php’,
have a check pls
]]>Hello
I have imported 50 licenses from a .csv file. All licences are activated but it still shows (0 available) in product edit page
]]>Hello,
I have an issue where the product’s stock quantity was not automatically reduced after I manually deleted the license key. In order to tally the stock, I need to click the synchronize button again.
Is this normal?
]]>Hello Darko,
I’ve upgraded DLM to the latest version (1.5.8) from 1.4.2 and faced PHP Fatal error: Uncaught Error: Call to a member function get_view_order_url() on https://website.com/my-account/digital-licenses/ page.
I have WordPress 6.4.3, Woocommerce 8.3.1 and latest Storefront theme installed.
Full trace:
[11-Feb-2024 00:37:42 UTC] PHP Fatal error: ?Uncaught Error: Call to a member function get_view_order_url() on bool in /wp-content/plugins/digital-license-manager/templates/woocommerce/dlm/my-account/licenses/index.php:73
Stack trace:
#0 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
#1 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template()
#2 /wp-content/plugins/digital-license-manager/includes/Integrations/WooCommerce/MyAccount.php(188): wc_get_template_html()
#3 /wp-includes/class-wp-hook.php(324): IdeoLogix\DigitalLicenseManager\Integrations\WooCommerce\MyAccount->digitalLicenses()
#4 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-content/plugins/woocommerce/includes/wc-template-functions.php(3213): do_action()
#7 /wp-includes/class-wp-hook.php(324): woocommerce_account_content()
#8 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#9 /wp-includes/plugin.php(517): WP_Hook->do_action()
#10 /wp-content/plugins/woocommerce/templates/myaccount/my-account.php(34): do_action()
#11 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/user/...')
#12 /wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php(119): wc_get_template()
#13 /wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php(72): WC_Shortcode_My_Account::my_account()
#14 /wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_My_Account::output()
#15 /wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(115): WC_Shortcodes::shortcode_wrapper()
#16 /wp-includes/shortcodes.php(433): WC_Shortcodes::my_account()
#17 [internal function]: do_shortcode_tag()
#18 /wp-includes/shortcodes.php(273): preg_replace_callback()
#19 /wp-includes/class-wp-hook.php(324): do_shortcode()
#20 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#21 /wp-includes/post-template.php(256): apply_filters()
#22 /wp-content/themes/storefront/inc/storefront-template-functions.php(352): the_content()
#23 /wp-includes/class-wp-hook.php(324): storefront_page_content()
#24 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#25 /wp-includes/plugin.php(517): WP_Hook->do_action()
#26 /wp-content/themes/storefront/content-page.php(18): do_action()
#27 /wp-includes/template.php(792): require('/home/user/...')
#28 /wp-includes/template.php(725): load_template()
#29 /wp-includes/general-template.php(206): locate_template()
#30 /wp-content/themes/storefront/template-fullwidth.php(21): get_template_part()
#31 /wp-includes/template-loader.php(106): include('/home/user/...')
#32 /wp-blog-header.php(19): require_once('/home/user/...')
#33 /index.php(17): require('/home/user/...')
#34 {main}
? thrown in /wp-content/plugins/digital-license-manager/templates/woocommerce/dlm/my-account/licenses/index.php on line 73
Quickfix that I implemented – Just commented out line 76 (//’href’ => esc_url( $order->get_view_order_url() ),) in the file woocommerce/dlm/myaccount/licenses/index.php and therefore had to hide this button using CSS.
One more strange thing, right after I upgraded the plugin, I’ve got a Migration message from DLM. Like I used License Manager for Woocommerce plugin before, but I haven’t.
Help me please fix this unexpected issue.
I enjoy using your plugin, thank you!
]]>While activating my plugin I’m getting “Unable to decode response. (1)”, I attached my below code
]]>While creating rest api i am unable to add user, despite user present in database it showing user is missing
]]>Hello and thank you for your collaboration, in the user account, licenses are not displayed, and this error appear
Warning: Undefined variable $result in /home/site/public_html/wp-content/plugins/digital-license-manager/includes/Integrations/WooCommerce/MyAccount.php on line 411
]]>Hi dear friend
How can we create a copy to clipboard function for the convenience of our users to easily copy licenses by clicking on it?
Hey Darko,
I am integrating your plugin into our software and was wondering what is the best way to create license and activate/deactivate it using code.
Obviously I have few scenarios, but if you can provide snippets for each of those actions that would be great.
I really appreciate your time!
Thanks,
Pete
Hi, when trying to add keys following error appears – Fatal error: Uncaught TypeError: Key expected for argument 2. String given instead. in /var/www/u0755755/data/www/gamerz.kz/wp-content/plugins/digital-license-manager/vendor/defuse/php-encryption/src/Crypto.php:29 Stack trace: #0 /var/www/u0755755/data/www/gamerz.kz/wp-content/plugins/digital-license-manager/includes/Utils/CryptoHelper.php(154): Defuse\Crypto\Crypto::encrypt('TESTKEY', '') #1 /var/www/u0755755/data/www/gamerz.kz/wp-content/plugins/digital-license-manager/includes/Utils/CryptoHelper.php(203): IdeoLogix\DigitalLicenseManager\Utils\CryptoHelper->encryptValue('TESTKEY') #2 /var/www/u0755755/data/www/gamerz.kz/wp-content/plugins/digital-license-manager/includes/Core/Services/LicensesService.php(189): IdeoLogix\DigitalLicenseManager\Utils\CryptoHelper::encrypt('TESTKEY') #3 /var/www/u0755755/data/www/gamerz.kz/wp-content/plugins/digital-license-manager/includes/Controllers/Licenses.php(214): IdeoLogix\DigitalLicenseManager\Core\Services\LicensesService->create(Array) #4 /var/www/u0755755/data/www/gamerz.kz/wp-i in?/var/www/u0755755/data/www/gamerz.kz/wp-content/plugins/digital-license-manager/vendor/defuse/php-encryption/src/Crypto.php?on line?29
Please help
]]>Is it possible it possible to allow users or customers to enter a license key into the licenses tab in My Accounts to activate their license? If need be, I can provide a link to show what I mean. Thanks for the help in advance.
]]>Hi Darko, I am trying to customise the language string on the Woocommerce order emails that reads: ‘Your digital license(s)’. I am using Loco Translate, found this exact language string, customised it and saved it. However, the change did not have any effect on the email notification that came through to the customer or on the text that appears on the Woocommerce Thank you screen.
Can you please confirm if there is an issue with this language string which prevents it from being edited?
(Same goes for these language strings:
– ‘Licenses’ tab on the Woocommerce My Account page &
– ‘License key’ column header in the table on the Licenses tab