Before Card Expiry

This document contains all the information related to credit card expiry alert notifications, email customization, and activation.

Overview 

Before Card Expiry” is the email notification sent automatically to customers when their saved payment card is approaching its expiration date.

This notification encourages customers to update their card details to avoid interruptions in their subscription or service.

Usually, the email includes: 

  • Customer first name
  • Notification about the expiring card, including the last four digits and the expiration month/year
  • Subscription start date
  • Subscription ID
  • Payment method
  • Product details (title, variation, quantity, and price)
  • Subtotal, shipping, taxes, discounts, and total amount
  • Instructions or links to update payment information

Pre-requisites: Before enabling email notifications, ensure your WordPress site is configured to send emails:

  • SMTP plugin required: WordPress doesn’t reliably send emails by default. Install and configure an SMTP plugin like WP Mail SMTP.
  • Email service provider: Connect your SMTP plugin to a transactional email service (Brevo, Mailgun, SendGrid, Amazon SES, or your hosting provider’s SMTP).
  • Match sender details: Ensure that the From Email and From Name values configured in Sublium Subscriptions email notifications exactly match the sender details set in your SMTP plugin.
  • Test your setup: Send a test email from your SMTP plugin to confirm emails are delivering before enabling Sublium notifications.

Without proper email configuration, notifications will fail silently.

For more details, refer to our doc on how to set up WP SMTP.

Access “Before Card Expiry” Email Notification

Navigate to Sublium Subscriptions ⇒ Retain ⇒ Payment Recovery

Under the Email Notifications, you can find the Before Card Expiry email notification.

Access “Before Card Expiry” Email Notification

When It Is Sent

This email is sent when:

  • A saved payment card associated with a subscription is nearing its expiry date

Audience / Recipient

By default, this email is sent to the customer.

Email Customization

You can customize this notification using:

  • Rich Text editor
  • Visual Builder (drag & drop builder supporting WooCommerce blocks)

A prebuilt “Before Card Expiry” template is available and can be modified or rebuilt as needed.

Guide:For more details, check our documentation on email customization.

Personalization 

Sublium Subscriptions offers merge tags to personalize the subject line, preview text, and email body.

Simply copy and paste the tags into your desired section.

Here are the merge tags used in the prebuilt template:

  • {{subscriber_first_name}} – Subscriber’s first name
  • {{expire_card_last4_digit}} – Last four digits of the expiring card
  • {{expire_card_month}} – Card expiration month
  • {{expire_card_year}} – Card expiration year
  • {{subscription_id}} – Unique subscription ID
  • {{subscription_item}} – Product linked to the subscription
  • {{sublium_my_account_url}} – Link to subscription management
  • {{admin_email}} – Admin email for support

Guide: For more details, check our documentation on Merge Tags

How To Activate

To activate the “Before Card Expiry” email, turn ON the toggle next to the notification inside Sublium Subscriptions.

activate “Before Card Expiry” Email Notification

This setup ensures customers are notified before their card expires, allowing them to update payment details and maintain uninterrupted access to their subscription.

Troubleshooting

Emails not sending

  • Confirm your SMTP plugin is configured and sending test emails successfully
  • Check your SMTP plugin’s email logs for failed delivery attempts
  • Verify the notification toggle is enabled
  • Ensure the customer has a valid email address on their order

Merge tags showing as plain text

  • Confirm you copied the full merge tag, including the curly braces, e.g., {{subscriber_first_name}}
  • Check for extra spaces inside the merge tag
  • Use only merge tags from the official list; custom tags won’t work

Email is going to spam

  • Configure SPF, DKIM, and DMARC records for your sending domain
  • Avoid spam trigger words in your subject line
  • Use a reputable transactional email service

Email looks broken or unstyled

  • Test across multiple email clients (Gmail, Outlook, Apple Mail)
  • Avoid complex CSS, as email clients have limited style support
  • Use the Visual Editor’s built-in templates for better compatibility


Ready to Transform Your Subscriptions?

Join a growing community of WooCommerce store owners who rely on Sublium to power their recurring revenue.
Sublium WooCommerce subscription plugin support team - expert help and guidance
5 star rating from Sublium WooCommerce subscription plugin customer
Transform WooCommerce subscriptions with Sublium - superior plugin alternative