Easy Digital Downloads - Version 2.9.22

Version Description

Download this release

Release Info

Developer BrashRebel
Plugin Icon 128x128 Easy Digital Downloads
Version 2.9.22
Comparing to
See all releases

Code changes from version 2.9.21 to 2.9.22

easy-digital-downloads.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Easy Digital Downloads
7
  * Author URI: https://easydigitaldownloads.com
8
- * Version: 2.9.21
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
@@ -25,7 +25,7 @@
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
- * @version 2.9.20
29
  */
30
 
31
  // Exit if accessed directly.
@@ -206,7 +206,7 @@ final class Easy_Digital_Downloads {
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
- define( 'EDD_VERSION', '2.9.21' );
210
  }
211
 
212
  // Plugin Folder Path.
@@ -401,6 +401,8 @@ final class Easy_Digital_Downloads {
401
  $get_locale = get_user_locale();
402
  }
403
 
 
 
404
  /**
405
  * Defines the plugin language locale used in Easy Digital Downloads.
406
  *
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Easy Digital Downloads
7
  * Author URI: https://easydigitaldownloads.com
8
+ * Version: 2.9.22
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.9.22
29
  */
30
 
31
  // Exit if accessed directly.
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.9.22' );
210
  }
211
 
212
  // Plugin Folder Path.
401
  $get_locale = get_user_locale();
402
  }
403
 
404
+ unload_textdomain( 'easy-digital-downloads' );
405
+
406
  /**
407
  * Defines the plugin language locale used in Easy Digital Downloads.
408
  *
includes/cart/class-edd-cart.php CHANGED
@@ -686,7 +686,8 @@ class EDD_Cart {
686
  }
687
  }
688
 
689
- $subtotal_percent = ( ( $price * $item['quantity'] ) / $items_subtotal );
 
690
  $code_amount = edd_get_discount_amount( $code_id );
691
  $discounted_amount = $code_amount * $subtotal_percent;
692
  $discounted_price -= $discounted_amount;
686
  }
687
  }
688
 
689
+ $item_subtotal = ( $price * $item['quantity'] );
690
+ $subtotal_percent = ! empty( $items_subtotal ) ? ( $item_subtotal / $items_subtotal ) : 0;
691
  $code_amount = edd_get_discount_amount( $code_id );
692
  $discounted_amount = $code_amount * $subtotal_percent;
693
  $discounted_price -= $discounted_amount;
includes/download-functions.php CHANGED
@@ -917,6 +917,8 @@ function edd_set_file_download_limit_override( $download_id = 0, $payment_id = 0
917
  */
918
  function edd_is_file_at_download_limit( $download_id = 0, $payment_id = 0, $file_id = 0, $price_id = false ) {
919
 
 
 
920
  $download_limit = edd_get_file_download_limit( $download_id );
921
  $unlimited_purchase = edd_payment_has_unlimited_downloads( $payment_id );
922
 
@@ -941,7 +943,6 @@ function edd_is_file_at_download_limit( $download_id = 0, $payment_id = 0, $file
941
  )
942
  );
943
 
944
- $ret = false;
945
  $download_count = $logs->get_log_count( $download_id, 'file_download', $meta_query );
946
 
947
  if ( $download_count >= $download_limit ) {
917
  */
918
  function edd_is_file_at_download_limit( $download_id = 0, $payment_id = 0, $file_id = 0, $price_id = false ) {
919
 
920
+ // Assume that the file download limit has not been hit.
921
+ $ret = false;
922
  $download_limit = edd_get_file_download_limit( $download_id );
923
  $unlimited_purchase = edd_payment_has_unlimited_downloads( $payment_id );
924
 
943
  )
944
  );
945
 
 
946
  $download_count = $logs->get_log_count( $download_id, 'file_download', $meta_query );
947
 
948
  if ( $download_count >= $download_limit ) {
languages/easy-digital-downloads.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Easy Digital Downloads package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Easy Digital Downloads 2.9.21\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2020-03-02 22:33:21+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -90,10 +90,10 @@ msgstr ""
90
  #: includes/admin/upgrades/upgrade-functions.php:1114
91
  #: includes/api/class-edd-api.php:1974 includes/api/class-edd-api.php:1979
92
  #: includes/api/class-edd-api.php:1991 includes/api/class-edd-api.php:1993
93
- #: includes/cart/class-edd-cart.php:1424 includes/cart/class-edd-cart.php:1438
94
  #: includes/class-edd-license-handler.php:309
95
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
96
- #: includes/deprecated-functions.php:542 includes/download-functions.php:1260
97
  #: includes/emails/actions.php:53 includes/emails/template.php:243
98
  #: includes/error-tracking.php:40 includes/gateways/functions.php:221
99
  #: includes/gateways/manual.php:33 includes/gateways/paypal-standard.php:168
@@ -5341,32 +5341,32 @@ msgstr ""
5341
  msgid "You do not have permission to %s API keys for this user"
5342
  msgstr ""
5343
 
5344
- #: includes/cart/class-edd-cart.php:888
5345
  msgid "includes %s tax"
5346
  msgstr ""
5347
 
5348
- #: includes/cart/class-edd-cart.php:890
5349
  msgid "excludes %s tax"
5350
  msgstr ""
5351
 
5352
- #: includes/cart/class-edd-cart.php:1388 includes/cart/class-edd-cart.php:1450
5353
  #: templates/shortcode-profile-editor.php:22
5354
  msgid "Success"
5355
  msgstr ""
5356
 
5357
- #: includes/cart/class-edd-cart.php:1389
5358
  msgid "Cart saved successfully. You can restore your cart using this URL:"
5359
  msgstr ""
5360
 
5361
- #: includes/cart/class-edd-cart.php:1424 includes/cart/class-edd-cart.php:1438
5362
  msgid "Cart restoration failed. Invalid token."
5363
  msgstr ""
5364
 
5365
- #: includes/cart/class-edd-cart.php:1432 includes/cart/class-edd-cart.php:1441
5366
  msgid "The cart cannot be restored. Invalid token."
5367
  msgstr ""
5368
 
5369
- #: includes/cart/class-edd-cart.php:1450
5370
  msgid "Cart restored successfully."
5371
  msgstr ""
5372
 
@@ -6477,7 +6477,7 @@ msgstr ""
6477
  msgid "Sorry but you have hit your download limit for this file."
6478
  msgstr ""
6479
 
6480
- #: includes/deprecated-functions.php:532 includes/download-functions.php:1260
6481
  msgid "Sorry but your download link has expired."
6482
  msgstr ""
6483
 
2
  # This file is distributed under the same license as the Easy Digital Downloads package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Easy Digital Downloads 2.9.22\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2020-03-12 23:02:26+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
90
  #: includes/admin/upgrades/upgrade-functions.php:1114
91
  #: includes/api/class-edd-api.php:1974 includes/api/class-edd-api.php:1979
92
  #: includes/api/class-edd-api.php:1991 includes/api/class-edd-api.php:1993
93
+ #: includes/cart/class-edd-cart.php:1425 includes/cart/class-edd-cart.php:1439
94
  #: includes/class-edd-license-handler.php:309
95
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
96
+ #: includes/deprecated-functions.php:542 includes/download-functions.php:1261
97
  #: includes/emails/actions.php:53 includes/emails/template.php:243
98
  #: includes/error-tracking.php:40 includes/gateways/functions.php:221
99
  #: includes/gateways/manual.php:33 includes/gateways/paypal-standard.php:168
5341
  msgid "You do not have permission to %s API keys for this user"
5342
  msgstr ""
5343
 
5344
+ #: includes/cart/class-edd-cart.php:889
5345
  msgid "includes %s tax"
5346
  msgstr ""
5347
 
5348
+ #: includes/cart/class-edd-cart.php:891
5349
  msgid "excludes %s tax"
5350
  msgstr ""
5351
 
5352
+ #: includes/cart/class-edd-cart.php:1389 includes/cart/class-edd-cart.php:1451
5353
  #: templates/shortcode-profile-editor.php:22
5354
  msgid "Success"
5355
  msgstr ""
5356
 
5357
+ #: includes/cart/class-edd-cart.php:1390
5358
  msgid "Cart saved successfully. You can restore your cart using this URL:"
5359
  msgstr ""
5360
 
5361
+ #: includes/cart/class-edd-cart.php:1425 includes/cart/class-edd-cart.php:1439
5362
  msgid "Cart restoration failed. Invalid token."
5363
  msgstr ""
5364
 
5365
+ #: includes/cart/class-edd-cart.php:1433 includes/cart/class-edd-cart.php:1442
5366
  msgid "The cart cannot be restored. Invalid token."
5367
  msgstr ""
5368
 
5369
+ #: includes/cart/class-edd-cart.php:1451
5370
  msgid "Cart restored successfully."
5371
  msgstr ""
5372
 
6477
  msgid "Sorry but you have hit your download limit for this file."
6478
  msgstr ""
6479
 
6480
+ #: includes/deprecated-functions.php:532 includes/download-functions.php:1261
6481
  msgid "Sorry but your download link has expired."
6482
  msgstr ""
6483
 
readme.txt CHANGED
@@ -1,16 +1,16 @@
1
- === Easy Digital Downloads ===
2
  Author URI: https://easydigitaldownloads.com
3
  Plugin URI: https://easydigitaldownloads.com
4
  Contributors: easydigitaldownloads, mordauk, sunnyratilal, chriscct7, section214, sumobi, sdavis2702, cklosows, mindctrl, sksmatt, SpencerFinnell, johnstonphilip, brashrebel, drewapicture, johnjamesjacoby, nosegraze
5
  Donate link: https://easydigitaldownloads.com/donate/
6
- Tags: ecommerce, e-commerce, sell, downloads, store, paypal, checkout, shop
7
  Requires at least: 4.4
8
- Tested up to: 5.3
9
  Requires PHP: 5.3
10
- Stable Tag: 2.9.21
11
  License: GNU Version 2 or Any Later Version
12
 
13
- The easiest way to sell digital products with WordPress.
14
 
15
  == Description ==
16
 
@@ -18,13 +18,34 @@ Easy Digital Downloads is a complete eCommerce solution for selling digital prod
18
 
19
  = Sell effortlessly =
20
 
21
- Whether it is software, documents, photos, ebooks, songs, graphics, or any other type of media file, Easy Digital Downloads provides a complete system for effortlessly selling your digital products.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
  = Localized for your language =
24
 
25
  Easy Digital Downloads has been translated into more than two dozen languages and new translation are being added all the time, letting you have a natural, native experience, regardless of where you live. If your language is not available, we welcome translation contributions! See our [FAQ](http://docs.easydigitaldownloads.com/article/1082-what-spoken-languages-does-easy-digital-downloads-support?utm_source=docs&utm_medium=description_tab&utm_content=languages&utm_campaign=readme).
26
 
27
- = Payment gateways for everyone =
28
 
29
  The internet has made it possible for anyone to sell their products to a world-wide audience. No matter where you live, Easy Digital Downloads can be your eCommerce solution. We offer integrations for the most common merchant processors and, through 3rd party extensions, support for many, many more as well.
30
 
@@ -47,31 +68,80 @@ Payment gateways supported through free or premium extension:
47
  * BitPay
48
  * Coinbase
49
 
50
- See our [gateways category](https://easydigitaldownloads.com/downloads/category/gateways/?utm_source=extensions&utm_medium=description_tab&utm_content=gateways&utm_campaign=readme) in the extensions catalogue for a complete list of supported gateways. There are also a large number of additional gateways developed and supported by [3rd party developers](https://easydigitaldownloads.com/3rd-party-extensions/#gateways).
 
 
 
51
 
52
- = Go further with extensions =
53
 
54
  With add-on plugins from our [extensions catalogue](https://easydigitaldownloads.com/downloads/?utm_source=extensions&utm_medium=description_tab&utm_content=extensions&utm_campaign=readme) you can super-charge your digital store. Some of our extension highlights include:
55
 
56
- * [Software Licensing](https://easydigitaldownloads.com/downloads/software-licensing/?utm_source=extension&utm_medium=description_tab&utm_content=software-licensing&utm_campaign=readme) provides a complete solution for selling software license keys
57
- * [Recurring Payments](https://easydigitaldownloads.com/downloads/recurring-payments/?utm_source=extension&utm_medium=description_tab&utm_content=recurring-payments&utm_campaign=readme) allows store owners to sell recurring subscriptions for digital products
58
  * [Frontend Submissions](https://easydigitaldownloads.com/downloads/frontend-submissions/?utm_source=extension&utm_medium=description_tab&utm_content=frontend-submissions&utm_campaign=readme) transforms your store into a full-featured multi-vendor marketplace
59
  * [Commissions](https://easydigitaldownloads.com/downloads/commissions/?utm_source=extension&utm_medium=description_tab&utm_content=commissions&utm_campaign=readme) enables store owners to easily track earnings for product vendors
60
- * [Free Downloads](https://easydigitaldownloads.com/downloads/free-downloads/?utm_source=extension&utm_medium=description_tab&utm_content=free-downloads&utm_campaign=readme) allows free products to be purchased more easily by bypassing the standard checkout process
61
  * [Zapier](https://easydigitaldownloads.com/downloads/zapier/?utm_source=extension&utm_medium=description_tab&utm_content=zapier&utm_campaign=readme) automates your store by connecting Easy Digital Downloads with more than 700 other web services and products
62
  * [Reviews](https://easydigitaldownloads.com/downloads/product-reviews/?utm_source=extension&utm_medium=description_tab&utm_content=reviews&utm_campaign=readme) allows customers to leave reviews and feedback on the products they have purchased
63
  * [Recommended Products](https://easydigitaldownloads.com/downloads/recommended-products/?utm_source=extension&utm_medium=description_tab&utm_content=recommended-products&utm_campaign=readme) increases revenue by showing customers recommendations on additional products to purchase based on real sales data
64
  * [Content Restriction](https://easydigitaldownloads.com/downloads/content-restriction/?utm_source=extension&utm_medium=description_tab&utm_content=content-restriction&utm_campaign=readme) allows site owners to restrict access to page content to paying customers
65
- * [MailChimp](https://easydigitaldownloads.com/downloads/mailchimp/?utm_source=extension&utm_medium=description_tab&utm_content=mailchimp&utm_campaign=readme) connects your store to your MailChimp account so you can easily subscribe customers to email lists based on what they purchase
66
  * [AWeber](https://easydigitaldownloads.com/downloads/aweber/?utm_source=extension&utm_medium=description_tab&utm_content=aweber&utm_campaign=readme) connects your store to your AWeber account so you can easily subscribe customers to email lists based on what they purchase
67
  * [Amazon S3](https://easydigitaldownloads.com/downloads/amazon-s3/?utm_source=extension&utm_medium=description_tab&utm_content=amazon-s3&utm_campaign=readme) lets you securely host files on Amazon S3 for more reliable and secure file delivery
68
  * [Dropbox File Store](https://easydigitaldownloads.com/downloads/dropbox-file-store//?utm_source=extension&utm_medium=description_tab&utm_content=dropbox-file-store/&utm_campaign=readme) lets you securely host files in your Dropbox account for more reliable and secure file delivery
69
 
70
- These are just a few of the extensions we offer to help super-charge your digital store. See our complete [extensions catalogue](https://easydigitaldownloads.com/downloads/?utm_source=extensions&utm_medium=description_tab&utm_content=extensions&utm_campaign=readme) for more. There are also hundreds of extensions created by Easy Digital Downloads community members, which can be found on our [3rd Party Extensions page](https://easydigitaldownloads.com/3rd-party-extensions/?utm_source=3rd-party-extensions&utm_medium=description_tab&utm_content=3rd-party-extensions&utm_campaign=readme).
71
 
72
  = Built with developers in mind =
73
 
74
- Extensible, adaptable, and open source -- Easy Digital Downloads is created with developers in mind. Contribute on [GitHub](https://github.com/easydigitaldownloads/easy-digital-downloads).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
 
76
  == Installation ==
77
 
@@ -85,15 +155,19 @@ Extensible, adaptable, and open source -- Easy Digital Downloads is created with
85
 
86
  = Where can I find complete documentation? =
87
 
88
- Full searchable docs can be found at [http://docs.easydigitaldownloads.com/](http://docs.easydigitaldownloads.com/?utm_source=docs&utm_medium=faq_tab&utm_content=documentation&utm_campaign=readme)
89
 
90
- = Where can I ask for help? =
91
 
92
  You can submit a support ticket or pre-sale question from our [support page](https://easydigitaldownloads.com/support/?utm_source=docs&utm_medium=faq_tab&utm_content=support&utm_campaign=readme) at anytime.
93
 
94
- = Is an SSL certificate required? =
95
 
96
- Easy Digital Downloads can function without one just fine, making it easy to set up in a testing or development environment. We still strongly recommend you have an SSL certificate for your production web site, both for security and for the peace of mind of your customers. [Documentation here](http://docs.easydigitaldownloads.com/article/994-how-to-set-up-ssl?utm_source=docs&utm_medium=faq_tab&utm_content=documentation&utm_campaign=readme)
 
 
 
 
97
 
98
  = What themes work with Easy Digital Downloads? =
99
 
@@ -125,13 +199,13 @@ Place the [purchase_history] shortcode on any page.
125
 
126
  If you want to just show a list of the files the user has purchased, use the [download_history] shortcode instead.
127
 
128
- = How do I display products? =
129
 
130
- There are several different ways, each well [documented](http://docs.easydigitaldownloads.com/category/870-product-display?utm_source=edd_readme&utm_medium=faq_tab&utm_content=faqs&utm_campaign=readme).
131
 
132
  = Can I set up an affiliate program? =
133
 
134
- Yes! EDD integrates directly with several affiliate platforms that provide complete affiliate systems you can use to award commissions to your affiliate marketers.
135
 
136
  [Check out AffiliateWP](https://affiliatewp.com?utm_source=edd_readme&utm_medium=faq_tab&utm_content=home&utm_campaign=readme)
137
 
@@ -142,11 +216,11 @@ Yes, EDD has an extension that allows for downloadable invoices to be generated
142
 
143
  = Are recurring payments supported? =
144
 
145
- Yes, through the use of our commercial addon called [Recurring Payments](https://easydigitaldownloads.com/downloads/recurring-payments/?utm_source=docs&utm_medium=faq_tab&utm_term=recurring_addon&utm_content=faqs&utm_campaign=readme). [Full documentation here](http://docs.easydigitaldownloads.com/article/1142-recurring-payments---overview?utm_source=docs&utm_medium=faq_tab&utm_term=recurring_addon&utm_content=faqs&utm_campaign=readme)
146
 
147
  = Can customers purchase products without using PayPal? =
148
 
149
- Yes. Easy Digital Downloads also includes default support for Amazon Payments and support for numerous other payment methods through add-on payment gateways. Here are some of the gateways [currently available](https://easydigitaldownloads.com/downloads/category/extensions/gateways/?utm_source=docs&utm_medium=faq_tab&utm_term=gateways&utm_content=faqs&utm_campaign=readme):
150
 
151
  * [Stripe](https://easydigitaldownloads.com/downloads/stripe-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=stripe-payment-gateway&utm_campaign=readme)
152
  * [PayPal Pro/Express](https://easydigitaldownloads.com/downloads/paypal-pro-express/?utm_source=gateway&utm_medium=faq_tab&utm_content=paypal-pro-express&utm_campaign=readme)
@@ -158,23 +232,9 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
158
  * [PayPal Payments Advanced](https://easydigitaldownloads.com/downloads/paypal-payments-advanced/?utm_source=gateway&utm_medium=faq_tab&utm_content=paypal-payments-advanced&utm_campaign=readme)
159
  * [ClickBank](https://easydigitaldownloads.com/downloads/edd-clickbank-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=clickbank&utm_campaign=readme)
160
  * [Wallet](https://easydigitaldownloads.com/downloads/wallet/?utm_source=gateway&utm_medium=faq_tab&utm_content=wallet&utm_campaign=readme)
161
- * [BitPay](https://easydigitaldownloads.com/downloads/bitpay-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=bitpay-payment-gateway&utm_campaign=readme)
162
- * [Coinbase](https://easydigitaldownloads.com/downloads/coinbase-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=coinbase-payment-gateway&utm_campaign=readme)
163
  * [SOFORT Banking](https://easydigitaldownloads.com/downloads/sofort-banking-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=sofort-banking-gateway&utm_campaign=readme)
164
- * [PayU India](https://easydigitaldownloads.com/downloads/payu-india-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=payu-india-payment-gateway&utm_campaign=readme)
165
- * [Payza](https://easydigitaldownloads.com/downloads/payza-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=payza-payment-gateway&utm_campaign=readme)
166
- * [PayPlug](https://easydigitaldownloads.com/downloads/payplug-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=payplug-gateway&utm_campaign=readme)
167
- * [GoCardless](https://easydigitaldownloads.com/downloads/gocardless-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=gocardless-payment-gateway&utm_campaign=readme)
168
- * [Zombaio](https://easydigitaldownloads.com/downloads/zombaio-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=zombaio-payment-gateway&utm_campaign=readme)
169
- * [Realex](https://easydigitaldownloads.com/downloads/realex-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=realex-gateway&utm_campaign=readme)
170
- * [CyberSource](https://easydigitaldownloads.com/downloads/cybersource-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=cybersource-gateway&utm_campaign=readme)
171
- * [Paylane](https://easydigitaldownloads.com/downloads/paylane-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=paylane-payment-gateway&utm_campaign=readme)
172
- * [ePay](https://easydigitaldownloads.com/downloads/epay-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=epay-payment-gateway&utm_campaign=readme)
173
- * [Netbanx](https://easydigitaldownloads.com/downloads/netbanx-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=netbanx-payment-gateway&utm_campaign=readme)
174
- * [Realex](https://easydigitaldownloads.com/downloads/realex-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=realex-gateway&utm_campaign=readme)
175
- * [PayTrace](https://easydigitaldownloads.com/downloads/paytrace/?utm_source=gateway&utm_medium=faq_tab&utm_content=paytrace&utm_campaign=readme)
176
- * [iPay88](https://easydigitaldownloads.com/downloads/ipay88-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=ipay88-gateway&utm_campaign=readme)
177
 
 
178
 
179
  == Screenshots ==
180
 
@@ -189,6 +249,11 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
189
  9. Checkout screen
190
 
191
  == Changelog ==
 
 
 
 
 
192
  = 2.9.21, March 2, 2020 =
193
  * Fix: Corrected a reporting issue with earnings when using negative fees, such as Discounts Pro.
194
  * Fix: Only count the number of downloads for a purchase when download counts are not unlimited.
1
+ === Easy Digital Downloads - Simple Ecommerce for Selling Digital Files ===
2
  Author URI: https://easydigitaldownloads.com
3
  Plugin URI: https://easydigitaldownloads.com
4
  Contributors: easydigitaldownloads, mordauk, sunnyratilal, chriscct7, section214, sumobi, sdavis2702, cklosows, mindctrl, sksmatt, SpencerFinnell, johnstonphilip, brashrebel, drewapicture, johnjamesjacoby, nosegraze
5
  Donate link: https://easydigitaldownloads.com/donate/
6
+ Tags: ecommerce, sell, checkout, payments, stripe
7
  Requires at least: 4.4
8
+ Tested up to: 5.4
9
  Requires PHP: 5.3
10
+ Stable Tag: 2.9.22
11
  License: GNU Version 2 or Any Later Version
12
 
13
+ Sell your digital products the simple way. Easily build an online store complete with a cart system, checkout forms, reports, coupons, and more!
14
 
15
  == Description ==
16
 
18
 
19
  = Sell effortlessly =
20
 
21
+ Whether it is [software](https://easydigitaldownloads.com/blog/selling-software/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [documents](https://easydigitaldownloads.com/blog/selling-documents/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [photos](https://easydigitaldownloads.com/blog/selling-photographs/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [ebooks](https://easydigitaldownloads.com/blog/selling-ebooks/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [songs](https://easydigitaldownloads.com/blog/selling-audio-and-music/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [graphics](https://easydigitaldownloads.com/blog/selling-graphics-and-digital-artwork/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), [videos](https://easydigitaldownloads.com/blog/selling-videos/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description), or any other type of media file, Easy Digital Downloads provides a complete system for effortlessly selling your digital products.
22
+
23
+ > Easy Digital Downloads is an invaluable tool that I use throughout my business and for my clients. I love its simplicity yet powerful features and library of useful extensions. EDD stands out as one of the only affordable options for scaling a business centered around providing digital ecommerce sites to its clients.
24
+ > Mark Hunter - Mark of Approval
25
+
26
+ = All the eCommerce features you need =
27
+
28
+ Do you prefer an eCommerce solution which is simple and intuitive or one which is rich in features? Too often that tradeoff is one online sellers need to make. Fortunately, Easy Digital Downloads manages to be easy enough for eCommerce beginners to configure without sacrificing any important functionality.
29
+
30
+ > EDD gives me a solid platform out of the box, with the flexibility of being able to customize anything I want or need to. The best of both worlds!
31
+ > Brian Hogg – SellingPlugins.com
32
+
33
+ Here are some of the features supported out-of-the-box:
34
+
35
+ - **Frontend shopping cart** - Customers can browse your product catalogue, add items to their cart, and checkout when they are ready. Or they can bypass the cart using Buy Now buttons.
36
+ - **Flexible and clean checkout form** - Buyers can complete their purchase with ease, directly on your site's checkout page.
37
+ - **Complete customer management** - View and manage detailed records of all customers and their purchase history.
38
+ - **Detailed eCommerce reports** - Keep track of your earnings, refunds, sales, and more.
39
+ - **Protect product files** - Prevent unauthorized visitors from accessing your product files without paying.
40
+ - **Discount codes** - Boost sales by offering potential customers coupon or discount codes which can be applied at checkout.
41
+ - **Works with any theme** - Let your chosen WordPress theme handle the design. Easy Digital Downloads will fit right in.
42
+ - [And much more](https://easydigitaldownloads.com/edd-features/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=much-more&utm_term=description)!
43
 
44
  = Localized for your language =
45
 
46
  Easy Digital Downloads has been translated into more than two dozen languages and new translation are being added all the time, letting you have a natural, native experience, regardless of where you live. If your language is not available, we welcome translation contributions! See our [FAQ](http://docs.easydigitaldownloads.com/article/1082-what-spoken-languages-does-easy-digital-downloads-support?utm_source=docs&utm_medium=description_tab&utm_content=languages&utm_campaign=readme).
47
 
48
+ = Support for many payment gateways, including Stripe and PayPal =
49
 
50
  The internet has made it possible for anyone to sell their products to a world-wide audience. No matter where you live, Easy Digital Downloads can be your eCommerce solution. We offer integrations for the most common merchant processors and, through 3rd party extensions, support for many, many more as well.
51
 
68
  * BitPay
69
  * Coinbase
70
 
71
+ > What can I say? Stripe is my go-to payment processor and without this add-on I don't know what I would do. Connect EDD to your Stripe account in seconds and you're done! Having a simple toggle in to test mode is also a valuable development tool. This is another one of my go-to EDD extensions.
72
+ > Matt Whiteley - Whiteley Designs
73
+
74
+ See our [payment gateways category](https://easydigitaldownloads.com/downloads/category/gateways/?utm_source=extensions&utm_medium=description_tab&utm_content=gateways&utm_campaign=readme) in the extensions catalogue for a complete list of supported merchant processors. There are also a large number of additional payment gateways developed and supported by [3rd party developers](https://easydigitaldownloads.com/3rd-party-extensions/#gateways).
75
 
76
+ = Take your store further with extensions =
77
 
78
  With add-on plugins from our [extensions catalogue](https://easydigitaldownloads.com/downloads/?utm_source=extensions&utm_medium=description_tab&utm_content=extensions&utm_campaign=readme) you can super-charge your digital store. Some of our extension highlights include:
79
 
80
+ * [Software Licensing](https://easydigitaldownloads.com/downloads/software-licensing/?utm_source=extension&utm_medium=description_tab&utm_content=software-licensing&utm_campaign=readme) provides a complete solution for selling software license keys and distributing software updates to customers
81
+ * [Recurring Payments](https://easydigitaldownloads.com/downloads/recurring-payments/?utm_source=extension&utm_medium=description_tab&utm_content=recurring-payments&utm_campaign=readme) allows store owners to sell recurring subscriptions for digital products using payment gateways like Stripe and PayPal
82
  * [Frontend Submissions](https://easydigitaldownloads.com/downloads/frontend-submissions/?utm_source=extension&utm_medium=description_tab&utm_content=frontend-submissions&utm_campaign=readme) transforms your store into a full-featured multi-vendor marketplace
83
  * [Commissions](https://easydigitaldownloads.com/downloads/commissions/?utm_source=extension&utm_medium=description_tab&utm_content=commissions&utm_campaign=readme) enables store owners to easily track earnings for product vendors
84
+ * [Free Downloads](https://easydigitaldownloads.com/downloads/free-downloads/?utm_source=extension&utm_medium=description_tab&utm_content=free-downloads&utm_campaign=readme) allows free products to be purchased more easily by bypassing the standard checkout form
85
  * [Zapier](https://easydigitaldownloads.com/downloads/zapier/?utm_source=extension&utm_medium=description_tab&utm_content=zapier&utm_campaign=readme) automates your store by connecting Easy Digital Downloads with more than 700 other web services and products
86
  * [Reviews](https://easydigitaldownloads.com/downloads/product-reviews/?utm_source=extension&utm_medium=description_tab&utm_content=reviews&utm_campaign=readme) allows customers to leave reviews and feedback on the products they have purchased
87
  * [Recommended Products](https://easydigitaldownloads.com/downloads/recommended-products/?utm_source=extension&utm_medium=description_tab&utm_content=recommended-products&utm_campaign=readme) increases revenue by showing customers recommendations on additional products to purchase based on real sales data
88
  * [Content Restriction](https://easydigitaldownloads.com/downloads/content-restriction/?utm_source=extension&utm_medium=description_tab&utm_content=content-restriction&utm_campaign=readme) allows site owners to restrict access to page content to paying customers
89
+ * [Mailchimp](https://easydigitaldownloads.com/downloads/mailchimp/?utm_source=extension&utm_medium=description_tab&utm_content=mailchimp&utm_campaign=readme) connects your store to your Mailchimp account so you can easily subscribe customers to email lists based on which products they purchase
90
  * [AWeber](https://easydigitaldownloads.com/downloads/aweber/?utm_source=extension&utm_medium=description_tab&utm_content=aweber&utm_campaign=readme) connects your store to your AWeber account so you can easily subscribe customers to email lists based on what they purchase
91
  * [Amazon S3](https://easydigitaldownloads.com/downloads/amazon-s3/?utm_source=extension&utm_medium=description_tab&utm_content=amazon-s3&utm_campaign=readme) lets you securely host files on Amazon S3 for more reliable and secure file delivery
92
  * [Dropbox File Store](https://easydigitaldownloads.com/downloads/dropbox-file-store//?utm_source=extension&utm_medium=description_tab&utm_content=dropbox-file-store/&utm_campaign=readme) lets you securely host files in your Dropbox account for more reliable and secure file delivery
93
 
94
+ These are just a few of the extensions we offer to help you optimize your store and sell more files. See our complete [extensions catalogue](https://easydigitaldownloads.com/downloads/?utm_source=extensions&utm_medium=description_tab&utm_content=extensions&utm_campaign=readme) for more. There are also hundreds of extensions created by Easy Digital Downloads community members, which can be found on our [3rd Party Extensions page](https://easydigitaldownloads.com/3rd-party-extensions/?utm_source=3rd-party-extensions&utm_medium=description_tab&utm_content=3rd-party-extensions&utm_campaign=readme).
95
 
96
  = Built with developers in mind =
97
 
98
+ Extensible, adaptable, and open source -- Easy Digital Downloads is created with developers in mind. Consult our detailed [developer documentation](http://docs.easydigitaldownloads.com/collection/174-developer-docs?utm_source=wporg&utm_medium=readme&utm_content=documentation&utm_campaign=dev-docs) to learn how you can extend and customize your Easy Digital Downloads powered eCommerce store.
99
+
100
+ The Easy Digital Downloads API makes it possible for developers to make customizations such as:
101
+
102
+ - Modifying the checkout form
103
+ - Overriding default plugin behavior
104
+ - Generating custom ecommerce reports
105
+ - Extending native features
106
+ - Creating new product page templates
107
+ - Integrating with other plugins and web applications
108
+
109
+ ...and much much more!
110
+
111
+ > As a developer, Easy Digital Downloads is very pleasant to work with since you can absolutely extend anything available within EDD.
112
+ > Yudhistira Mauris - WP House
113
+
114
+ = Meet the team =
115
+
116
+ Easy Digital Downloads is built by [Sandhills Development](https://sandhillsdev.com/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=sandhills&utm_term=description). We make [popular WordPress plugins](https://sandhillsdev.com/projects/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=popular&utm_term=description) used by hundreds of thousands of people just like you. [Get to know us here](https://sandhillsdev.com/about/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=about&utm_term=description)!
117
+
118
+ > EDD has been a long standing, rock-solid e-commerce solution for WordPress. The team lives and breathes WordPress, understands the platform, and is embedded in the community.
119
+ > Joe Casabona - Creator Courses
120
+
121
+ = From our blog =
122
+
123
+ Check out some of our popular posts for actionable advice for running your business and selling digital files on the web.
124
+
125
+ - [The 12 Most Popular Digital Products You Can Sell Online](https://easydigitaldownloads.com/blog/the-12-most-popular-digital-products-you-can-sell-online/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_term=description)
126
+ - [The Reality of Refunds for Digital Products](https://easydigitaldownloads.com/blog/the-reality-of-refunds-for-digital-products/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=refunds&utm_term=description)
127
+ - [How to Successfully Launch Your Digital Product](https://easydigitaldownloads.com/blog/how-to-successfully-launch-your-digital-product/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=launch&utm_term=description)
128
+ - [Protecting Your Digital Products](https://easydigitaldownloads.com/blog/protecting-your-digital-products/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=protecting&utm_term=description)
129
+ - [The Top Ten Benefits of Selling Digital Products](https://easydigitaldownloads.com/blog/top-10-benefits-selling-digital-products/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=benefits&utm_term=description)
130
+
131
+ **[Subscribe to our newsletter](https://easydigitaldownloads.com/subscribe/?utm_medium=readme&utm_source=wporg&utm_campaign=lite-plugin&utm_content=subscribe&utm_term=description)** to get posts like these in your inbox as soon as they’re published.
132
+
133
+ = Contribute to Easy Digital Downloads =
134
+
135
+ Development for this plugin happens in a public GitHub repository to better facilitate contributions from an active community of users, developers and designers. If you have a suggestion, bug report, patch, or pull request, please feel free to [contribute here](https://github.com/easydigitaldownloads/easy-digital-downloads) or to our [code snippet library](https://github.com/easydigitaldownloads/library).
136
+
137
+ = Looking for something else? =
138
+
139
+ If Easy Digital Downloads doesn’t quite fit your needs, take a look at some of our other projects.
140
+
141
+ - [WP Simple Pay](https://wpsimplepay.com/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=something-else&utm_term=description) – Sell digital products with WordPress
142
+ - [AffiliateWP](https://affiliatewp.com/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=something-else&utm_term=description) – A full-featured affiliate marketing solution
143
+ - [Sugar Calendar](https://sugarcalendar.com?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=something-else&utm_term=description) – WordPress event management made simple
144
+ - [Restrict Content Pro](https://restrictcontentpro.com/?utm_medium=readme&utm_source=wporg&utm_campaign=edd-plugin&utm_content=something-else&utm_term=description) – A lightweight Stripe payments plugin
145
 
146
  == Installation ==
147
 
155
 
156
  = Where can I find complete documentation? =
157
 
158
+ Full searchable docs for Easy Digital Downloads and all our extensions can be found at [http://docs.easydigitaldownloads.com/](http://docs.easydigitaldownloads.com/?utm_source=docs&utm_medium=faq_tab&utm_content=documentation&utm_campaign=readme)
159
 
160
+ = Where can I ask for help with my digital eCommerce store? =
161
 
162
  You can submit a support ticket or pre-sale question from our [support page](https://easydigitaldownloads.com/support/?utm_source=docs&utm_medium=faq_tab&utm_content=support&utm_campaign=readme) at anytime.
163
 
164
+ = Which file types can I sell? =
165
 
166
+ Any file type can be sold using Easy Digital Downloads. You can sell .PDF, .DOC, .MP3, .MOV, .EPUB, .PSD, .MP4, .JPG, or any other extension which exists. On the product creation form, there is a file upload field which will accept any file type. Whatever file is uploaded to that field is the file customers will receive instantly when they complete a purchase.
167
+
168
+ = Is an SSL certificate required to sell digital products? =
169
+
170
+ Easy Digital Downloads can function without an SSL certificate just fine, making it easy to set up in a testing or development environment. We still strongly recommend you have an SSL certificate for your live store, both for security and for the peace of mind of your customers. [Documentation here](http://docs.easydigitaldownloads.com/article/994-how-to-set-up-ssl?utm_source=docs&utm_medium=faq_tab&utm_content=documentation&utm_campaign=readme)
171
 
172
  = What themes work with Easy Digital Downloads? =
173
 
199
 
200
  If you want to just show a list of the files the user has purchased, use the [download_history] shortcode instead.
201
 
202
+ = How do I display my digital products? =
203
 
204
+ There are several different ways to visually display your product catalogue, each [documented here](http://docs.easydigitaldownloads.com/category/870-product-display?utm_source=edd_readme&utm_medium=faq_tab&utm_content=faqs&utm_campaign=readme).
205
 
206
  = Can I set up an affiliate program? =
207
 
208
+ Yes! EDD integrates directly with several affiliate platforms that provide complete affiliate systems you can use to award commissions to your affiliate marketers. This means when affiliates refer customers to you, and those customers buy your products, those affiliates earn a commission from you.
209
 
210
  [Check out AffiliateWP](https://affiliatewp.com?utm_source=edd_readme&utm_medium=faq_tab&utm_content=home&utm_campaign=readme)
211
 
216
 
217
  = Are recurring payments supported? =
218
 
219
+ Yes, through the use of our commercial addon called [Recurring Payments](https://easydigitaldownloads.com/downloads/recurring-payments/?utm_source=docs&utm_medium=faq_tab&utm_term=recurring_addon&utm_content=faqs&utm_campaign=readme). [Full documentation here](http://docs.easydigitaldownloads.com/article/1142-recurring-payments---overview?utm_source=docs&utm_medium=faq_tab&utm_term=recurring_addon&utm_content=faqs&utm_campaign=readme). The Recurring Payments extension allows you to create subscriptions so that customers continue paying you over time. This is great for selling memberships, courses, all access passes, software licenses, and other products which require an ongoing payment.
220
 
221
  = Can customers purchase products without using PayPal? =
222
 
223
+ Yes. Easy Digital Downloads also includes default support for Amazon Payments and support for numerous other payment methods through add-on payment gateways. Here are some of the payment gateways [currently available](https://easydigitaldownloads.com/downloads/category/extensions/gateways/?utm_source=docs&utm_medium=faq_tab&utm_term=gateways&utm_content=faqs&utm_campaign=readme):
224
 
225
  * [Stripe](https://easydigitaldownloads.com/downloads/stripe-payment-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=stripe-payment-gateway&utm_campaign=readme)
226
  * [PayPal Pro/Express](https://easydigitaldownloads.com/downloads/paypal-pro-express/?utm_source=gateway&utm_medium=faq_tab&utm_content=paypal-pro-express&utm_campaign=readme)
232
  * [PayPal Payments Advanced](https://easydigitaldownloads.com/downloads/paypal-payments-advanced/?utm_source=gateway&utm_medium=faq_tab&utm_content=paypal-payments-advanced&utm_campaign=readme)
233
  * [ClickBank](https://easydigitaldownloads.com/downloads/edd-clickbank-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=clickbank&utm_campaign=readme)
234
  * [Wallet](https://easydigitaldownloads.com/downloads/wallet/?utm_source=gateway&utm_medium=faq_tab&utm_content=wallet&utm_campaign=readme)
 
 
235
  * [SOFORT Banking](https://easydigitaldownloads.com/downloads/sofort-banking-gateway/?utm_source=gateway&utm_medium=faq_tab&utm_content=sofort-banking-gateway&utm_campaign=readme)
 
 
 
 
 
 
 
 
 
 
 
 
 
236
 
237
+ For most stores, we recommend using the Stripe Payment Gateway.
238
 
239
  == Screenshots ==
240
 
249
  9. Checkout screen
250
 
251
  == Changelog ==
252
+ = 2.9.22, March 12, 2020 =
253
+ * Fix: Corrected an issue that caused custom translation files from being ignored when official translations are loaded.
254
+ * Fix: The default return condition when determining if a purchase has reached its download limit was erroneously removed.
255
+ * Fix: When determining the discount amount for a cart item, it was possible to enter into a situation that caused a division by zero warning.
256
+
257
  = 2.9.21, March 2, 2020 =
258
  * Fix: Corrected a reporting issue with earnings when using negative fees, such as Discounts Pro.
259
  * Fix: Only count the number of downloads for a purchase when download counts are not unlimited.