Pierre.CIHOLAS Posted January 11, 2012 Posted January 11, 2012 Hello, First, thank you for your forums and the documentation section of your website, I learnt a lot about Prestashop in there. I set up Prestashop on my server and I use prestashop to sell tickets (with a unique number on each ticket, saved in a mysql DB with Prestashop tables). I just want to add some actions when orders placed on Prestashop are paid (when the payment is accepted, regardless of the payment method of course). I was about to modify the PaymentModule class (classes/PaymentModule.php) and add my actions in there. Would it works ? It will be problematic when I will update Prestashop to the lastest version (the file will probably be erased). What is the best way to add actions when the payment of an order is accepted ? Thank you in advance for your answers. Share this post Link to post Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now