Hi Bohemier,
I enabled a paypal payment plugin. I never configured my Paypal account properly, so I cannot complete the order proces by making a real payment. This is what I did:
- Created a new order
- Choose paypal as payment option
- Went into backend and manually changed the status of the new order into "confirmed"
- Checked the download_ids table: record with new downloadID is correctly added
Same problem: the e-mail I received contained all the information, EXCEPT the downloadid.
I even added some text to "order_status_notification.html.modified.php", just to make sure that that it uses the right file:
$url = "index.php?option=com_hikashop&ctrl=download&downloadid=$downloadid";
$url = JRoute::_($url);
echo 'ADDED SOME TEXT TO CHECK HERE <a href="'.$url.'">'.$fileName.'</a><br/>';
Everything appears in the email, only $downloadid doesn't seem to have a value.
Once again, thank you very much for all your help.
Erik