pisod Posted August 14, 2014 Share Posted August 14, 2014 Hi Prestashop 1.6 (and hopefully supported by 1.5) If I understand it correct there are 3 types of refunds. 1 Refund everything in an order, done by changing status Get notified: Best way is to hook into adminOrder 2 Standard refund, done by specifying the quantity of an item to be refunded. Get notified: Best way is to hook into actionProductCancel 3 Partial refund, done by specifying the amount to refund from each item Get notified: ??????????????? Question: How to get notified (code wise of course) when a partial refund (3 above) is made? Thanks Link to comment Share on other sites More sharing options...
pisod Posted August 15, 2014 Author Share Posted August 15, 2014 I solved it. Every time a partial refund is made an entry in order_slip is added and also in order_slip_detail. So I made my on table storing all slips that I had handled and if there was another slip available I just handled that as a partial refund. There is a field in order_slip that is named "partial" which I used. Hopes this helps someone. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now