Jump to content

WorldPay FuturePay Cron - too many emails.


pdpd

Recommended Posts

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 2 weeks later...

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