=== RewardsWP - Loyalty Points & Referral Program for WooCommerce ===
Contributors: sumobi, ddasilveira
Tags: loyalty, referrals, rewards, points, woocommerce
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.4.4
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Turn customers into brand advocates with loyalty points and referral programs for WooCommerce and Easy Digital Downloads.

== Description ==

= The Best Customer Loyalty & Referral Plugin for WordPress =

**RewardsWP** is the best loyalty points and referral program plugin for WooCommerce and Easy Digital Downloads. Created by the team behind [AffiliateWP](https://affiliatewp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=description), the leading affiliate marketing solution trusted by over 30,000 website owners.

Turn your customers into brand advocates with a powerful points-based loyalty system and customer referral program. Launch your rewards program in minutes with our intuitive setup wizard, beautiful rewards widget, and automated reward distribution.

> <strong>RewardsWP Pro</strong><br />
> This plugin is the lite version of RewardsWP Pro which includes powerful features like birthday rewards, friend rewards, points expiration, advanced redemption options (free products, percentage discounts, free shipping), detailed analytics, CSV exports, and priority support. [Click here to purchase the best loyalty plugin for WordPress](https://rewardswp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=description).

= Works With Your Favorite eCommerce Platforms =

RewardsWP integrates seamlessly with the most popular eCommerce solutions for WordPress:

* **WooCommerce** - The world's most popular eCommerce plugin with deep integration for products, orders, coupons, and checkout
* **Easy Digital Downloads** - Perfect for selling digital products, software, and downloads

= Why Choose RewardsWP? =

RewardsWP is designed to help you grow your business through customer loyalty and word-of-mouth marketing. Here's what makes it the best choice:

* **From the AffiliateWP Team** - Built by the same team behind the #1 affiliate marketing plugin for WordPress, trusted by over 30,000 website owners
* **Modern, Intuitive Interface** - Beautiful rewards widget and admin dashboard that your customers and team will love
* **Launch in Minutes** - Our guided setup wizard gets your rewards program running quickly with no coding required
* **AffiliateWP Compatible** - Run both customer referrals and professional affiliate programs side by side
* **Dual Platform Support** - One of the few loyalty plugins that fully supports both WooCommerce and Easy Digital Downloads

= Loyalty Points Program =

Let your customers earn points for purchases and activities, then redeem them for valuable rewards.

**Earn Points**

* **Earn Points on Purchases** - Customers earn points for every order they complete
* **Sign-Up Bonus Points** - Reward customers just for creating an account
* **First Order Bonus** - Give extra points to encourage that crucial first purchase
* **Product Review Rewards** - Incentivize customers to leave reviews and build social proof
* **Custom Point Values** - Set your own earning rates and point-to-currency conversion
* **Product Points Banner** - Display points earning potential on product pages

**Redeem Points**

* **Fixed Discount Redemption** - Customers redeem points for dollar-amount discount coupons
* **Pre-Configured Rewards** - Get started instantly with a ready-to-use reward ladder ($5, $10, $20 discounts)

= Referral Program =

Grow your customer base through word-of-mouth marketing:

* **Shareable Referral Links** - Each customer gets a unique referral link to share
* **Social Sharing** - One-click sharing to Facebook, X, and Email
* **Advocate Rewards** - Automatically reward customers when their referrals make a purchase
* **Referral Count** - Customers can see how many people they've referred

= Rewards Widget =

Your customers interact with your rewards program through a beautiful, floating widget. Here's what they can do:

**Rewards**

* **Rewards Overview** - View all earned rewards in one place
* **One-Click Apply** - Instantly apply reward coupons to cart with a single click
* **Guided Purchase Flow** - Dynamic buttons guide customers from reward to checkout, reducing abandoned carts
* **Available Rewards Count** - See how many rewards are ready to use at a glance

**Points**

* **Points Balance** - View current points balance at a glance
* **Ways to Earn** - See all available actions to earn more points
* **Ways to Redeem** - Browse redemption options and claim rewards

**Refer a Friend**

* **One-Click Copy** - Instantly copy referral link to clipboard
* **Quick Social Share** - Share to Facebook, X, or Email without leaving the widget
* **Referral Status** - Track referrals and see when rewards are earned

**Rewards Activity**

* **Points History** - Full chronological feed of every point transaction: earned, spent, adjusted, and pending
* **Referral Tracking** - See referral status at a glance with friend names and completion indicators
* **Pending Points** - Customers can see points waiting to be confirmed from recent orders
* **Deep Linking** - Link directly to the Activity panel from emails and notifications

**Easy Access**

* **Instant Sign-Up** - New visitors can join your rewards program in seconds
* **Quick Sign-In** - Returning members can sign in directly through the widget
* **Guest Friendly** - Non-logged-in customers can earn points and create an account later to redeem

**Launcher**

* **Display Options** - Choose icon with text, text only, or icon only
* **Custom Launcher Text** - Personalize what the launcher button says
* **Flexible Positioning** - Display the launcher on the left or right side of your site

**Appearance**

* **Brand Color Matching** - Match the widget to your brand colors
* **Custom Welcome Heading** - Personalize the greeting customers see when they open the widget
* **Custom Program Name** - Name your rewards program to match your brand
* **Customizable Sharing Options** - Toggle sharing channels on or off
* **Mobile-Optimized** - The widget expands to full-screen on mobile for easy navigation

= Program Dashboard =

Monitor your rewards program performance with a comprehensive admin dashboard:

* **Rewards-Applied Revenue** - Track revenue from orders using rewards with visual charts
* **Member Statistics** - See new members, total members, and active member percentage
* **Points Overview** - Monitor points earned vs redeemed with redemption rate
* **Referral Tracking** - View completed referrals count
* **Trends Over Time** - Points activity charts showing earning and redemption patterns
* **Program Insights** - Top referrers and most redeemed rewards at a glance
* **Recent Activity Feed** - Real-time feed of member actions

= Email Notifications =

Keep your customers engaged with automated email notifications:

* **Points Earned** - Notify customers when they earn points
* **Reward Redeemed** - Confirm when customers successfully redeem rewards
* **Advocate Reward** - Notify referrers when their referral results in a reward
* **Custom Sender Details** - Set your own sender name and email address
* **Email Logo** - Add your brand logo to all notification emails

= Unlimited Everything =

Unlike other loyalty plugins, RewardsWP doesn't limit you:

* Unlimited program members
* Unlimited rewards
* Unlimited referrals

= RewardsWP Pro Features =

While RewardsWP gives you a powerful loyalty points system and referral program, upgrading to [RewardsWP Pro](https://rewardswp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=profeatures) unlocks even more features to supercharge your rewards program:

**Friend Rewards**

* **Reward the Friend** - Give the referred friend a discount on their first purchase, not just the referrer
* **Free Product for Friends** - Give referred friends a specific free product on their first purchase

**Advanced Points Redemption**

* **Free Products** - Redeem points for specific free products from your store
* **Percentage Discounts** - Redeem points for percentage-off coupons
* **Free Shipping** - Redeem points for free shipping

**Advanced Advocate Rewards**

* **Free Products** - Reward referrers with specific free products
* **Percentage Discounts** - Reward referrers with percentage-off coupons
* **Free Shipping** - Reward referrers with free shipping

**Points Management**

* **Points Expiration** - Set points to expire after a configurable period to encourage engagement
* **Expiration Email Reminders** - Automatically remind customers before their points expire
* **Point Branding** - Customize what you call your points (Stars, Coins, Credits, or anything you like)

**Advanced Customization**

* **Brand Foreground Control** - Choose light or dark text and icons on your brand color for better readability

**Advanced Analytics**

* **Orders Using Rewards** - Track how many orders use rewards with detailed charts
* **First-Time Redeemers** - Monitor new redeemers and median time to first redemption
* **Custom Date Ranges** - Analyze times period, not just the last 30 days
* **Period Comparisons** - See deltas comparing metrics against previous periods
* **CSV Exports** - Export members, points, referrals, and rewards data

**Reward Expiration**

* **Coupon Expiration** - Set expiration dates on reward coupons to create urgency and drive faster purchases
* **Referral Reward Expiration** - Limit how long referral rewards remain valid to encourage timely referrals

**Birthday Rewards**

* **Automatic Birthday Points** - Reward customers with bonus points on their birthday, awarded automatically
* **Privacy-First Collection** - Collect birthdays (month and day only) through the rewards widget
* **Fraud Prevention** - 30-day advance notice requirement and once-per-year limit prevent gaming
* **Birthday Email Notification** - Customers receive a birthday email when their points are awarded

**Plus More Pro Features**

* Priority email support
* Email banners for custom branding
* Background export processing

[Get RewardsWP Pro Today](https://rewardswp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=profeatures)

= Works Great With AffiliateWP =

Already using [AffiliateWP](https://affiliatewp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=affiliatewp) for your professional affiliate program? RewardsWP is the perfect complement:

* **Run Both Programs Simultaneously** - Customer referrals and professional affiliates, all working together
* **Same Trusted Team** - Built and supported by the AffiliateWP team you already trust
* **Complementary Features** - AffiliateWP handles affiliate marketing, RewardsWP handles customer loyalty

= Popular Use Cases =

* **eCommerce Stores** - Boost repeat purchases and customer lifetime value
* **Digital Product Sellers** - Reward customers for purchasing and referring software, plugins, and digital downloads
* **Membership Sites** - Increase member engagement and referrals
* **Online Courses** - Encourage students to complete courses and refer classmates
* **Subscription Services** - Reduce churn and increase referrals with rewards

= Integrations =

RewardsWP works with the tools you already use:

* WooCommerce
* Easy Digital Downloads
* AffiliateWP

= Credits =

RewardsWP is created by the team at [Awesome Motive](https://awesomemotive.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=credits), the same team behind [AffiliateWP](https://affiliatewp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=credits), [WPForms](https://wpforms.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=credits), [MonsterInsights](https://monsterinsights.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=credits), [OptinMonster](https://optinmonster.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=credits), and many more.

= Branding Guideline =

RewardsWP is a trademark of Awesome Motive, Inc. When writing about the loyalty and referral plugin by Awesome Motive, please use the following format:

* RewardsWP (correct)
* Rewards WP (incorrect)
* rewardswp (incorrect)
* Rewardswp (incorrect)

== Installation ==

1. Install RewardsWP either via the WordPress.org plugin repository or by uploading the files to your server. (See instructions on [how to install a WordPress plugin](https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/))
2. Activate RewardsWP.
3. Navigate to RewardsWP in your admin menu to configure your points and referral program.
4. Want more features? [Purchase the Pro version of RewardsWP](https://rewardswp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=installation)!

== Frequently Asked Questions ==

= Which eCommerce platforms are supported? =

RewardsWP works seamlessly with both WooCommerce and Easy Digital Downloads. These are the two most popular eCommerce solutions for WordPress, so you're covered whether you're selling physical products or digital downloads.

= Does RewardsWP work alongside AffiliateWP? =

Yes! RewardsWP and AffiliateWP are designed to work together perfectly. While AffiliateWP manages your professional affiliate program (with bloggers, influencers, and marketing partners), RewardsWP handles your customer loyalty and referral program. They're complementary solutions from the same trusted team.

= How does the loyalty points system work? =

Customers earn points for actions you define - purchases, signing up, their first order, leaving product reviews, and referring friends. They can then redeem accumulated points for discounts on future orders. You control the earning rates and redemption values.

= Can I customize what points are called? =

Yes! With RewardsWP Pro, you can change "Points" to anything you like - Stars, Coins, Credits, Gems, or whatever fits your brand. Both singular and plural forms are customizable.

= Is there a limit to how many members can join my program? =

No! RewardsWP allows unlimited members, unlimited rewards, and unlimited referrals. There are no artificial caps.

= Do I need coding knowledge to use RewardsWP? =

Not at all. RewardsWP includes a guided setup wizard and intuitive settings pages. No coding is required to launch a fully-featured rewards program.

= What's the difference between this version and Pro? =

This version includes a loyalty points system, referral program, rewards widget, program dashboard, and email notifications.

RewardsWP Pro adds birthday rewards, friend rewards, points expiration, point branding, advanced reward types, advanced analytics, CSV exports, and priority support.

= How do customers see their points and rewards? =

Customers interact with your rewards program through a beautiful floating widget that appears on your site. They can view their points balance, available rewards, referral link, full points and referral activity history, and redeem their points - all without leaving the page.

= Can customers refer friends? =

Yes! RewardsWP includes a referral program with shareable referral links, social sharing to Facebook, X, and Email, and advocate rewards when referrals make a purchase. RewardsWP Pro adds friend rewards, which gives the referred friend a discount on their first purchase.

= Does RewardsWP work with my theme? =

RewardsWP is designed to work with any WordPress theme.

= Where can I get support? =

For the lite version, please use the [WordPress.org support forums](https://wordpress.org/support/plugin/rewardswp/). Pro customers get priority email support through their RewardsWP account.

= I'd like access to all features. How can I get them? =

You can get access to more features and support by [upgrading to our Pro version](https://rewardswp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin&utm_content=faq). Purchasing a Pro license gets you access to the full version of RewardsWP, automatic updates, priority support, and many more features!

== Screenshots ==

1. Rewards widget on your storefront inviting customers to join and earn points
2. Members see their points balance and available rewards at a glance
3. Customers can view and apply their earned reward coupons
4. One-click apply lets customers add reward coupons directly to their cart
5. Ways to earn panel shows all available actions to accumulate points
6. Customers browse redemption options and claim rewards with a single click
7. Refer a friend program turns customers into brand advocates
8. Track member activity, referral revenue, and points balances at a glance
9. Deep dive into any member's points, rewards, and referral activity
10. Points history shows every transaction with earned, spent, and pending points
11. Rewards Activity referral tracking shows friend names, statuses, and completion counts
12. Mobile-optimized widget expands to full-screen for easy navigation on any device

== Changelog ==

= 1.4.4 =
* Fixed: Text in the rewards widget and admin not translating, including earn action titles such as "Make a purchase" and "Create an account"
* Fixed: Special characters such as apostrophes displaying as raw HTML entities (for example &#039;) instead of rendering correctly in the rewards widget and admin
* Fixed: Reward and points amounts ignoring the store's currency symbol position, so currencies that place the symbol after the amount (for example "5 €") now display correctly
* Fixed: Storefront widget AJAX content (such as the History tab and action success/error messages) now follows the site language instead of the logged-in visitor's profile language
* Fixed: Email subject lines not translating in non-English languages, and some subjects showing raw HTML entities instead of accented characters and apostrophes
* Fixed: The points currency name (such as "Points") not translating in the rewards widget on non-English sites
* Fixed: Rewards widget not loading when a reward or coupon is set to never expire
* Fixed: Settings page not loading when the license server could not be reached or returned an unexpected response

= 1.4.3 =
* Changed: Improved compatibility with page-cache plugins
* Fixed: Conflict with other plugins and page builders (such as Breakdance) that could cause their content to disappear on the frontend

= 1.4.2 =
* Changed: Purchase points now calculate from order subtotal, excluding tax and shipping
* Changed: Smooth in-place transition after signing in via the rewards widget
* Changed: WordPress users who aren't yet members are auto-enrolled when they sign in through the rewards widget
* Fixed: "Network error occurred" when signing in via the rewards widget as an existing WordPress user
* Fixed: Settings page error that could occur when switching between plugin versions with different setting keys

= 1.4.1 =
* Changed: Replaced the native browser color picker with a custom color picker for a consistent experience across all browsers
* Fixed: Friend claim panel disappearing when navigating away from the referral link
* Fixed: "Ways to redeem" upgrade modal incorrectly showing for Pro users

= 1.4.0 =
* Added: Birthday Rewards (Pro). Bring customers back each year with automatic birthday bonus points. Includes privacy-first date collection, fraud prevention, and email notifications
* Added: Clickable breadcrumb navigation in admin for member detail and email edit screens
* Added: Email subject line and sender info displayed above email previews
* Added: {member_full_name} merge tag and added both {member_name} and {member_full_name} to the admin merge tag picker across all emails
* Added: Scroll indicators on all Rewards Widget panels so customers can see there's more content below
* Added: Share button on the refer a friend earn action in Ways to Earn, giving customers a clear next step to start referring
* Changed: Email templates redesigned with simplified layouts, centered text, consistent border-radius, and unified color palette for a more professional, on-brand look
* Changed: Email admin screens redesigned for a cleaner, more consistent look across headers, inputs, and panels
* Changed: {member_name} merge tag now returns first name only for more personal, consistent emails
* Changed: {friend_name} in advocate reward email now returns first name only
* Changed: Email previews now show realistic demo content for a more accurate picture of what customers will receive
* Changed: Refer a friend card is now fully clickable in Earning Points admin list for easier navigation
* Changed: Links in admin email previews now open in new tabs
* Changed: Replaced guest member registration form with a one-click confirmation UI that shows the order email and a single "Create my account" button, reducing friction for guest-to-member conversion
* Changed: Rewards widget text now uses a brand-derived dark color instead of generic dark grey for a more cohesive look across all brand colors
* Fixed: Admin email preview overriding brand link colors with default blue
* Fixed: Send Test button maintaining consistent size during loading state
* Fixed: Blank page when navigating from earn actions drawer to referrals tab on short viewports

= 1.0.6 =
* Fixed: Fatal error on activation when Jetpack Autoloader conflicts with plugin dependencies
* Fixed: Friend rewards incorrectly transferred when referred friend becomes a member with multiple visits
* Fixed: Friend claim panel showing current admin config instead of actual claimed reward after config changes
* Fixed: Duplicate pending referral created when friend purchases without applying their coupon
* Fixed: Unclaimed friend reward not appearing in "Your rewards" after friend becomes a member

= 1.0.5 =
* Added: Rewards Activity panel in the rewards widget. Members can view their full points and referral history across Points and Referrals tabs
* Added: Admin widget preview now includes the Rewards Activity panel with curated sample data
* Added: Pending points tracking for WooCommerce and Easy Digital Downloads
* Added: Pending points for a member added to the member detail view of the admin
* Added: Deep-link support for the Rewards Activity panel via URL hash or query parameter (e.g., #rewardswp-activity-points)
* Fixed: Invalid license key now shows error message when trying to activate

= 1.0.4 =
* Fixed: Admin currency formatting now respects zero-decimal currencies (JPY, KRW, VND) and displays the correct currency symbol in member details, dashboard KPIs, and reports

= 1.0.3 =
* Added: Support for zero-decimal currencies (JPY, KRW, VND) in the "Make a purchase" earn action
* Added: Configurable spending threshold for points calculation (e.g., "5 points per ¥100 spent")
* Changed: Free product rewards with minimum spend now show clearer messaging about spend requirements
* Changed: Earn and redeem action summaries now display as a single sentence instead of bullet points
* Fixed: Referral reward in the panel now displays the configured currency name instead of generic "points"
* Fixed: Earn and redeem action summary strings are now translatable
* Fixed: Flash of unstyled content when the setup wizard loads on first activation
* Fixed: Free Product reward search now finds custom WooCommerce product types
* Fixed: Fatal error during plugin activation when ActionScheduler is not yet loaded
* Fixed: Free Product coupon discount applying to multiple cart quantities instead of a single item
* Fixed: "Most Redeemed" dashboard widget showing generic "Free product" instead of actual product names

= 1.0.2 =
* New: Free Product reward type (Pro). Reward customers with specific free products, with automatic cart management, minimum spend support, and redemption limits
* New: Drag-and-drop reordering for Ways to Earn and Ways to Redeem actions in admin settings, with order reflected in the frontend rewards widget
* New: Honeypot anti-spam protection for Register and Claim Reward forms in the rewards widget
* New: Guest order linking with email verification. When customers create an account, previous guest orders matching their email can be securely linked via a verification email
* Updated: Rewards widget launcher button now includes aria-expanded and aria-controls attributes for improved screen reader support
* Updated: Added a .rwp-panel-open body class when the rewards panel is opened, for custom CSS targeting
* Updated: Rewards widget now preserves scroll position when navigating back to the home panel
* Updated: Improved admin widget preview to support interactive reward redemption flow, guest registration and sign-in form navigation
* Fix: Form buttons now support proper Tab key navigation in Safari
* Fix: Form fields no longer trigger automatic zoom on focus in iOS Safari
* Fix: Disabled buttons no longer show a hover effect
* Fix: "Refer a friend" earning action now appears in the rewards widget when configured
* Fix: Friend reward drawer no longer incorrectly displays "Advocates" instead of "Friends"
* Fix: Guest checkout now shows the correct points earned banner on the purchase confirmation page

= 1.0.1 =
* Fix: Improved PHP 7.4 compatibility

= 1.0.0 =
* Initial release
