Posted April 28Apr 28 Hi, I am wondering if it is possible to trigger an event or make a request to another service when someone purchases something from the Downloads section.Thanks in advance!
May 12May 12 Author Basically I'd like to just send a request to another API based on the download purchase.
May 17May 17 Author On 4/28/2025 at 4:39 PM, Marc said:When you say you want to trigger an event, what event are you referring to?So when someone purchases an asset from the downloads section, we need to send a request with details about the purchase to another API.
May 17May 17 Community Expert IPS5: You need to create an application and add a listener: Edited May 17May 17 by Adriano Faria
May 26May 26 Author So, IPS5 only? You can only self host IPS4 right?This led me to code hooks which should work for what's I'm after in IPS4, thanks a lot guys!
May 26May 26 Community Expert 32 minutes ago, Maxim Rioumine said:So, IPS5 only? You can only self host IPS4 right?This led me to code hooks which should work for what's I'm after in IPS4, thanks a lot guys!Create a code hook in the Downloads’ Commerce extension (onPurchaseGenerate method or something like that). Edited May 26May 26 by Adriano Faria