innovator Posted November 2, 2012 Share Posted November 2, 2012 Is it possible to add custom functionality to PrestaShop refunding functionality? Lets say I have a custom payment module and I need this module to be able to synchronize refunding completed from the PrestaShop backend with the payment provider. Actually I need my module to be able to send request to the gateway of payment provider after refunding is done at the PrestaShop backend. Is any hook for this purpose? Which versions of PrestaShop can support this functionality? Thanks! Link to comment Share on other sites More sharing options...
benjamin utterback Posted November 2, 2012 Share Posted November 2, 2012 Hello vitalli.levcehnko, Thank you for the message. I believe you are asking for a custom module done on your custom payment module. This is a little vague and it will surely require more custom coding. If it is possible, I would not know, you would need somebody with advance coding knowledge to look at your Custom Payment Module to determine that answer. Thank you! Link to comment Share on other sites More sharing options...
innovator Posted November 5, 2012 Author Share Posted November 5, 2012 Hi Benjamin! Is it possible to extend refunding functionality of Prestashop with custom module? I mean: is there any hook to to use to create the module with custom refunding functionality? Thanks! Link to comment Share on other sites More sharing options...
benjamin utterback Posted November 5, 2012 Share Posted November 5, 2012 Hello innovator, i think you can use the modules codes and customize the core (or override) the files to add that functionality, you can hook it into many places. If you do anything to the codes, and core especially, always confirm a working backup first. Link to comment Share on other sites More sharing options...
innovator Posted November 6, 2012 Author Share Posted November 6, 2012 Hi Benjamin, Thanks for you reply. Is it good practice to customize the core? I want my module to be autonomous so to keep the module working after any core update. Is it possible to change default refunding functionality without changing the core? Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts