This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

EDD Purchase Rewards


This plugin requires Easy Digital Downloads.

EDD Purchase Rewards allows a site owner to reward customers who purchase with a discount code. This will not only lead to repeat sales by the customer, but build customer loyalty.

The discount code can either be a preselected discount code that you create, or you can choose to automatically generate a unique, one-time use discount code (percentage or flat rate).

A minimum purchase amount can be set, and you can also force the customer to share to at least 1 social network before the discount is given to them. The discount code is shown on the purchase confirmation page but can be optionally emailed to the customer.


  1. Offer a discount code to your customer for purchasing
  2. Force the customer to share to at least 1 social network before receiving their reward
  3. Set a minimum purchase amount before the customer receives the discount
  4. Select between an existing discount code, or auto generate one, flat or percentage
  5. Choose to send the discount to the customer via email
  6. Show the customer their available discount codes via the [edd_purchase_rewards_discounts] shortcode
  7. Customize the reward email
  8. Customize the twitter message
  9. Customize the default sharing title
  10. Customize the default sharing message
  11. Customize the reward title
  12. Customize the reward message
  13. Customize the reward sharing title
  14. Customize the reward sharing message
  15. Customize the reward sharing thanks title
  16. Customize the reward sharing thanks message

Want more free EDD plugins?

To fund ongoing development of more free EDD plugins, I would greatly appreciate any of the below:

  1. Buy one of my commercial EDD plugins

  2. Use my referral code when you purchase your next EDD plugin

  3. Donate via PayPal

Plugins for Easy Digital Downloads

Tips for Easy Digital Downloads

Stay up to date

Follow me on Twitter

Become a fan on Facebook


  • Force customers to share for a specified percentage or flat rate
  • As soon as the customers have shared, they are rewarded with a discount code. This can be a discount code you’ve already made, or choose to create one on the spot
  • The one-time use, unique discount code is created just for the customer
  • A payment note is recorded showing the discount code that was stored against the purchase


  1. Unpack the entire contents of this plugin zip file into your wp-content/plugins/ folder locally
  2. Upload to your site
  3. Navigate to wp-admin/plugins.php on your site (your WP Admin plugin page)
  4. Activate this plugin
  5. Configure the options from Downloads → Settings → Extensions

OR you can just install it with WordPress by going to Plugins >> Add New >> and type this plugin’s name


There are no reviews for this plugin.

ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

“EDD Purchase Rewards” is open source software. The following people have contributed to this plugin.


“EDD Purchase Rewards” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।

ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



New: Passed more variables to the edd_purchase_rewards_show_reward filter, making it easier to customize what is shown on the purchase confirmation page.

New: Added edd_purchase_rewards_show_discount_code filter for hiding the discount on the purchase confirmation page.

New: Discount email is now sent using EDD’s new email class.

New: The Reward Email textarea has been replaced with a WP Editor field

New: Added an edd_purchase_rewards_email_subject filter for changing the email’s subject line.

New: Added an edd_purchase_rewards_email_heading filter for changing the email’s main heading.

Fix: Fixed an issue where the last purchase reward in the EDD purchase session was shown on each of the purchase history pages. Now only the very last reward will show on the main purchase confirmation page.

Tweak: Changed instances of edd_get_option( ‘success_page’ ) to the edd_is_success_page helper function.

Tweak: Various formatting and code cleanup enhancements.

Tweak: Removed {site_url} from default email since EDD’s new emails include this by default in the email footer


Fix: Plugin deactivating when EDD was updated.


Fix: When “Force Share For Discount Reward” was not enabled the sharing script loaded onto other pages. This caused a conflict with EDD Social Discounts.


Fix: Previous check added for v1.0.2 never actually made it into plugin update.


Tweak: Changed size of heading to h4. You can also modify this through the edd_purchase_rewards_show_discounts_heading filter


New: [edd_purchase_rewards_discounts] for showing customer’s their available discount codes
Fix: Discount code not being generated in some instances with PayPal. Thanks to Carsten Scheuer (mirozoo)
Tweak: Added additional check before outputting the reward


New: German language files. Thanks to Carsten Scheuer (mirozoo)
Fix: Typo on settings page. Thanks to Carsten Scheuer (mirozoo)


  • Initial release