Please update to 3.6.0

please try now.
You’re welcome. Always at your service 🙂
okay now.
So, you want to update order data ( expire it ) on start of download.
Use the following code:
add_action("wpdm_onstart_download", function ($package) {
$params = wpdmppdl_decode(wpdm_query_var('wpdmppdl'));
$order_id = wpdm_valueof($params, 'oid');
$odata = WPDMPP()->order->getOrder($order_id);
if ( $odata->order_status == 'Expired' ) {
// Modify order data here
$odata->order_status = 'Completed';
// Expired time set to 10 mins in the future so that the download link will be seen as valid
$odata->expire_date = time() + 600;
}
});
please update to 6.3.1
Sorry, not clear, may you please explain little more.
May you please send me temporary wp-admin login info in a private reply to check how you are trying to implement it.
okay now, it was an incompatibility issue with the download period add-on.
Looks like you are using older version of PHP.
Please use the following code:
global $WPDM; $download_url = $WPDM->package->getMasterDownloadURL($ID);
please update to 6.3.1
May you please explain a little more about the idea behind the hook.
Hi,
You may use shortcode wpdm_direct_download, please follow the doc:
[wpdm_direct_link] – Embed direct download link as a simple text link
however, if you want to generate download link for public downloads suing php code, you may use:
$download_url = home_url("/?wpdmdl=" . $ID);
For locked packages,
Get master download url:
$download_url = WPDM()->package->getMasterDownloadURL($ID);
Get expirable link:
/**
* @param $ID
* @param int $usageLimit
* @param int $expirePeriod seconds | default 10800 seconds = 3 hours
*
* @returns string download url
*/
$download_url = WPDM()->package->expirableDownloadLink($ID, $usageLimit, $expirePeriod);
Please try applying the license key again.
Yes, certainly you can do that.
Use the following code:
WPDMPP()->cart->addItem($product_id_1);
WPDMPP()->cart->addItem($product_id_2);
WPDMPP()->order->open();
WPDMPP()->order->set('uid', $user_id);
WPDMPP()->order->set('payment_method', 'Cash');
WPDMPP()->order->save();
WPDMPP()->order->complete_order(Session::get('orderid'), false);
Hi,
From Downloads ► Settings ► Inter Interface ► Deselect any selected google font and then “Save Settings”. Google font will be removed from front-end.
Hi,
Renewal option is just like completing order again, no way to pay partially or for specific item only. However, admin can delete any item from an order or add discount on order total before renewal.
However, in such case, it is better to use buy now option / purchase each item separately, instead of multi-product cart order.
I tried and updated wpdm pro successfully, shown that with the video. WPDM MailChimp is installed on your site, but I’m not seeing MailChimp with your purchased items.
Update is not working as your license key field is empty:

( https://www.loom.com/share/9f09e8dfe817402d8adb099eef72e885 )
Hi,
Plugin update should work fine like any other plugin except your server firewall is blocking wpdownloadmanager.com. Please give me temporary wp-admin login info in a private reply.
Hi,
Thanks for your patience, update is available now.
Premium package’s paypal option already support credit card, the depends on your paypal account settings, also, I see pay with credit card is showing there already:
