Jump to content
  • 0

What to do if autodebit is enabled and not debited?


Question

Posted

I have a lot of recurring invoices that are due on the last day of the month & the first day of the month. All of the invoices that were due yesterday (1/31) are with clients that have autodebit enabled. But it is 2/1 and none of the invoices are paid. I'm concerned now that all of my 2/1 invoices will go unpaid as well.

I've been using Blesta for ~2y and I have not seen this behavior before. Usually invoices are autodebited on the day they are due.

What's going on and how do I resolve this? Thank you.

10 answers to this question

Recommended Posts

  • 0
Posted

If the settings in Blesta haven't been changed recently, the cron may not be running. Have you checked Settings > Automation to see if the "Auto Debit" task has run recently?

  • 0
Posted

It could be due to the cron (perhaps it failed to run?) or due to the time that the cron is set to run and the time/timezone set in Blesta versus your own.

What is the value of the setting Auto Debit Days Before Due Date under Settings > Billing/Payment > Invoice & Charge Options (or under the Client Group settings if you're overriding the setting there)?

What time of day does the automation task run for Auto Debit under Settings > Automation? And in what timezone? Is it the same timezone that you're in?

  • 0
Posted

Both of those look good. I don't see anything obvious that would have caused those invoices to be autodebited the day after unless the cron failed to run that task as expected, or those clients did not have autodebit setup.

  • 0
Posted

Looks fine. The "/10" might be preceeded with an asterisk, i.e. "*/10", but if the cron is running every 10 minutes currently then it's working as expected. Did you check the cron log in Blesta to see if the autodebit task ran on 1/31 and what its output was?

  • 0
Posted (edited)

Hmm - that was the cronjob set in cpanel. This is what's in Blesta:

*/5 * * * * /usr/bin/php /home/xxxxxxxxx/public_html/xxxxxxxx/index.php cron

I'd check the logs but I can't find them.

Edited by Tyson
hid path
  • 0
Posted

The cron line shown in Blesta is an example generated from what Blesta believes the path would be, but it's not used for anything. Your cPanel cron job looks correct. You can check under Settings > System > Automation to see the last time the cron was run. It should follow a 10 minute interval based on your cPanel cron line.

You may need to wait until you have other invoices due that should be autodebited to see if they are autodebited on the correct day or not.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...