{"id":116,"date":"2023-05-09T16:40:58","date_gmt":"2023-05-09T23:40:58","guid":{"rendered":"https:\/\/www.cmsws.com\/blog\/?p=116"},"modified":"2023-05-27T05:53:03","modified_gmt":"2023-05-27T12:53:03","slug":"freeside-customer-expiring-credit-card-notification","status":"publish","type":"post","link":"https:\/\/www.cmsws.com\/blog\/freeside-customer-expiring-credit-card-notification\/","title":{"rendered":"Automated Credit Card expiration date notifications with Billing Events in Freeside"},"content":{"rendered":"\n<p>We are going to create Billing Events in Freeside which send email notifications for Expiring Credit Cards.<\/p>\n\n\n\n<p>Follow along by navigating to <strong>Configuration<\/strong> > <strong>Billing<\/strong> > <strong>Billing Events<\/strong>.  Once there, click &#8220;<strong>Add a new event<\/strong>&#8220;.  The following image shows the proper &#8220;Event Conditions&#8221; and &#8220;Event Actions&#8221; that need to be set to send a notification.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"593\" src=\"https:\/\/www.cmsws.com\/blog\/wp-content\/uploads\/2023\/05\/image-1.png\" alt=\"\" class=\"wp-image-118\" srcset=\"https:\/\/www.cmsws.com\/blog\/wp-content\/uploads\/2023\/05\/image-1.png 547w, https:\/\/www.cmsws.com\/blog\/wp-content\/uploads\/2023\/05\/image-1-277x300.png 277w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/figure>\n\n\n\n<p><strong>Important!<\/strong>  &#8220;Initialize event&#8221; 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.<\/p>\n\n\n\n<p>Thats it.  Click &#8220;<strong>Add Billing event definition<\/strong>&#8220;.  Your system will save the event.  This event will run with the nightly freeside-daily cronjob.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8220;Add a new event&#8220;. The following image shows the proper &#8220;Event Conditions&#8221; and &#8220;Event Actions&#8221; that need to be set to send a notification. Important! &#8220;Initialize event&#8221; is optional. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[23,16],"class_list":["post-116","post","type-post","status-publish","format-standard","hentry","category-freeside","tag-billing-events","tag-freeside"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/posts\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/comments?post=116"}],"version-history":[{"count":8,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/posts\/116\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/posts\/116\/revisions\/192"}],"wp:attachment":[{"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/media?parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/categories?post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/tags?post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}