Comments on: Changes to get_version API response in Software Licensing https://easydigitaldownloads.com/development/2015/12/31/changes-to-get_version-api-response-in-software-licensing/ Official development blog for Easy Digital Downloads Wed, 15 Dec 2021 21:32:27 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Pippin Williamson https://easydigitaldownloads.com/development/2015/12/31/changes-to-get_version-api-response-in-software-licensing/#comment-773 Fri, 12 Jan 2018 21:22:45 +0000 https://easydigitaldownloads.com/development/?p=46#comment-773 In reply to Bradley Kirby.

Bradley,

Yes it was. If you’re using the latest version of the plugin updater class, the updates should always be displayed. I see you opened a support ticket so we’ll follow up with you there.

]]>
By: Bradley Kirby https://easydigitaldownloads.com/development/2015/12/31/changes-to-get_version-api-response-in-software-licensing/#comment-772 Thu, 11 Jan 2018 19:13:33 +0000 https://easydigitaldownloads.com/development/?p=46#comment-772 In reply to Pippin Williamson.

Has this been fixed yet? Not getting proper new_version info when making the request without a valid license. Making it difficult to provide update notices to customers with invalid licenses.

]]>
By: Pippin Williamson https://easydigitaldownloads.com/development/2015/12/31/changes-to-get_version-api-response-in-software-licensing/#comment-616 Wed, 19 Apr 2017 14:09:45 +0000 https://easydigitaldownloads.com/development/?p=46#comment-616 In reply to Bulk WP.

This is a bug that was accidentally introduced. We’ll have it fixed in a point release we’re releasing in the next few days.

]]>
By: Bulk WP https://easydigitaldownloads.com/development/2015/12/31/changes-to-get_version-api-response-in-software-licensing/#comment-614 Fri, 14 Apr 2017 02:03:26 +0000 https://easydigitaldownloads.com/development/?p=46#comment-614

In version 3.4.4, we have adjusted the get_version request to always return a response, regardless of whether there is a license key supplied or not

Has this feature been reverted? In EDD Software License add-on v3.5.10 this doesn’t work.

In the `get_latest_version_remote` function of the edd-software-licenses.php file I found the following condition.


$is_valid_for_download = $this->is_download_id_valid_for_license( $download->ID, $license );
if ( ! $is_valid_for_download || ( ! empty( $item_name ) && $item_name != $download->get_name() ) ) {

$download_name = ! empty( $item_name ) ? $item_name : $download->get_name();
$response['msg'] = sprintf( __( 'License key is not valid for %s', 'edd_sl' ), $download_name );

echo json_encode( $response ); exit;

}

]]>