Sorry, we didn't find any relevant articles for you.

Send us your queries using the form below and we will get back to you with a solution.

Experience Cloud Membership Alerts

This feature will be available in version 10.0 of Payments2Us. Keep an eye on release notes.

Only Available for 'Membership Plus' license. If license is not added in the merchant facility then site users won't be able to see alerts.

1. Introduction

A new Lightning web component (LWC) is introduced and it is compatible with both Aura and LWR communities. The is basically an alert component and it can show 3 type of alerts to the experience site user:

  1. Membership Expiry
    • Alert will start showing up when (nnn) number of days will be left in subscription/account subscription expiry date.
    • Number of days from the expiry date can be defined in the component's parameter.
    • There will be a link in the message where the user can renew membership.
  2. Card Expiry
    • Alert will start showing up when (nnn) number of days will be left in card subscription expiry.
    • Number of days from the expiry date can be defined in the component's parameter.
    • There will be a link in the message where the user can update card details.
  3. Card Failed
    • Alert will start showing up when  number of retry attempts is greater than 1 or status is "Suspended - Max Retries" on the recurring payment related to subscription/account subscription.
    • There will be a link in the message where the user can update card details.

2. Setup in Experience Site

Go to Setup -> All Sites -> Open builder of the experience site.

  1. Click on the lightning icon (components tab) from the left bar
  2. Search for 'Payments2Us Subscription Alerts' in the search bar.
  3. Drag and drop the component at a suitable location.

3. Set Parameters

Payments2Us Subscription Alert component have following parameters:

  1. Alert Type: Select the type of alert from the three types discussed in the Introduction section of this article.
  2. Number of Days: Populate number of days and alert will start showing once that number of days are left in expiry. (Applicable for Membership and Card Expiry. Add any value for Card Failed.)
  3. Alert Message: Populate the message that you want to display in the alert.
  4. Alert Message Color: Color of the message text shown on the site. By default it is black.
  5. Alert Background Color: Color of the background of alert view. By default it is light-gray.
  6. Alert Icon and Text Color: Color of alert icon and "Alert" keyword. By default it is red.

4. Multiple Alerts

Repeat the steps listed in heading 2 and 3 if you want to add all three types of alerts in your site.

5. Styling

Besides changing the colors and messages text, other styling like font size can also be updated. For details please refer to Experience Cloud Membership Components Styling article.

 

Updated at September 11th, 2024

Was this article helpful?