Use force_ssl_admin() && is_ssl() in edd_get_ajax_url() to properly set the ajax URL to https if FORCE_SSL_ADMIN is defined. #2097. Props @netzberufler