Jump to content

About Email marketing how would you resolve tihs ?


Recommended Posts

Im using Email Marketer to send 5 different emails for new active products, first after 1 day of order date, 3 days of order date, and so on..

 

but as order date can not be edited i have a problem, Some customers order product and paid after 7 days, so email marketer rules does not apply for "Send Active product and after 1 day order date"

 

How can i fix this problem ?

Maybe an script to update new order date syncing with paid date ?

 

See image

 

/http://img35.imageshack.us/img35/6169/c23bac6ebe9b45d58eadfc9.png

Link to comment
Share on other sites

that isnt solving your issue, its working around it. The actual problem isnt the marketer but the registration date. The registration date should not be set at all until the payment is completed and the registration is done but whmcs also needs it for invoicing so it needs to set it.

 

However, here is a solution to the problem that doesn't require you to manually change dates in the case of domain registrations, to send the emails. Run the cron job for syncing domains: http://docs.whmcs.com/Domains_Tab#Domain_Sync_Enabled

 

For services you can add an action hook that runs after payment is received to update the registration date accordingly:

http://docs.whmcs.com/Hooks:Order_Process#ShoppingCartCheckoutCompletePage

 

This will sync the domain the next time it runs after the payment has been made and the registration is completed (upto 4 hours if you set it that way), and for services as soon as the payment is complete. This will allow your marketing emails to be sent correctly at the system cron run the day after.

 

To be fair, you could actually use a hook all round once payment is complete, but your checks would be far more extensive to make sure the right area is being updated.

Edited by CDJ Hosting
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