pdpd Posted April 28, 2008 Share Posted April 28, 2008 We have some problems with the WorldPay cron. We want to be able to process orders for existing customers in good time, hence we run the cron every 30 minutes. However, now what happens is if somebody has a declined payment or other problem, they get an email *every* 30 minutes until they resolve it. We have a customer who just renewed 50+ domains, but payment is failing after the first 20, so he's getting 30 mails, every 30 minutes from WorldPay when the payment fails. Ideally we'd like to only run this cron ever 6 hours or so, but then if we have an existing customer place an order, they need to wait 6 hours potentially for it to be setup. Shouldnt WHMCS check if a customer has an existing WorldPay FuturePay ID during checkout and instantly provision an order if they do? This would mean the cron could run less frequently, Any ideas on alternatives? 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted April 28, 2008 Share Posted April 28, 2008 We use the action hooks to run the cron after a customer has placed an order and chosen WorldPay as their gateway. This works satisfactorily. The only problem is when a customer upgrades or buys addons as that doesn't trigger the action hooks. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted April 28, 2008 WHMCS Developer Share Posted April 28, 2008 there is a link on the invoice in each Client that would pay by CC to "Attempt CC Payment" would this not be acceptable for you pdpd? 0 Quote Link to comment Share on other sites More sharing options...
pdpd Posted April 28, 2008 Author Share Posted April 28, 2008 Chickendippers- Thanks for the update - how regularly do you run the cron oustide of this? 0 Quote Link to comment Share on other sites More sharing options...
pdpd Posted April 28, 2008 Author Share Posted April 28, 2008 there is a link on the invoice in each Client that would pay by CC to "Attempt CC Payment" would this not be acceptable for you pdpd? This doesnt appear on the WorldPay FuturePay invoices unfortunately 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted April 28, 2008 Share Posted April 28, 2008 Chickendippers- Thanks for the update - how regularly do you run the cron oustide of this?Every 24 hours.If we receive an upgrade order I run the cron manually as it doesn't happen too often. 0 Quote Link to comment Share on other sites More sharing options...
pdpd Posted April 30, 2008 Author Share Posted April 30, 2008 We use the action hooks to run the cron after a customer has placed an order and chosen WorldPay as their gateway. This works satisfactorily. Do you have a bit of code that runs the WorldPay Capture for the new invoice only, or do you run the whole cron? 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted April 30, 2008 Share Posted April 30, 2008 The whole cron. 0 Quote Link to comment Share on other sites More sharing options...
pdpd Posted May 12, 2008 Author Share Posted May 12, 2008 The whole cron. Thaank you, Could you advise exactly what you did? Is it just putting the call to the cron in the action hooks file? 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted May 12, 2008 Share Posted May 12, 2008 Yes indeed 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.