v3.1.7 – WhatsApp & Invoice

New — WhatsApp Marketing

  • Added WhatsApp campaigns with Meta WhatsApp Business Platform connection settings and approved template syncing
  • Create campaigns using text or media templates, map template variables to contact fields or fixed values, and preview messages before sending
  • Target contacts by lists, tags, and segments, with account-specific WhatsApp permission records and duplicate phone-number prevention
  • Send test messages, schedule campaigns, and process recipients in background batches with pause, resume, and cancellation controls
  • Added delivery reports for accepted, sent, delivered, read, failed, skipped, and unknown messages, plus direct campaign replies
  • Added signed webhook handling for delivery updates and incoming opt-out replies, encrypted credentials, and permission checks before sending

Improved — WhatsApp module integration

  • Aligned WhatsApp with the SMS module’s named AJAX actions, menu registration, table helpers, and campaign worker conventions
  • Updated frontend requests and nonce handling to match the campaign endpoints

New — Invoice Management

  • Create and edit invoices with invoice numbers, invoice dates, due dates, and customer billing details
  • Add itemized products or services with quantities, prices, discounts, taxes, and calculated totals
  • Choose invoice templates and preview invoices before sharing them with customers
  • Configure payment details and track invoice status and outstanding balances