jdsnty Posted November 25, 2021 Share Posted November 25, 2021 The Suspend Parent Product option makes it possible to suspend a hosting service when an associated addon is overdue. Is there a way to automatically unsuspend the parent product once the overdue invoices for the addon are paid? 0 Quote Link to comment Share on other sites More sharing options...
jdsnty Posted November 29, 2021 Author Share Posted November 29, 2021 Lacking a native solution (as far as we could tell), we solved the issue by writing an InvoicePaid hook that checks whether any invoice items match an addon and whether that addon belongs to a suspended product with the telltale signs of having been suspended by an overdue addon (the right suspend message, a non-expired next due date, etc.). That method does work, although it's rather convoluted. Having a native way to revert the effects of a suspend parent product option would certainly be helpful. 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.