We are going to create Billing Events in Freeside which send email notifications for Expiring Credit Cards.
Follow along by navigating to Configuration > Billing > Billing Events. Once there, click “Add a new event“. The following image shows the proper “Event Conditions” and “Event Actions” that need to be set to send a notification.
Important! “Initialize event” is optional. If you do not select this Event option, upon creation the Freeside queue daemon will run the Billing Event against all customer accounts that it matches.
Thats it. Click “Add Billing event definition“. Your system will save the event. This event will run with the nightly freeside-daily cronjob.