mgaccess Posted March 2, 2011 Share Posted March 2, 2011 Any one know what user the whmcs cron job runs as? Here is the reason I'm asking if you care to know: Disclaimer: I've added custom code to my invoicepdf.tpl to include a "username" on the invoice with each product which all works well except for the following issue. I'm trying to troubleshoot an issue where the cron job creates the invoices correctly but no longer captures the credit card payments to mark them as paid. 1) If I manually "attempt payment" from WHMCS for the invoices that were created via the cron job, the payment is captured successfully. 2) If I log in as root to the console and run the cron job manually, it captures the payment successfully. I can't figure out why the scheduled cron job doesn't capture the gateway payments successfully and it's driving me nuts!! I thought maybe the cron job is trying to run as a user that doesn't have permissions to something needed. 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.