cancel
Showing results for 
Search instead for 
Did you mean: 

Downloadable products unique url each order

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Downloadable products unique url each order

We use Magento 1.9.2. We want to sell audio books through Magento, and the arrangement is as follows:

 

  • The customer makes an order with a book, we send the order id and so on to the distributor through an API.
  • The API returns a unique url which the customers should use to download the book.

How can I make Magento send this new url instead of the one that magento creates in the order confirmation email?

 

I belive i need to update the downloadable_link_purchased_item table, is this the correct approach, or does someone have a better idea?

 

Thanks for your answers!