Jump to content

daily cron job failing when there are multiple invoices


Recommended Posts

Hey guys,

 

i have a curly one here and am hoping you can help.

 

My company has built a custom payment gateway within WHMCS and we will be experiencing a high volume of transactions as part of the daily cron job (processing payment). THe issue we are having is that if there is one invoice, the daily cron process completes and all is well. But if there are multiple individual invoices to process (the invoices may be long to one or many users), the daily cron processes the first invoice, fails and then spits out the error "Gateway Module is Missing".

 

I originally thought the hook I had setup to run upon successful payment processing would be causing the error. But I removed the hook and allowed the daily cron job to run the following day - but the same thing happened (the first invoice in the list processed and all others failed).

 

Any thoughts/ideas?

 

Cheers,

 

Damien

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated