Jan38 Posted January 9, 2016 Share Posted January 9, 2016 Hi all, Is it possible to block cancellations within x days when invoice already is generated and active? I would like to have the situation that customers can cancel their service up to 30 days before renewaldate, when the period of 30 days is active and the renewal invoice is created customers can cancel after the next period has expired. Now people can cancel their services (hosting/domains) when invoice already has been generated and that is not what i want. I have set reminders and warnings far before generating the next invoice. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 9, 2016 Share Posted January 9, 2016 Is it possible to block cancellations within x days when invoice already is generated and active? not from within the Admin settings. I would like to have the situation that customers can cancel their service up to 30 days before renewaldate, when the period of 30 days is active and the renewal invoice is created customers can cancel after the next period has expired. Now people can cancel their services (hosting/domains) when invoice already has been generated and that is not what i want. no service dates are passed to the cancellation page (though domain next due dates are), so that would rule out a simple tweak with a template edit to achieve this. therefore, I think you're looking at using (at least) one of two options - both would require custom action hooks. 1. write an action hook to remove the sidebar link to "Request Cancellation" on the product details page if the service is within 30 days of renewal and an invoice has been issued - obviously, you'd need to be using a template based on "six" for this to work. 2. write an action hook (clientarepagecancellations) to pass the required info to the template and then output accordingly based on your rules, e.g if within 30 days, disable the cancellation button and display appropriate message. 0 Quote Link to comment Share on other sites More sharing options...
Kevin K Posted January 24, 2020 Share Posted January 24, 2020 On 1/9/2016 at 9:43 AM, brian! said: therefore, I think you're looking at using (at least) one of two options - both would require custom action hooks. 1. write an action hook to remove the sidebar link to "Request Cancellation" on the product details page if the service is within 30 days of renewal and an invoice has been issued - obviously, you'd need to be using a template based on "six" for this to work. I am looking for something like this where you can hide the cancellation button if the the date is within 3 days (72 hours) of the product due date. You have any ideas how to implement this as a hook? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.