Derek Posted August 28, 2009 Share Posted August 28, 2009 Hello WHMCS, I have a slight problem, we do all our sign ups subscription based, when someone cancels we are not able to tell in WHMCS if they cancelled our not... Is there a way to only create unpaid invoices if they have cancelled there subscription (like clientexec) as we also have the problem where people see the unpaid invoice created and they pay the invoice and they have 2 suubscriptions going etc. It will also let us know how many up and coming cancellations we have. This is the only thing we can't understand about WHMCS everything else is outstanding. Thanks Derek. 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 28, 2009 Author Share Posted August 28, 2009 Anyone .... 0 Quote Link to comment Share on other sites More sharing options...
atDev Posted August 28, 2009 Share Posted August 28, 2009 What do you mean by canceled? What payment gateway are you using? 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 28, 2009 Author Share Posted August 28, 2009 What do you mean by canceled? What payment gateway are you using? paypal subscriptions. 0 Quote Link to comment Share on other sites More sharing options...
atDev Posted August 28, 2009 Share Posted August 28, 2009 I am pretty sure this would have to be done in the PayPal Subscriptions module so it can detect the IPN sent from paypal when a subscription is canceled. Unfortunately its encrypted so I can't really offer any advice as far as modifying that file directly. The hack/work-a-around would be to create a hook on 'LogTransaction' that detects this and marks it as canceled. 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 28, 2009 Author Share Posted August 28, 2009 I am pretty sure this would have to be done in the PayPal Subscriptions module so it can detect the IPN sent from paypal when a subscription is canceled. Unfortunately its encrypted so I can't really offer any advice as far as modifying that file directly. The hack/work-a-around would be to create a hook on 'LogTransaction' that detects this and marks it as canceled. ClientExec does it fine... I don't see why ALL invoices would be created if there is an active subscription as it doesn't make any sense... they are unpaid invoices but of course they are unpaid as the subscription hasn't gone through yet. 0 Quote Link to comment Share on other sites More sharing options...
atDev Posted August 29, 2009 Share Posted August 29, 2009 Because they are making payments to you which need to be recorded as invoices. If they were not then you won't have a record of the payments in WHMCS. Did you try setting the unpaid invoice to generate only the day right before all of your subscriptions bill? 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 29, 2009 Author Share Posted August 29, 2009 Because they are making payments to you which need to be recorded as invoices. If they were not then you won't have a record of the payments in WHMCS. Did you try setting the unpaid invoice to generate only the day right before all of your subscriptions bill? LoL, you dont get it heh ? You dont need to auto generate ALL invoices to "record" the invoices. ClientExec works perfectly in this regards, as it only generates invoices with paypal subscriptions cancelled. 0 Quote Link to comment Share on other sites More sharing options...
DedicatedPros Posted August 29, 2009 Share Posted August 29, 2009 LoL, you dont get it heh ? You dont need to auto generate ALL invoices to "record" the invoices. ClientExec works perfectly in this regards, as it only generates invoices with paypal subscriptions cancelled. So you don't want to generate an invoice when there is a PayPal subscription in place? Not good for accounting or any kind of record keeping (yours or the clients). 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 29, 2009 Author Share Posted August 29, 2009 So you don't want to generate an invoice when there is a PayPal subscription in place? Not good for accounting or any kind of record keeping (yours or the clients). Do you guys read anything I have wrote here... I want invoices still to generate but I do not want them to show up as "unpaid" as they are clearly not unpiad when the paypal subscription due date isnt for 14 days. If you guys ever used modern billing or clientexec there is a tab called "unpaid invoices" which shows invoices that are only unpaid or paypal subscriptions that have been cancelled that will be unpaid shortly... 0 Quote Link to comment Share on other sites More sharing options...
DedicatedPros Posted August 29, 2009 Share Posted August 29, 2009 Do you guys read anything I have wrote here... I want invoices still to generate but I do not want them to show up as "unpaid" as they are clearly not unpiad when the paypal subscription due date isnt for 14 days. If you guys ever used modern billing or clientexec there is a tab called "unpaid invoices" which shows invoices that are only unpaid or paypal subscriptions that have been cancelled that will be unpaid shortly... Your original post wasn't clear, so I had trouble understanding it. So I'm guessing you have WHMCS create invoices 14 days before the due date? If so they will always be unpaid, until the payment comes in, but maybe you could talk to someone about creating an action hook to create an invoice only once the subscription payment comes in, and if the subscription does not come in, create an unpaid invoice. Is that what you're looking for? 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 29, 2009 Author Share Posted August 29, 2009 Your original post wasn't clear, so I had trouble understanding it. So I'm guessing you have WHMCS create invoices 14 days before the due date? If so they will always be unpaid, until the payment comes in, but maybe you could talk to someone about creating an action hook to create an invoice only once the subscription payment comes in, and if the subscription does not come in, create an unpaid invoice. Is that what you're looking for? Yes Exactly, I guess setting it to create invoices every day would do the trick for now heh ? 0 Quote Link to comment Share on other sites More sharing options...
atDev Posted August 29, 2009 Share Posted August 29, 2009 Re-read my response. You should set up pro-rating so all subscriptions renew the same day. Then... Did you try setting the unpaid invoice to generate only the day right before all of your subscriptions bill? 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.