Easy Digital Downloads - Version 2.8.2

Version Description

Download this release

Release Info

Developer cklosows
Plugin Icon 128x128 Easy Digital Downloads
Version 2.8.2
Comparing to
See all releases

Code changes from version 2.8.1 to 2.8.2

assets/css/edd-admin.css CHANGED
@@ -1142,23 +1142,6 @@ td.edd_order_price {
1142
  clear: both;
1143
  }
1144
 
1145
- /* Taxonomy styles
1146
- -------------------------------------------------------------- */
1147
-
1148
- .post-type-download .fixed .column-name {
1149
- width: 27%;
1150
- }
1151
- .post-type-download .fixed .column-description {
1152
- width: 30%;
1153
- }
1154
- .post-type-download .fixed .column-slug {
1155
- width: 23%;
1156
- }
1157
- .post-type-download .fixed .column-posts {
1158
- text-align: left;
1159
- width: 17%;
1160
- }
1161
-
1162
  /* System Info page styles
1163
  -------------------------------------------------------------- */
1164
 
1142
  clear: both;
1143
  }
1144
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1145
  /* System Info page styles
1146
  -------------------------------------------------------------- */
1147
 
assets/css/edd-admin.min.css CHANGED
@@ -1 +1 @@
1
- #edd-payment-date-filters input,.edd-mobile-link{vertical-align:middle}.edd-hidden{display:none}.edd-clearfix:after{content:".";display:block;height:0;text-indent:-9999px;visibility:hidden}.edd-wrap a{text-decoration:none}a.edd-delete{color:#a00}a.edd-delete:hover{color:red}.download_page_edd-settings .form-table label{color:#666;font-size:14px;font-style:italic;margin:4px 0 0}.download_page_edd-settings .form-table input.small-text~label,.download_page_edd-settings .form-table input[type=checkbox]+label{display:inline}.download_page_edd-settings .form-table tr>th>h3,.download_page_edd-settings .form-table tr>th>strong{font-size:1.2em;font-weight:600;margin:0 auto}.edd-help-tip{cursor:help}.edd-ui-tooltip{background:#333!important;border-width:1px!important;border-radius:3px!important;box-shadow:1px 1px 2px 1px rgba(214,214,214,.5)!important;color:#dedede!important;max-width:300px!important;padding:7px!important;text-rendering:optimizeLegibility;text-shadow:none!important;z-index:9999!important}#edd-add-ons h2.nav-tab-wrapper{position:relative}#edd-add-ons h2 .button-primary,.edd-tab-span{position:absolute}.edd-tab-span{top:-6px;right:0}.edd-add-ons-footer{padding-top:10px}#edd-add-ons h2{margin:0 0 15px}#edd-add-ons .edd-extension{background:#fff;border:1px solid #ccc;float:left;padding:14px;position:relative;margin:0 15px 15px 0;width:320px;height:315px}#edd-add-ons .edd-extension h3{font-size:13px;margin:0 0 8px}#edd-add-ons .edd-extension .button-secondary{position:absolute;bottom:14px;left:14px}#edd-add-ons .edd-browse-all{clear:both;width:100%}#edd-add-ons .edd-extension .third-party{display:none}#edd-add-ons .edd-starter-package{background-color:#85c0e5;border-color:#62a9d7;color:#fff}#edd-add-ons .edd-starter-package h3{color:#fff}#edd-payment-filters p,.edd-repeatable-row-actions .toggle-custom-price-option-section{color:#777}#edd-add-ons .edd-extension .wp-post-image{width:100%;height:auto}#edd-products{height:100px;min-width:200px}#edd-add-discount input[type=checkbox],#edd-edit-discount input[type=checkbox]{width:15px}#edd-payment-filters{background:#f5f5f5;clear:both;background-image:-webkit-gradient(linear,left bottom,left top,from(#f5f5f5),to(#fafafa));background-image:-webkit-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:-moz-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:-o-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:linear-gradient(to top,#f5f5f5,#fafafa);border-color:#dfdfdf;border-width:1px;border-style:solid;border-radius:3px;font-size:13px;line-height:2.1em;overflow:auto;padding:12px;margin:8px 0}#edd-payments-filter ul.subsubsub{margin-bottom:8px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}.wp-list-table.downloads th#ID{width:80px}.wp-list-table.downloads th#details{width:130px}.wp-list-table.downloads th#date{width:140px}.wp-list-table.downloads th#user{width:130px}.edd-mobile-link{line-height:32px}.edd-mobile-link img{max-width:80%;height:auto;float:left}@media handheld,only screen and (max-width:640px){.wp-list-table.downloads th{width:auto!important}}.download_page_edd-payment-history .ui-dialog .ui-dialog-titlebar-close span{margin-left:-8px;margin-top:-8px}#edd-download-link-textarea{width:100%}.edd_files_name_label{width:225px;float:left}.edd_files_url_label{width:220px;float:left}#postbox-container-1 .edd_files_name_label,#postbox-container-1 .edd_files_url_label{width:80px}.edd-add-repeatable-row{margin:10px 0}.edd-add-repeatable-row .submit{padding:0!important}.edd_repeatable_upload_wrapper:not(:first-child),.edd_variable_prices_wrapper:not(:first-child){margin-top:12px}.edd-repeatable-row-actions{color:#777;font-size:12px}.edd-repeatable-row-actions a{text-decoration:none;width:auto;cursor:pointer;vertical-align:middle}.edd-repeatable-row-actions .toggle-custom-price-option-section:hover{color:#444}.edd-bundle-products-header,.edd-repeatable-row-header{clear:both;background:#f1f1f1;border:1px solid #e5e5e5}.edd-repeatable-row-header{cursor:move}.edd-bundled-product-row:after,.edd-bundled-product-row:before,.edd-repeatable-row-header:after,.edd-repeatable-row-header:before{content:'';display:table}.edd-bundled-product-row:after,.edd-repeatable-row-header:after{clear:both}.edd-repeatable-row-title{float:left;font-weight:600}.edd-admin-box .right,.edd-bundled-product-row .edd-bundled-product-actions{float:right}.edd-bundled-product-item-reorder .edd-product-file-reorder{color:#e5e5e5;font-family:dashicons;content:"\f545";font-size:18px;font-weight:300;margin-left:4px;vertical-align:top;transition:.2s color}.edd-bundled-product-item-reorder .edd-product-file-reorder:hover{color:#bbb}.edd-repeatable-row-actions,.edd-repeatable-row-title{padding:8px;box-sizing:border-box}.edd-repeatable-row-actions{float:right;text-align:right;padding:8px}.edd-bundled-product-row .edd-remove-row,.edd-repeatable-row-actions .edd-remove-row{font-size:12px;width:auto;cursor:pointer}.edd-bundled-product-row,.edd-repeatable-row-standard-fields{background:#f9f9f9;padding:8px;border-width:0 1px 1px;border-style:solid;border-color:#e5e5e5}.edd-repeatable-row-setting-label{display:block;margin-bottom:4px}.edd-repeatable-row-setting-label .edd-help-tip{display:inline-block;margin-left:4px}.edd-bundled-product-row .edd-bundled-product-actions,.edd-bundled-product-row .edd-bundled-product-item,.edd-bundled-product-row .edd-bundled-product-item-reorder,.edd-bundled-product-row .edd-bundled-product-price-assignment,.edd-file-assignment,.edd-file-name,.edd-file-url,.edd-option-name,.edd-option-price,.edd_repeatable_default{display:inline-block;vertical-align:top}.edd-option-name{width:38%;margin-right:5%}.edd-option-price{min-width:100px}.edd_repeatable_default{text-align:center;min-width:80px}.edd-file-name{width:18%;margin-right:3%}.edd-file-url{width:65%}.edd-repeatable-row-standard-fields.has-variable-pricing .edd-file-url{width:38%;margin-right:5%}.edd-file-assignment{width:27%}.edd-file-assignment .edd-repeatable-row-setting-label{margin-bottom:0}.edd-custom-price-option-sections-wrap{display:none;border-width:0 1px 1px;border-style:solid;border-color:#e5e5e5;box-sizing:border-box;width:100%}.edd-custom-price-option-section{display:block;padding:10px 8px;border-bottom:1px solid rgba(222,222,222,.3)}.edd-custom-price-option-section:last-child{border-bottom:none}label.edd_prices_shipping{display:none!important}.edd-custom-price-option-section-title{display:block;font-size:14px;font-weight:600;padding:0 0 10px}.edd-custom-price-option-section>:not(.edd-custom-price-option-section-title){display:inline-block;padding-right:20px;vertical-align:top;margin-bottom:4px}.edd-custom-price-option-section>:not(.edd-custom-price-option-section-title) label{display:block;margin-bottom:2px}.edd-bundle-products-header{font-weight:600;padding:8px}.edd-bundled-product-row .edd-bundled-product-item-reorder{min-width:30px;margin-right:8px}.edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder{font-size:20px;font-weight:300;padding:16px 4px 0;cursor:move}.edd-admin-box .label,.edd-admin-box-inside .strong{font-weight:600}.edd-bundled-product-row .edd-bundled-product-item{width:60%;margin-right:3%}.edd-bundled-product-row.has-variable-pricing .edd-bundled-product-item{width:47%}.edd-bundled-product-row .edd-bundled-product-price-assignment{width:23%;margin-right:3%}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative}.edd_upload_file{background:#fff;display:block;padding:2px 8px;position:absolute;top:3px;right:7px}.edd_upload_field{padding-right:8em}textarea#edd-payment-note{width:100%;height:4em;margin:0}#edd-purchased-files .row .edd-purchased-files-list-wrapper .download{line-height:1.4}#edd-purchased-files .edd-purchased-files-list-wrapper .edd-purchased-option{color:#666}input[class*=edd-price-field]{padding:3px 5px;width:75px}#edd-order-download-quantity[type=number].small-text,#edd-order-download-tax[type=text].small-text,[class*=item_] [class*=edd-payment-details-download-][type=number].small-text{height:25px}#edd-order-download-quantity[type=number].small-text,.item_price .edd-payment-details-download-quantity[type=number].small-text{width:55px}#edd-order-download-tax[type=text].small-text,.item_tax .edd-payment-details-download-item-tax[type=number].small-text{width:75px}.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%}#edd_product_notes_field{margin:0;width:98%;height:4em}.edd_remove_repeatable{border:none;cursor:pointer;display:inline-block;padding:0;overflow:hidden;margin:8px 0 0;text-indent:-9999px;width:10px;height:10px}.edd_remove_repeatable:active,.edd_remove_repeatable:focus,.edd_remove_repeatable:hover{background-position:-10px 0!important}#edd-edit-order-form .column{width:32%}.edd-edit-purchase-element[class*=columns-] ul li{padding-right:1%}#edd-edit-order-form .column:nth-child(2n+1),#edd-edit-order-form .columns-4 .column:nth-child(2n+1),#edd-edit-order-form .columns-5 .column:nth-child(3n+1){margin-right:0}.edd-edit-purchase-element ul li.download{width:35%}.edd-edit-purchase-element ul li.item_price{width:15%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:25%}.edd-edit-purchase-element ul li.item_tax{width:15%}.edd-edit-purchase-element ul li.price{width:20%}.edd-admin-box-inside{border-bottom:1px solid #eee;clear:both;padding:3px 12px;margin:0;word-break:break-word}.rtl .edd-admin-box-inside{padding:5px 10px 5px 0}.edd-payment-fees .fee-label{color:#666;font-weight:400}.rtl .edd-admin-box .right{float:left;margin-left:10px}#edd-customer-details .actions,#edd-order-recalc-total{float:right}#edd-order-details .inside,#edd-order-update .inside{margin:0;padding:0}#edd-order-update input.edd_datepicker{width:180px}#edd-order-update input[type=number].edd-payment-time-hour,#edd-order-update input[type=number].edd-payment-time-min{width:50px}#edd-order-update .edd-tax-rate{color:#9c9c9c;font-style:italic}#edd-order-resend-receipt .inside{margin-top:11px}#edd-order-resend-receipt .edd-order-resend-receipt-addresses{margin-top:10px}.edd-admin-box-inside:last-child{border-bottom:0}#edd-edit-order-form .data-payment-key{word-break:break-all}.edd-order-update-box #major-publishing-actions .button-secondary{margin-right:10px}.edd-edit-purchase-element .edd-select-chosen{width:196px}#edd-customer-details .order-data-address input,#edd-customer-details .order-data-column p.data input,#edd-edit-order-form .column input,#edd-order-address-country-wrap select,.edd-edit-purchase-element ul{clear:both;display:block}#edd-customer-details .customer-info .column{width:49%}.edd-order-data input.small-text{margin:0}.edd-order-data input.med-text{margin:0;width:100px}#edd-order-update span.label{display:inline;width:50px}.edd-order-update-box .button-primary{margin-right:0}#edd-edit-order-form .column .description{padding-right:10px}#edd-edit-order-form .column,.edd-edit-purchase-element ul li{display:inline-block;line-height:1.4;position:relative;margin:0;vertical-align:middle}.edd-edit-purchase-element .row{padding:12px}.edd-edit-purchase-element .row:not(:last-child){border-bottom:1px solid #eee}.edd-edit-purchase-element .row:nth-child(odd):not(.header){background-color:#f9f9f9}.edd-edit-purchase-element .row.header{padding:6px 12px;font-weight:600;vertical-align:top}.edd-edit-purchase-element ul{font-size:0}.edd-edit-purchase-element ul li{font-size:13px}#edd-order-data .data span{color:#666;font-weight:600}.edd-edit-purchase-element .inside{padding:12px}.edd-edit-purchase-element .edd-purchased-download-title{font-size:14px;font-weight:500}.edd-edit-purchase-element .edd-purchased-download-actions{color:#777;line-height:1.4}.edd-edit-purchase-element .edd-purchased-download-actions .edd-purchased-download-actions-label{font-weight:500}.edd-edit-purchase-element .edd-purchased-download-actions a{color:#777;font-size:12px}.edd-edit-purchase-element .edd-purchased-download-actions a:hover{color:#444}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download{color:#a00}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download:hover{color:red}#edd_products .edd-select,.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%;max-width:200px}.edd_repeatable_product_wrapper td{overflow:visible}.edd-payment-details-label-mobile{display:none}@media screen and (max-width:1284px){.edd-edit-purchase-element ul li.download{padding-bottom:15px;width:100%}.edd-edit-purchase-element .edd-purchased-download-title{font-size:16px}.edd-edit-purchase-element ul li.item_price{width:22%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax{width:25%}.edd-edit-purchase-element ul li.price{width:20%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:10px}.edd-add-download-to-purchase-header,.edd-purchased-files-header{display:none}.edd-payment-details-label-mobile{display:block;font-weight:500;padding-bottom:6px}}@media screen and (max-width:1024px){.edd-edit-purchase-element ul li.item_price.item_quantity{width:40%}.edd-edit-purchase-element ul li.price{width:24%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:15px}.edd-edit-purchase-element .edd-purchased-download-actions,.edd-edit-purchase-element .edd-purchased-download-actions a{font-size:14px}}@media screen and (max-width:782px){#edd-edit-order-form .column{width:49%}.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity{padding-bottom:10px}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax,.edd-edit-purchase-element ul li.price{width:20%;padding-bottom:10px}.edd-payment-details-label-mobile{font-size:14px;font-weight:500}.edd-payment-details-download-amount,.edd-price-currency{font-size:16px}.order-data-column input[type=email]{padding:6px 10px}}@media screen and (max-width:600px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity,.edd-edit-purchase-element ul li.item_tax{width:100%;padding-bottom:20px}.edd-edit-purchase-element .edd-add-download-to-purchase ul li.item_tax,.edd-edit-purchase-element ul li.price{width:100%;padding-bottom:0}.edd-edit-purchase-element .edd-add-download-to-purchase-actions{padding-top:15px}#edd-edit-order-form .column{width:100%}}#edd_product_stats .label{display:inline-block}#edd_product_stats hr{border-style:solid;border-width:1px;border-color:#ccc #fff #fff #ccc}#edd_product_stats .product-earnings-stats:before,#edd_product_stats .product-sales-stats:before{color:#82878c;font:400 20px/1 dashicons;display:inline-block;padding:0 2px 0 0;position:relative;top:0;left:-1px;speak:none;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#edd-item-card-wrapper a.delete,#edd-item-stats-wrapper a,.customer-edit-link a,.disconnect-user a,.wrap-licenses .edd-license-data.edd-license-expired a:hover,.wrap-licenses .edd-license-data.license-expires-soon-notice a:hover,.wrap-licenses .edd-license-data[class*=edd-license-] a:hover{text-decoration:none}#edd_product_stats .product-sales-stats:before{content:'\f174'}#edd_product_stats .product-earnings-stats:before{content:'\f239'}.edd_dashboard_widget table thead td{border-bottom:1px solid #ececec;color:#777}.edd_dashboard_widget .table_left{float:left;width:45%}.edd_dashboard_widget .table_right{float:right;width:45%}.edd_dashboard_widget .inside{font-size:12px}.edd_dashboard_widget td{padding:3px 0}.edd_dashboard_widget .b,.edd_dashboard_widget .t{line-height:1.5;vertical-align:middle}.edd_dashboard_widget .b{font-size:14px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;padding-right:6px;width:auto}.edd_dashboard_widget .t{font-size:12px;padding-right:12px;color:#777;width:100%}.edd_dashboard_widget .label_heading{border-top:1px solid #ececec;color:#8f8f8f;font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;display:block;padding-top:10px;margin:0 0 8px 12px}.edd_dashboard_widget .edd_dashboard_widget_subheading{border-top:1px solid #ececec;color:#8f8f8f;font-size:14px;padding-top:10px;margin:1em 0 0}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 0}.edd_dashboard_widget .edd_price_label{background:#00769c;border-radius:3px;color:#fff;font-size:10px;padding:2px 4px;margin-right:2px}.edd_dashboard_widget table{width:100%;margin-left:0;margin-bottom:1em}td.edd_order_label{width:80%}td.edd_order_price{text-align:right}@media handheld,only screen and (max-width:1000px){.edd_dashboard_widget .edd-recent-email{display:none}}#edd-dashboard-widgets-wrap .postbox h3{cursor:default}#edd-date-range-options,#edd-graphs-date-options{float:left}#edd-date-range-options span{float:left;line-height:24px;height:24px;margin-right:6px}.edd-import-export-form{position:relative}.edd-import-export-form .edd-progress{background:#ddd;position:absolute;bottom:15px;width:95%;height:15px}.edd-import-export-form .edd-progress div{background:#ccc;height:100%;width:0}.edd-import-export-form .notice-wrap{background-color:#f4f4f4;border-style:solid;border-width:1px 0;border-color:#eae9e9;padding:12px 12px 4px;overflow:auto;margin:20px -12px -23px}.edd-import-export-form .notice-wrap .spinner{margin:4px 10px 8px;float:right}.admin-color-fresh .edd-import-export-form .edd-progress div{background:#0073aa}.admin-color-light .edd-import-export-form .edd-progress div{background:#888}.admin-color-blue .edd-import-export-form .edd-progress div{background:#096484}.admin-color-coffee .edd-import-export-form .edd-progress div{background:#c7a589}.admin-color-ectoplasm .edd-import-export-form .edd-progress div{background:#a3b745}.admin-color-midnight .edd-import-export-form .edd-progress div{background:#e14d43}.admin-color-sunrise .edd-import-export-form .edd-progress div{background:#dd823b}#edd-graphs-filter label{vertical-align:inherit}#edd-graphs-filter .graph-option-section{float:left;line-height:2.5em;padding-right:5px}.edd-mix-totals{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px}.edd-mix-chart{display:inline-block;width:49%;vertical-align:top}.edd-graph-notes{color:#9c9c9c}.edd-graph-notes span{display:block}.edd-pie-graph .legend{display:none}.edd-pie-legend{overflow:auto;margin-top:10px}.edd-legend-item-wrapper{color:#333;display:inline-block;font-size:8pt;padding:2px 5px 0;width:48%;height:20px}.edd-legend-color{border:1px solid #cfcfcf;display:inline-block;margin-right:5px;width:20px;height:15px}.edd-pie-legend-item{display:inline-block;vertical-align:top;width:80%}#edd_tax_rates{margin:1em 0 0}#edd_tax_rates .edd_tax_country *,#edd_tax_rates .edd_tax_state *{max-width:100%}#edd_tax_rates .edd_tax_country,#edd_tax_rates .edd_tax_state{width:180px}#edd_tax_rates .edd_tax_rate{width:80px}#edd_tax_rates th{padding:15px 10px}.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tbody,.wrap-licenses td,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:block}.wrap-licenses .form-table tr{float:left;margin:0 15px 15px 0;background:#fff;border:1px solid #ccc;width:30.5%;max-width:350px;padding:14px;min-height:220px;position:relative;box-sizing:border-box}.wrap-licenses .form-table th{background:#f9f9f9;padding:14px;border-bottom:1px solid #ccc;margin:-14px -14px 20px;width:100%}.wrap-licenses .form-table td{padding:0}.wrap-licenses td input.regular-text{margin:0 0 8px;width:100%}.wrap-licenses .edd-license-data[class*=edd-license-]{position:absolute;background:#fafafa;padding:14px;border-top:1px solid #eee;margin:20px -14px -14px;min-height:67px;width:100%;bottom:14px;box-sizing:border-box}.wrap-licenses .edd-license-data[class*=edd-license-] a{color:#444}.wrap-licenses .edd-license-data.license-expires-soon-notice{background-color:#00a0d2;color:#fff;border-color:#00a0d2}.wrap-licenses .edd-license-data.edd-license-expired{background-color:#e24e4e;color:#fff;border-color:#e24e4e}.wrap-licenses .edd-license-data.edd-license-error,.wrap-licenses .edd-license-data.edd-license-invalid,.wrap-licenses .edd-license-data.edd-license-item_name_mismatch,.wrap-licenses .edd-license-data.edd-license-missing,.wrap-licenses .edd-license-data.edd-license-site_inactive{background-color:#ffebcd;border-color:#ffebcd}.wrap-licenses .edd-license-data p{font-size:13px;margin-top:0}.wrap-licenses .edd-license-data.edd-license-expired a,.wrap-licenses .edd-license-data.license-expires-soon-notice a{color:#fff}.wrap-licenses p.submit{clear:both}.post-type-download .fixed .column-name{width:27%}.post-type-download .fixed .column-description{width:30%}.post-type-download .fixed .column-slug{width:23%}.post-type-download .fixed .column-posts{text-align:left;width:17%}#system-info-textarea{background:0 0;font-family:Menlo,Monaco,monospace;display:block;overflow:auto;white-space:pre;width:800px;height:400px}#TB_window #edd-add-download:active,#TB_window #edd-add-download:focus,#TB_window #edd-add-download:hover{color:#fff}.edd-graph .y1Axis{color:#edc240!important}.edd-graph .y2Axis{color:#afd8f8!important}.download_page_edd-tools .apikeys .column-user{width:192px}.edd-select-chosen{width:100%;max-width:300px}.chosen-container-multi .chosen-choices{background-image:none;border-color:#dfdfdf;-webkit-border-radius:3px;border-radius:3px}.chosen-container-multi .chosen-choices input{border-color:#dfdfdf;height:27px!important;margin:2px}.chosen-container .chosen-drop{border-color:#aaa;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.1);box-shadow:1px 1px 2px rgba(0,0,0,.1)}.chosen-container .search-field{float:none!important}.chosen-container .search-field input{width:90%!important}.chosen-container-active .chosen-choices{border-color:#aaa;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.1);box-shadow:1px 1px 2px rgba(0,0,0,.1);border-radius:3px 3px 0 0}.download_page_edd-tools .tablenav .actions{overflow:visible}.edd_user_search_wrap{position:relative;overflow:visible}.edd_user_search_results{position:absolute;left:0;top:27px}.edd_user_search_results a.edd-ajax-user-cancel{position:absolute;right:6px;top:2px}.edd_user_search_results ul{background:#f0f0f0;border:1px solid #dfdfdf;overflow-y:scroll;padding:10px 10px 4px;margin:0;max-height:200px;width:300px}.wp-list-table .type-download .row-actions{color:#999}@media screen and (max-width:1100px){.edd-mix-chart{display:block;width:100%}.wrap-licenses .form-table tr{width:46%;max-width:none;min-height:230px}}@media screen and (max-width:782px){.post-type-download .nav-tab-wrapper a{font-size:70%;padding:2px 4px}.download_page_edd-tools .apikeys .column-user{width:80px}.license-expiration-date-notice,.license-lifetime-notice,.license-null{padding-left:0}[class^=license-] input[type=text]{margin-bottom:3px}}#edd-item-tab-wrapper-list li a,#edd-item-tab-wrapper-list li.active{display:block;padding:8px 10px 8px 6px}@media screen and (max-width:600px){.wrap-licenses .form-table tr{width:100%;min-height:230px}}#edd-item-wrapper{background:#f5f5f5;border:1px solid #e5e5e5;webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);max-width:830px}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}#edd-item-tab-wrapper{float:left;width:18%;z-index:1}#edd-item-tab-wrapper-list{background:#fff;margin:0}#edd-item-tab-wrapper-list li{display:block;background-color:#eaeaea;color:#444;font-size:12px;border-bottom:1px solid #e5e5e5;margin-bottom:0;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}#edd-item-tab-wrapper-list li.active{background-color:#fff}#edd-item-tab-wrapper-list .inactive a,#edd-item-tab-wrapper-list .inactive a:visited{background-color:#f5f5f5;color:#444;text-decoration:none}#edd-item-tab-wrapper-list .inactive a:hover{background-color:#fff}#edd-item-tab-wrapper-list .dashicons{color:#444;font-size:16px;min-width:24px;height:auto}#edd-item-card-wrapper .left{float:left}#edd-item-card-wrapper .right{float:right}#edd-item-card-wrapper input{font-weight:400}#edd-item-card-wrapper .customer-id,.customer-info .customer-name{font-size:24px;font-weight:600}#edd-item-card-wrapper{background-color:#fff;border:1px solid #e5e5e5;display:inline-block;margin-left:-1px;min-height:200px;width:700px;z-index:2}.edd-item-has-tabs #edd-item-card-wrapper{border-width:0 0 0 1px;width:82%}#edd-item-card-wrapper .customer-section{border-bottom:1px solid #eee;margin-bottom:10px;overflow:auto}#edd-item-card-wrapper .customer-section table{margin-bottom:20px}#edd-item-card-wrapper>div{padding:0 20px}#edd-item-card-wrapper>div:first-child{padding-top:20px}#edd-item-card-wrapper>div:last-child{border:none;padding-bottom:20px}#edd-item-card-wrapper .avatar-wrap{padding-right:10px;text-align:center}#edd-item-card-wrapper .customer-main-wrapper input{width:200px}#edd-item-card-wrapper .customer-address-wrapper{margin-right:25px;max-width:33%;width:202px}#edd-item-card-wrapper .customer-address-wrapper select{width:200px}#edd-item-card-wrapper .customer-info{margin-top:5px;margin-bottom:10px;min-height:185px}#edd-item-card-wrapper .info-wrapper{min-height:125px;overflow:visible}#edd-item-card-wrapper a.delete{color:red;margin-right:5px}.customer-edit-link a,.disconnect-user a{font-size:12px;font-weight:400}#customer-edit-actions{line-height:28px;margin-bottom:20px;text-align:center}#customer-edit-actions .button-secondary{margin-right:10px}#edd-item-card-wrapper .row-title{width:30%}#edd-item-card-wrapper .info-item{display:block;line-height:16px;padding-bottom:5px}#edd-item-card-wrapper .edit-item{display:none}#edd-item-card-wrapper .edd_user_search_results{left:1px;top:16px}#edd-item-card-wrapper .edd_user_search_results ul{width:200px}#edd-item-stats-wrapper{margin:0 auto;min-height:30px;text-align:center}#edd-item-stats-wrapper li{font-size:14px;float:left;line-height:22px;width:50%}#edd-item-stats-wrapper .dashicons{color:#888}#edd-item-tables-wrapper table{text-align:center;width:100%}#edd-item-tables-wrapper th{text-align:center}#edd-item-tables-wrapper .downloads tr>td:first-child,#edd-item-tables-wrapper .downloads tr>th:first-child,#edd-item-tables-wrapper .emails tr>td:first-child,#edd-item-tables-wrapper .emails tr>th:first-child{text-align:left}#edd-item-tables-wrapper .downloads tr>td:only-child,.delete-customer{text-align:center}#edd-item-tables-wrapper .emails .add-customer-email-row td{background-color:#f9f9f9;border-top:1px solid #e5e5e5}#edd-item-tables-wrapper .emails .primary-email-icon{font-size:13px;vertical-align:middle;line-height:1.5em}#edd-item-tables-wrapper .emails input{vertical-align:middle;margin:6px 0}#edd-item-tables-wrapper .emails .spinner{float:none}#edd-item-notes-wrapper{min-height:50px}.edd-item-notes-header img,.edd-item-notes-header span{font-weight:600;line-height:30px;vertical-align:middle}.customer-note-input{margin-bottom:5px;width:100%}#edd-customer-notes div:nth-of-type(even){background-color:#fcfcfc}.customer-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:7px 0 7px 7px}.customer-note-wrapper span{display:block}.note-content-wrap{padding-top:7px}#edd-item-card-wrapper .notice-wrap{padding-left:20px;padding-right:20px;margin-left:-20px;margin-right:-20px}@media screen and (max-width:810px) and (min-width:656px){.customer-info .customer-name{font-size:16px}#edd-item-card-wrapper .widefat td,.widefat th{padding:4px 6px;max-width:100px!important;display:table-cell}}@media screen and (max-width:781px){#edd-item-card-wrapper,#edd-item-tab-wrapper{margin:0;width:100%}#edd-item-tab-wrapper-list{background:#fff;margin:0}#edd-item-tab-wrapper-list li{float:left;display:inline;font-size:14px;box-sizing:border-box;border-width:0 1px 1px 0;border-style:solid;border-color:#e5e5e5;width:33.33333%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 0 1px}#edd-item-tab-wrapper-list .dashicons{font-size:18px}.edd-item-has-tabs #edd-item-card-wrapper{border-top:1px solid #e5e5e5;border-left:0;margin-top:-1px;width:100%}}@media screen and (max-width:656px){#edd-item-card-wrapper .customer-id,.customer-info .customer-name{font-size:16px}#edd-item-card-wrapper .customer-info{min-height:220px}.edd-item-info.customer-info{position:relative}#edd-item-card-wrapper .customer-address-wrapper{float:none;position:absolute;top:84px;left:110px;max-width:200px}#edd-item-card-wrapper .customer-main-wrapper{float:none;position:absolute;left:110px}#edd-item-card-wrapper #edd-item-stats-wrapper{padding-left:0;padding-right:0}#edd-item-card-wrapper .customer-section{margin-bottom:0}#edd-item-card-wrapper .widefat td,#edd-item-card-wrapper .widefat th{padding:4px 6px;max-width:100px!important;display:table-cell;overflow:hidden}}@media screen and (max-width:480px){#edd-item-tab-wrapper-list li{width:50%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 1px 1px 0}#edd-item-tab-wrapper-list li:nth-child(even){border-width:0 0 1px}.edd-repeatable-row-actions,.edd-repeatable-row-title{text-align:left;width:100%}.edd-repeatable-row-title{padding-bottom:0}.edd-bundled-product-item-reorder,.edd-bundled-product-row .edd-bundled-product-item,.edd-bundled-product-row .edd-bundled-product-price-assignment,.edd-file-assignment,.edd-file-name,.edd-file-url,.edd-option-name,.edd-option-price,.edd_repeatable_default{float:none;text-align:left;width:100%!important;margin:10px 0}.edd-bundled-product-row .edd-bundled-product-actions{float:none}.edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder{padding:0}}.recount-stats-controls form{display:inline}.edd-recount-stats-descriptions span{display:none;line-height:24px}
1
+ #edd-payment-date-filters input,.edd-mobile-link{vertical-align:middle}.edd-hidden{display:none}.edd-clearfix:after{content:".";display:block;height:0;text-indent:-9999px;visibility:hidden}.edd-wrap a{text-decoration:none}a.edd-delete{color:#a00}a.edd-delete:hover{color:red}.download_page_edd-settings .form-table label{color:#666;font-size:14px;font-style:italic;margin:4px 0 0}.download_page_edd-settings .form-table input.small-text~label,.download_page_edd-settings .form-table input[type=checkbox]+label{display:inline}.download_page_edd-settings .form-table tr>th>h3,.download_page_edd-settings .form-table tr>th>strong{font-size:1.2em;font-weight:600;margin:0 auto}.edd-help-tip{cursor:help}.edd-ui-tooltip{background:#333!important;border-width:1px!important;border-radius:3px!important;box-shadow:1px 1px 2px 1px rgba(214,214,214,.5)!important;color:#dedede!important;max-width:300px!important;padding:7px!important;text-rendering:optimizeLegibility;text-shadow:none!important;z-index:9999!important}#edd-add-ons h2.nav-tab-wrapper{position:relative}#edd-add-ons h2 .button-primary,.edd-tab-span{position:absolute}.edd-tab-span{top:-6px;right:0}.edd-add-ons-footer{padding-top:10px}#edd-add-ons h2{margin:0 0 15px}#edd-add-ons .edd-extension{background:#fff;border:1px solid #ccc;float:left;padding:14px;position:relative;margin:0 15px 15px 0;width:320px;height:315px}#edd-add-ons .edd-extension h3{font-size:13px;margin:0 0 8px}#edd-add-ons .edd-extension .button-secondary{position:absolute;bottom:14px;left:14px}#edd-add-ons .edd-browse-all{clear:both;width:100%}#edd-add-ons .edd-extension .third-party{display:none}#edd-add-ons .edd-starter-package{background-color:#85c0e5;border-color:#62a9d7;color:#fff}#edd-add-ons .edd-starter-package h3{color:#fff}#edd-payment-filters p,.edd-repeatable-row-actions .toggle-custom-price-option-section{color:#777}#edd-add-ons .edd-extension .wp-post-image{width:100%;height:auto}#edd-products{height:100px;min-width:200px}#edd-add-discount input[type=checkbox],#edd-edit-discount input[type=checkbox]{width:15px}#edd-payment-filters{background:#f5f5f5;clear:both;background-image:-webkit-gradient(linear,left bottom,left top,from(#f5f5f5),to(#fafafa));background-image:-webkit-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:-moz-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:-o-linear-gradient(bottom,#f5f5f5,#fafafa);background-image:linear-gradient(to top,#f5f5f5,#fafafa);border-color:#dfdfdf;border-width:1px;border-style:solid;border-radius:3px;font-size:13px;line-height:2.1em;overflow:auto;padding:12px;margin:8px 0}#edd-payments-filter ul.subsubsub{margin-bottom:8px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}.wp-list-table.downloads th#ID{width:80px}.wp-list-table.downloads th#details{width:130px}.wp-list-table.downloads th#date{width:140px}.wp-list-table.downloads th#user{width:130px}.edd-mobile-link{line-height:32px}.edd-mobile-link img{max-width:80%;height:auto;float:left}@media handheld,only screen and (max-width:640px){.wp-list-table.downloads th{width:auto!important}}.download_page_edd-payment-history .ui-dialog .ui-dialog-titlebar-close span{margin-left:-8px;margin-top:-8px}#edd-download-link-textarea{width:100%}.edd_files_name_label{width:225px;float:left}.edd_files_url_label{width:220px;float:left}#postbox-container-1 .edd_files_name_label,#postbox-container-1 .edd_files_url_label{width:80px}.edd-add-repeatable-row{margin:10px 0}.edd-add-repeatable-row .submit{padding:0!important}.edd_repeatable_upload_wrapper:not(:first-child),.edd_variable_prices_wrapper:not(:first-child){margin-top:12px}.edd-repeatable-row-actions{color:#777;font-size:12px}.edd-repeatable-row-actions a{text-decoration:none;width:auto;cursor:pointer;vertical-align:middle}.edd-repeatable-row-actions .toggle-custom-price-option-section:hover{color:#444}.edd-bundle-products-header,.edd-repeatable-row-header{clear:both;background:#f1f1f1;border:1px solid #e5e5e5}.edd-repeatable-row-header{cursor:move}.edd-bundled-product-row:after,.edd-bundled-product-row:before,.edd-repeatable-row-header:after,.edd-repeatable-row-header:before{content:'';display:table}.edd-bundled-product-row:after,.edd-repeatable-row-header:after{clear:both}.edd-repeatable-row-title{float:left;font-weight:600}.edd-admin-box .right,.edd-bundled-product-row .edd-bundled-product-actions{float:right}.edd-bundled-product-item-reorder .edd-product-file-reorder{color:#e5e5e5;font-family:dashicons;content:"\f545";font-size:18px;font-weight:300;margin-left:4px;vertical-align:top;transition:.2s color}.edd-bundled-product-item-reorder .edd-product-file-reorder:hover{color:#bbb}.edd-repeatable-row-actions,.edd-repeatable-row-title{padding:8px;box-sizing:border-box}.edd-repeatable-row-actions{float:right;text-align:right;padding:8px}.edd-bundled-product-row .edd-remove-row,.edd-repeatable-row-actions .edd-remove-row{font-size:12px;width:auto;cursor:pointer}.edd-bundled-product-row,.edd-repeatable-row-standard-fields{background:#f9f9f9;padding:8px;border-width:0 1px 1px;border-style:solid;border-color:#e5e5e5}.edd-repeatable-row-setting-label{display:block;margin-bottom:4px}.edd-repeatable-row-setting-label .edd-help-tip{display:inline-block;margin-left:4px}.edd-bundled-product-row .edd-bundled-product-actions,.edd-bundled-product-row .edd-bundled-product-item,.edd-bundled-product-row .edd-bundled-product-item-reorder,.edd-bundled-product-row .edd-bundled-product-price-assignment,.edd-file-assignment,.edd-file-name,.edd-file-url,.edd-option-name,.edd-option-price,.edd_repeatable_default{display:inline-block;vertical-align:top}.edd-option-name{width:38%;margin-right:5%}.edd-option-price{min-width:100px}.edd_repeatable_default{text-align:center;min-width:80px}.edd-file-name{width:18%;margin-right:3%}.edd-file-url{width:65%}.edd-repeatable-row-standard-fields.has-variable-pricing .edd-file-url{width:38%;margin-right:5%}.edd-file-assignment{width:27%}.edd-file-assignment .edd-repeatable-row-setting-label{margin-bottom:0}.edd-custom-price-option-sections-wrap{display:none;border-width:0 1px 1px;border-style:solid;border-color:#e5e5e5;box-sizing:border-box;width:100%}.edd-custom-price-option-section{display:block;padding:10px 8px;border-bottom:1px solid rgba(222,222,222,.3)}.edd-custom-price-option-section:last-child{border-bottom:none}label.edd_prices_shipping{display:none!important}.edd-custom-price-option-section-title{display:block;font-size:14px;font-weight:600;padding:0 0 10px}.edd-custom-price-option-section>:not(.edd-custom-price-option-section-title){display:inline-block;padding-right:20px;vertical-align:top;margin-bottom:4px}.edd-custom-price-option-section>:not(.edd-custom-price-option-section-title) label{display:block;margin-bottom:2px}.edd-bundle-products-header{font-weight:600;padding:8px}.edd-bundled-product-row .edd-bundled-product-item-reorder{min-width:30px;margin-right:8px}.edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder{font-size:20px;font-weight:300;padding:16px 4px 0;cursor:move}.edd-admin-box .label,.edd-admin-box-inside .strong{font-weight:600}.edd-bundled-product-row .edd-bundled-product-item{width:60%;margin-right:3%}.edd-bundled-product-row.has-variable-pricing .edd-bundled-product-item{width:47%}.edd-bundled-product-row .edd-bundled-product-price-assignment{width:23%;margin-right:3%}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative}.edd_upload_file{background:#fff;display:block;padding:2px 8px;position:absolute;top:3px;right:7px}.edd_upload_field{padding-right:8em}textarea#edd-payment-note{width:100%;height:4em;margin:0}#edd-purchased-files .row .edd-purchased-files-list-wrapper .download{line-height:1.4}#edd-purchased-files .edd-purchased-files-list-wrapper .edd-purchased-option{color:#666}input[class*=edd-price-field]{padding:3px 5px;width:75px}#edd-order-download-quantity[type=number].small-text,#edd-order-download-tax[type=text].small-text,[class*=item_] [class*=edd-payment-details-download-][type=number].small-text{height:25px}#edd-order-download-quantity[type=number].small-text,.item_price .edd-payment-details-download-quantity[type=number].small-text{width:55px}#edd-order-download-tax[type=text].small-text,.item_tax .edd-payment-details-download-item-tax[type=number].small-text{width:75px}.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%}#edd_product_notes_field{margin:0;width:98%;height:4em}.edd_remove_repeatable{border:none;cursor:pointer;display:inline-block;padding:0;overflow:hidden;margin:8px 0 0;text-indent:-9999px;width:10px;height:10px}.edd_remove_repeatable:active,.edd_remove_repeatable:focus,.edd_remove_repeatable:hover{background-position:-10px 0!important}#edd-edit-order-form .column{width:32%}.edd-edit-purchase-element[class*=columns-] ul li{padding-right:1%}#edd-edit-order-form .column:nth-child(2n+1),#edd-edit-order-form .columns-4 .column:nth-child(2n+1),#edd-edit-order-form .columns-5 .column:nth-child(3n+1){margin-right:0}.edd-edit-purchase-element ul li.download{width:35%}.edd-edit-purchase-element ul li.item_price{width:15%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:25%}.edd-edit-purchase-element ul li.item_tax{width:15%}.edd-edit-purchase-element ul li.price{width:20%}.edd-admin-box-inside{border-bottom:1px solid #eee;clear:both;padding:3px 12px;margin:0;word-break:break-word}.rtl .edd-admin-box-inside{padding:5px 10px 5px 0}.edd-payment-fees .fee-label{color:#666;font-weight:400}.rtl .edd-admin-box .right{float:left;margin-left:10px}#edd-customer-details .actions,#edd-order-recalc-total{float:right}#edd-order-details .inside,#edd-order-update .inside{margin:0;padding:0}#edd-order-update input.edd_datepicker{width:180px}#edd-order-update input[type=number].edd-payment-time-hour,#edd-order-update input[type=number].edd-payment-time-min{width:50px}#edd-order-update .edd-tax-rate{color:#9c9c9c;font-style:italic}#edd-order-resend-receipt .inside{margin-top:11px}#edd-order-resend-receipt .edd-order-resend-receipt-addresses{margin-top:10px}.edd-admin-box-inside:last-child{border-bottom:0}#edd-edit-order-form .data-payment-key{word-break:break-all}.edd-order-update-box #major-publishing-actions .button-secondary{margin-right:10px}.edd-edit-purchase-element .edd-select-chosen{width:196px}#edd-customer-details .order-data-address input,#edd-customer-details .order-data-column p.data input,#edd-edit-order-form .column input,#edd-order-address-country-wrap select,.edd-edit-purchase-element ul{clear:both;display:block}#edd-customer-details .customer-info .column{width:49%}.edd-order-data input.small-text{margin:0}.edd-order-data input.med-text{margin:0;width:100px}#edd-order-update span.label{display:inline;width:50px}.edd-order-update-box .button-primary{margin-right:0}#edd-edit-order-form .column .description{padding-right:10px}#edd-edit-order-form .column,.edd-edit-purchase-element ul li{display:inline-block;line-height:1.4;position:relative;margin:0;vertical-align:middle}.edd-edit-purchase-element .row{padding:12px}.edd-edit-purchase-element .row:not(:last-child){border-bottom:1px solid #eee}.edd-edit-purchase-element .row:nth-child(odd):not(.header){background-color:#f9f9f9}.edd-edit-purchase-element .row.header{padding:6px 12px;font-weight:600;vertical-align:top}.edd-edit-purchase-element ul{font-size:0}.edd-edit-purchase-element ul li{font-size:13px}#edd-order-data .data span{color:#666;font-weight:600}.edd-edit-purchase-element .inside{padding:12px}.edd-edit-purchase-element .edd-purchased-download-title{font-size:14px;font-weight:500}.edd-edit-purchase-element .edd-purchased-download-actions{color:#777;line-height:1.4}.edd-edit-purchase-element .edd-purchased-download-actions .edd-purchased-download-actions-label{font-weight:500}.edd-edit-purchase-element .edd-purchased-download-actions a{color:#777;font-size:12px}.edd-edit-purchase-element .edd-purchased-download-actions a:hover{color:#444}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download{color:#a00}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download:hover{color:red}#edd_products .edd-select,.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%;max-width:200px}.edd_repeatable_product_wrapper td{overflow:visible}.edd-payment-details-label-mobile{display:none}@media screen and (max-width:1284px){.edd-edit-purchase-element ul li.download{padding-bottom:15px;width:100%}.edd-edit-purchase-element .edd-purchased-download-title{font-size:16px}.edd-edit-purchase-element ul li.item_price{width:22%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax{width:25%}.edd-edit-purchase-element ul li.price{width:20%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:10px}.edd-add-download-to-purchase-header,.edd-purchased-files-header{display:none}.edd-payment-details-label-mobile{display:block;font-weight:500;padding-bottom:6px}}@media screen and (max-width:1024px){.edd-edit-purchase-element ul li.item_price.item_quantity{width:40%}.edd-edit-purchase-element ul li.price{width:24%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:15px}.edd-edit-purchase-element .edd-purchased-download-actions,.edd-edit-purchase-element .edd-purchased-download-actions a{font-size:14px}}@media screen and (max-width:782px){#edd-edit-order-form .column{width:49%}.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity{padding-bottom:10px}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax,.edd-edit-purchase-element ul li.price{width:20%;padding-bottom:10px}.edd-payment-details-label-mobile{font-size:14px;font-weight:500}.edd-payment-details-download-amount,.edd-price-currency{font-size:16px}.order-data-column input[type=email]{padding:6px 10px}}@media screen and (max-width:600px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity,.edd-edit-purchase-element ul li.item_tax{width:100%;padding-bottom:20px}.edd-edit-purchase-element .edd-add-download-to-purchase ul li.item_tax,.edd-edit-purchase-element ul li.price{width:100%;padding-bottom:0}.edd-edit-purchase-element .edd-add-download-to-purchase-actions{padding-top:15px}#edd-edit-order-form .column{width:100%}}#edd_product_stats .label{display:inline-block}#edd_product_stats hr{border-style:solid;border-width:1px;border-color:#ccc #fff #fff #ccc}#edd_product_stats .product-earnings-stats:before,#edd_product_stats .product-sales-stats:before{color:#82878c;font:400 20px/1 dashicons;display:inline-block;padding:0 2px 0 0;position:relative;top:0;left:-1px;speak:none;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#edd-item-card-wrapper a.delete,#edd-item-stats-wrapper a,.customer-edit-link a,.disconnect-user a,.wrap-licenses .edd-license-data.edd-license-expired a:hover,.wrap-licenses .edd-license-data.license-expires-soon-notice a:hover,.wrap-licenses .edd-license-data[class*=edd-license-] a:hover{text-decoration:none}#edd_product_stats .product-sales-stats:before{content:'\f174'}#edd_product_stats .product-earnings-stats:before{content:'\f239'}.edd_dashboard_widget table thead td{border-bottom:1px solid #ececec;color:#777}.edd_dashboard_widget .table_left{float:left;width:45%}.edd_dashboard_widget .table_right{float:right;width:45%}.edd_dashboard_widget .inside{font-size:12px}.edd_dashboard_widget td{padding:3px 0}.edd_dashboard_widget .b,.edd_dashboard_widget .t{line-height:1.5;vertical-align:middle}.edd_dashboard_widget .b{font-size:14px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;padding-right:6px;width:auto}.edd_dashboard_widget .t{font-size:12px;padding-right:12px;color:#777;width:100%}.edd_dashboard_widget .label_heading{border-top:1px solid #ececec;color:#8f8f8f;font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;display:block;padding-top:10px;margin:0 0 8px 12px}.edd_dashboard_widget .edd_dashboard_widget_subheading{border-top:1px solid #ececec;color:#8f8f8f;font-size:14px;padding-top:10px;margin:1em 0 0}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 0}.edd_dashboard_widget .edd_price_label{background:#00769c;border-radius:3px;color:#fff;font-size:10px;padding:2px 4px;margin-right:2px}.edd_dashboard_widget table{width:100%;margin-left:0;margin-bottom:1em}td.edd_order_label{width:80%}td.edd_order_price{text-align:right}@media handheld,only screen and (max-width:1000px){.edd_dashboard_widget .edd-recent-email{display:none}}#edd-dashboard-widgets-wrap .postbox h3{cursor:default}#edd-date-range-options,#edd-graphs-date-options{float:left}#edd-date-range-options span{float:left;line-height:24px;height:24px;margin-right:6px}.edd-import-export-form{position:relative}.edd-import-export-form .edd-progress{background:#ddd;position:absolute;bottom:15px;width:95%;height:15px}.edd-import-export-form .edd-progress div{background:#ccc;height:100%;width:0}.edd-import-export-form .notice-wrap{background-color:#f4f4f4;border-style:solid;border-width:1px 0;border-color:#eae9e9;padding:12px 12px 4px;overflow:auto;margin:20px -12px -23px}.edd-import-export-form .notice-wrap .spinner{margin:4px 10px 8px;float:right}.admin-color-fresh .edd-import-export-form .edd-progress div{background:#0073aa}.admin-color-light .edd-import-export-form .edd-progress div{background:#888}.admin-color-blue .edd-import-export-form .edd-progress div{background:#096484}.admin-color-coffee .edd-import-export-form .edd-progress div{background:#c7a589}.admin-color-ectoplasm .edd-import-export-form .edd-progress div{background:#a3b745}.admin-color-midnight .edd-import-export-form .edd-progress div{background:#e14d43}.admin-color-sunrise .edd-import-export-form .edd-progress div{background:#dd823b}#edd-graphs-filter label{vertical-align:inherit}#edd-graphs-filter .graph-option-section{float:left;line-height:2.5em;padding-right:5px}.edd-mix-totals{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px}.edd-mix-chart{display:inline-block;width:49%;vertical-align:top}.edd-graph-notes{color:#9c9c9c}.edd-graph-notes span{display:block}.edd-pie-graph .legend{display:none}.edd-pie-legend{overflow:auto;margin-top:10px}.edd-legend-item-wrapper{color:#333;display:inline-block;font-size:8pt;padding:2px 5px 0;width:48%;height:20px}.edd-legend-color{border:1px solid #cfcfcf;display:inline-block;margin-right:5px;width:20px;height:15px}.edd-pie-legend-item{display:inline-block;vertical-align:top;width:80%}#edd_tax_rates{margin:1em 0 0}#edd_tax_rates .edd_tax_country *,#edd_tax_rates .edd_tax_state *{max-width:100%}#edd_tax_rates .edd_tax_country,#edd_tax_rates .edd_tax_state{width:180px}#edd_tax_rates .edd_tax_rate{width:80px}#edd_tax_rates th{padding:15px 10px}.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tbody,.wrap-licenses td,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:block}.wrap-licenses .form-table tr{float:left;margin:0 15px 15px 0;background:#fff;border:1px solid #ccc;width:30.5%;max-width:350px;padding:14px;min-height:220px;position:relative;box-sizing:border-box}.wrap-licenses .form-table th{background:#f9f9f9;padding:14px;border-bottom:1px solid #ccc;margin:-14px -14px 20px;width:100%}.wrap-licenses .form-table td{padding:0}.wrap-licenses td input.regular-text{margin:0 0 8px;width:100%}.wrap-licenses .edd-license-data[class*=edd-license-]{position:absolute;background:#fafafa;padding:14px;border-top:1px solid #eee;margin:20px -14px -14px;min-height:67px;width:100%;bottom:14px;box-sizing:border-box}.wrap-licenses .edd-license-data[class*=edd-license-] a{color:#444}.wrap-licenses .edd-license-data.license-expires-soon-notice{background-color:#00a0d2;color:#fff;border-color:#00a0d2}.wrap-licenses .edd-license-data.edd-license-expired{background-color:#e24e4e;color:#fff;border-color:#e24e4e}.wrap-licenses .edd-license-data.edd-license-error,.wrap-licenses .edd-license-data.edd-license-invalid,.wrap-licenses .edd-license-data.edd-license-item_name_mismatch,.wrap-licenses .edd-license-data.edd-license-missing,.wrap-licenses .edd-license-data.edd-license-site_inactive{background-color:#ffebcd;border-color:#ffebcd}.wrap-licenses .edd-license-data p{font-size:13px;margin-top:0}.wrap-licenses .edd-license-data.edd-license-expired a,.wrap-licenses .edd-license-data.license-expires-soon-notice a{color:#fff}.wrap-licenses p.submit{clear:both}#system-info-textarea{background:0 0;font-family:Menlo,Monaco,monospace;display:block;overflow:auto;white-space:pre;width:800px;height:400px}#TB_window #edd-add-download:active,#TB_window #edd-add-download:focus,#TB_window #edd-add-download:hover{color:#fff}.edd-graph .y1Axis{color:#edc240!important}.edd-graph .y2Axis{color:#afd8f8!important}.download_page_edd-tools .apikeys .column-user{width:192px}.edd-select-chosen{width:100%;max-width:300px}.chosen-container-multi .chosen-choices{background-image:none;border-color:#dfdfdf;-webkit-border-radius:3px;border-radius:3px}.chosen-container-multi .chosen-choices input{border-color:#dfdfdf;height:27px!important;margin:2px}.chosen-container .chosen-drop{border-color:#aaa;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.1);box-shadow:1px 1px 2px rgba(0,0,0,.1)}.chosen-container .search-field{float:none!important}.chosen-container .search-field input{width:90%!important}.chosen-container-active .chosen-choices{border-color:#aaa;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.1);box-shadow:1px 1px 2px rgba(0,0,0,.1);border-radius:3px 3px 0 0}.download_page_edd-tools .tablenav .actions{overflow:visible}.edd_user_search_wrap{position:relative;overflow:visible}.edd_user_search_results{position:absolute;left:0;top:27px}.edd_user_search_results a.edd-ajax-user-cancel{position:absolute;right:6px;top:2px}.edd_user_search_results ul{background:#f0f0f0;border:1px solid #dfdfdf;overflow-y:scroll;padding:10px 10px 4px;margin:0;max-height:200px;width:300px}.wp-list-table .type-download .row-actions{color:#999}@media screen and (max-width:1100px){.edd-mix-chart{display:block;width:100%}.wrap-licenses .form-table tr{width:46%;max-width:none;min-height:230px}}@media screen and (max-width:782px){.post-type-download .nav-tab-wrapper a{font-size:70%;padding:2px 4px}.download_page_edd-tools .apikeys .column-user{width:80px}.license-expiration-date-notice,.license-lifetime-notice,.license-null{padding-left:0}[class^=license-] input[type=text]{margin-bottom:3px}}#edd-item-tab-wrapper-list li a,#edd-item-tab-wrapper-list li.active{display:block;padding:8px 10px 8px 6px}@media screen and (max-width:600px){.wrap-licenses .form-table tr{width:100%;min-height:230px}}#edd-item-wrapper{background:#f5f5f5;border:1px solid #e5e5e5;webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);max-width:830px}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}#edd-item-tab-wrapper{float:left;width:18%;z-index:1}#edd-item-tab-wrapper-list{background:#fff;margin:0}#edd-item-tab-wrapper-list li{display:block;background-color:#eaeaea;color:#444;font-size:12px;border-bottom:1px solid #e5e5e5;margin-bottom:0;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}#edd-item-tab-wrapper-list li.active{background-color:#fff}#edd-item-tab-wrapper-list .inactive a,#edd-item-tab-wrapper-list .inactive a:visited{background-color:#f5f5f5;color:#444;text-decoration:none}#edd-item-tab-wrapper-list .inactive a:hover{background-color:#fff}#edd-item-tab-wrapper-list .dashicons{color:#444;font-size:16px;min-width:24px;height:auto}#edd-item-card-wrapper .left{float:left}#edd-item-card-wrapper .right{float:right}#edd-item-card-wrapper input{font-weight:400}#edd-item-card-wrapper .customer-id,.customer-info .customer-name{font-size:24px;font-weight:600}#edd-item-card-wrapper{background-color:#fff;border:1px solid #e5e5e5;display:inline-block;margin-left:-1px;min-height:200px;width:700px;z-index:2}.edd-item-has-tabs #edd-item-card-wrapper{border-width:0 0 0 1px;width:82%}#edd-item-card-wrapper .customer-section{border-bottom:1px solid #eee;margin-bottom:10px;overflow:auto}#edd-item-card-wrapper .customer-section table{margin-bottom:20px}#edd-item-card-wrapper>div{padding:0 20px}#edd-item-card-wrapper>div:first-child{padding-top:20px}#edd-item-card-wrapper>div:last-child{border:none;padding-bottom:20px}#edd-item-card-wrapper .avatar-wrap{padding-right:10px;text-align:center}#edd-item-card-wrapper .customer-main-wrapper input{width:200px}#edd-item-card-wrapper .customer-address-wrapper{margin-right:25px;max-width:33%;width:202px}#edd-item-card-wrapper .customer-address-wrapper select{width:200px}#edd-item-card-wrapper .customer-info{margin-top:5px;margin-bottom:10px;min-height:185px}#edd-item-card-wrapper .info-wrapper{min-height:125px;overflow:visible}#edd-item-card-wrapper a.delete{color:red;margin-right:5px}.customer-edit-link a,.disconnect-user a{font-size:12px;font-weight:400}#customer-edit-actions{line-height:28px;margin-bottom:20px;text-align:center}#customer-edit-actions .button-secondary{margin-right:10px}#edd-item-card-wrapper .row-title{width:30%}#edd-item-card-wrapper .info-item{display:block;line-height:16px;padding-bottom:5px}#edd-item-card-wrapper .edit-item{display:none}#edd-item-card-wrapper .edd_user_search_results{left:1px;top:16px}#edd-item-card-wrapper .edd_user_search_results ul{width:200px}#edd-item-stats-wrapper{margin:0 auto;min-height:30px;text-align:center}#edd-item-stats-wrapper li{font-size:14px;float:left;line-height:22px;width:50%}#edd-item-stats-wrapper .dashicons{color:#888}#edd-item-tables-wrapper table{text-align:center;width:100%}#edd-item-tables-wrapper th{text-align:center}#edd-item-tables-wrapper .downloads tr>td:first-child,#edd-item-tables-wrapper .downloads tr>th:first-child,#edd-item-tables-wrapper .emails tr>td:first-child,#edd-item-tables-wrapper .emails tr>th:first-child{text-align:left}#edd-item-tables-wrapper .downloads tr>td:only-child,.delete-customer{text-align:center}#edd-item-tables-wrapper .emails .add-customer-email-row td{background-color:#f9f9f9;border-top:1px solid #e5e5e5}#edd-item-tables-wrapper .emails .primary-email-icon{font-size:13px;vertical-align:middle;line-height:1.5em}#edd-item-tables-wrapper .emails input{vertical-align:middle;margin:6px 0}#edd-item-tables-wrapper .emails .spinner{float:none}#edd-item-notes-wrapper{min-height:50px}.edd-item-notes-header img,.edd-item-notes-header span{font-weight:600;line-height:30px;vertical-align:middle}.customer-note-input{margin-bottom:5px;width:100%}#edd-customer-notes div:nth-of-type(even){background-color:#fcfcfc}.customer-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:7px 0 7px 7px}.customer-note-wrapper span{display:block}.note-content-wrap{padding-top:7px}#edd-item-card-wrapper .notice-wrap{padding-left:20px;padding-right:20px;margin-left:-20px;margin-right:-20px}@media screen and (max-width:810px) and (min-width:656px){.customer-info .customer-name{font-size:16px}#edd-item-card-wrapper .widefat td,.widefat th{padding:4px 6px;max-width:100px!important;display:table-cell}}@media screen and (max-width:781px){#edd-item-card-wrapper,#edd-item-tab-wrapper{margin:0;width:100%}#edd-item-tab-wrapper-list{background:#fff;margin:0}#edd-item-tab-wrapper-list li{float:left;display:inline;font-size:14px;box-sizing:border-box;border-width:0 1px 1px 0;border-style:solid;border-color:#e5e5e5;width:33.33333%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 0 1px}#edd-item-tab-wrapper-list .dashicons{font-size:18px}.edd-item-has-tabs #edd-item-card-wrapper{border-top:1px solid #e5e5e5;border-left:0;margin-top:-1px;width:100%}}@media screen and (max-width:656px){#edd-item-card-wrapper .customer-id,.customer-info .customer-name{font-size:16px}#edd-item-card-wrapper .customer-info{min-height:220px}.edd-item-info.customer-info{position:relative}#edd-item-card-wrapper .customer-address-wrapper{float:none;position:absolute;top:84px;left:110px;max-width:200px}#edd-item-card-wrapper .customer-main-wrapper{float:none;position:absolute;left:110px}#edd-item-card-wrapper #edd-item-stats-wrapper{padding-left:0;padding-right:0}#edd-item-card-wrapper .customer-section{margin-bottom:0}#edd-item-card-wrapper .widefat td,#edd-item-card-wrapper .widefat th{padding:4px 6px;max-width:100px!important;display:table-cell;overflow:hidden}}@media screen and (max-width:480px){#edd-item-tab-wrapper-list li{width:50%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 1px 1px 0}#edd-item-tab-wrapper-list li:nth-child(even){border-width:0 0 1px}.edd-repeatable-row-actions,.edd-repeatable-row-title{text-align:left;width:100%}.edd-repeatable-row-title{padding-bottom:0}.edd-bundled-product-item-reorder,.edd-bundled-product-row .edd-bundled-product-item,.edd-bundled-product-row .edd-bundled-product-price-assignment,.edd-file-assignment,.edd-file-name,.edd-file-url,.edd-option-name,.edd-option-price,.edd_repeatable_default{float:none;text-align:left;width:100%!important;margin:10px 0}.edd-bundled-product-row .edd-bundled-product-actions{float:none}.edd-bundled-product-row .edd-bundled-product-item-reorder .edd-product-file-reorder{padding:0}}.recount-stats-controls form{display:inline}.edd-recount-stats-descriptions span{display:none;line-height:24px}
assets/js/edd-ajax.js CHANGED
@@ -351,14 +351,33 @@ jQuery(document).ready(function ($) {
351
  });
352
 
353
  // Auto load first payment gateway
354
- if( edd_scripts.is_checkout == '1' && $('select#edd-gateway, input.edd-gateway').length ) {
355
- var chosen_gateway = $("meta[name='edd-chosen-gateway']").attr('content');
 
 
 
 
 
 
 
 
356
  if( ! chosen_gateway ) {
357
  chosen_gateway = edd_scripts.default_gateway;
358
  }
359
- setTimeout( function() {
360
- edd_load_gateway( chosen_gateway );
361
- }, 200);
 
 
 
 
 
 
 
 
 
 
 
362
  }
363
 
364
  $(document).on('click', '#edd_purchase_form #edd_purchase_submit input[type=submit]', function(e) {
351
  });
352
 
353
  // Auto load first payment gateway
354
+ if( edd_scripts.is_checkout == '1' ) {
355
+
356
+ var chosen_gateway = false;
357
+ var ajax_needed = false;
358
+
359
+ if ( $('select#edd-gateway, input.edd-gateway').length ) {
360
+ chosen_gateway = $("meta[name='edd-chosen-gateway']").attr('content');
361
+ ajax_needed = true;
362
+ }
363
+
364
  if( ! chosen_gateway ) {
365
  chosen_gateway = edd_scripts.default_gateway;
366
  }
367
+
368
+ if ( ajax_needed ) {
369
+
370
+ // If we need to ajax in a gateway form, send the requests for the POST.
371
+ setTimeout( function() {
372
+ edd_load_gateway( chosen_gateway );
373
+ }, 200);
374
+
375
+ } else {
376
+
377
+ // The form is already on page, just trigger that the gateway is loaded so further action can be taken.
378
+ $('body').trigger('edd_gateway_loaded', [ chosen_gateway ]);
379
+
380
+ }
381
  }
382
 
383
  $(document).on('click', '#edd_purchase_form #edd_purchase_submit input[type=submit]', function(e) {
assets/js/edd-ajax.min.js CHANGED
@@ -1 +1 @@
1
- function edd_load_gateway(e){jQuery(".edd-cart-ajax").show(),jQuery("#edd_purchase_form_wrap").html('<span class="edd-loading-ajax edd-loading"></span>');var d=edd_scripts.ajaxurl;d+=d.indexOf("?")>0?"&":"?",d=d+"payment-mode="+e,jQuery.post(d,{action:"edd_load_gateway",edd_payment_mode:e},function(d){jQuery("#edd_purchase_form_wrap").html(d),jQuery(".edd-no-js").hide(),jQuery("body").trigger("edd_gateway_loaded",[e])})}var edd_scripts;jQuery(document).ready(function(e){function d(){var d,t=e(this),a="undefined"!=typeof edd_global_vars,r="card_state";if("edd_address_country"==e(this).attr("id")&&(r="edd_address_state"),"card_state"!=t.attr("id")){var i={action:"edd_get_shop_states",country:t.val(),field_name:r};e.ajax({type:"POST",data:i,url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(r){d=a?e("#edd_purchase_form"):t.closest("form");var i='input[name="card_state"], select[name="card_state"], input[name="edd_address_state"], select[name="edd_address_state"]';if("nostates"==e.trim(r)){var o='<input type="text" name="card_state" class="card-state edd-input required" value=""/>';d.find(i).replaceWith(o)}else d.find(i).replaceWith(r);a&&e(document.body).trigger("edd_cart_billing_address_updated",[r])}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(e){a&&recalculate_taxes()})}else a&&recalculate_taxes();return!1}if(e(".edd-no-js").hide(),e("a.edd-add-to-cart").addClass("edd-has-js"),e(document.body).on("click.eddRemoveFromCart",".edd-remove-from-cart",function(d){var t=e(this),a=t.data("cart-item"),r=t.data("action"),i=t.data("download-id"),o={action:r,cart_item:a};return e.ajax({type:"POST",data:o,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){if(d.removed){if(parseInt(edd_scripts.position_in_cart,10)===parseInt(a,10)||edd_scripts.has_purchase_links)return window.location=window.location,!1;e(".edd-cart").each(function(){e(this).find("[data-cart-item='"+a+"']").parent().remove()}),e(".edd-cart").each(function(){var d=0;e(this).find("[data-cart-item]").each(function(){e(this).attr("data-cart-item",d),d+=1})}),e("[id^=edd_purchase_"+i+"]").length&&(e("[id^=edd_purchase_"+i+"] .edd_go_to_checkout").hide(),e("[id^=edd_purchase_"+i+"] a.edd-add-to-cart").show().removeAttr("data-edd-loading"),"1"==edd_scripts.quantities_enabled&&e("[id^=edd_purchase_"+i+"] .edd_download_quantity_wrapper").show()),e("span.edd-cart-quantity").text(d.cart_quantity),e(document.body).trigger("edd_quantity_updated",[d.cart_quantity]),edd_scripts.taxes_enabled&&(e(".cart_item.edd_subtotal span").html(d.subtotal),e(".cart_item.edd_cart_tax span").html(d.tax)),e(".cart_item.edd_total span").html(d.total),0==d.cart_quantity&&(e(".cart_item.edd_subtotal,.edd-cart-number-of-items,.cart_item.edd_checkout,.cart_item.edd_cart_tax,.cart_item.edd_total").hide(),e(".edd-cart").each(function(){var d=e(this).parent();d&&(d.addClass("cart-empty"),d.removeClass("cart-not-empty")),e(this).append('<li class="cart_item empty">'+edd_scripts.empty_cart_message+"</li>")})),e(document.body).trigger("edd_cart_item_removed",[d])}}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(e){}),!1}),e(document.body).on("click.eddAddToCart",".edd-add-to-cart",function(d){d.preventDefault();var t=e(this),a=t.closest("form");t.prop("disabled",!0);var r=(t.find(".edd-loading"),t.closest("div"));t.attr("data-edd-loading","");var a=t.parents("form").last(),i=t.data("download-id"),o=t.data("variable-price"),c=t.data("price-mode"),n=[],s=!0;if("yes"==o)if(a.find(".edd_price_option_"+i+'[type="hidden"]').length>0)n[0]=e(".edd_price_option_"+i,a).val(),a.find(".edd-submit").data("price")&&a.find(".edd-submit").data("price")>0&&(s=!1);else{if(!a.find(".edd_price_option_"+i+":checked",a).length)return t.removeAttr("data-edd-loading"),alert(edd_scripts.select_option),d.stopPropagation(),t.prop("disabled",!1),!1;a.find(".edd_price_option_"+i+":checked",a).each(function(d){if(n[d]=e(this).val(),!0===s){var t=e(this).data("price");t&&t>0&&(s=!1)}})}else n[0]=i,t.data("price")&&t.data("price")>0&&(s=!1);if(s&&a.find(".edd_action_input").val("add_to_cart"),"straight_to_gateway"==a.find(".edd_action_input").val())return a.submit(),!0;var _=t.data("action"),l={action:_,download_id:i,price_ids:n,post_data:e(a).serialize()};return e.ajax({type:"POST",data:l,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){var n="1"==edd_scripts.redirect_to_checkout,s="1"==a.find("#edd_redirect_to_checkout").val();if(n&&s||!n&&s)window.location=edd_scripts.checkout_page;else{"1"===edd_scripts.taxes_enabled&&(e(".cart_item.edd_subtotal").show(),e(".cart_item.edd_cart_tax").show()),e(".cart_item.edd_total").show(),e(".cart_item.edd_checkout").show(),e(".cart_item.empty").length&&e(".cart_item.empty").hide(),e(".widget_edd_cart_widget .edd-cart").each(function(t){var a=e(this).find(".edd-cart-meta:first");e(d.cart_item).insertBefore(a);var r=e(this).parent();r&&(r.addClass("cart-not-empty"),r.removeClass("cart-empty"))}),"1"===edd_scripts.taxes_enabled&&(e(".edd-cart-meta.edd_subtotal span").html(d.subtotal),e(".edd-cart-meta.edd_cart_tax span").html(d.tax)),e(".edd-cart-meta.edd_total span").html(d.total);e(".edd-cart-item-title",d.cart_item).length;if(e("span.edd-cart-quantity").each(function(){e(this).text(d.cart_quantity),e(document.body).trigger("edd_quantity_updated",[d.cart_quantity])}),"none"==e(".edd-cart-number-of-items").css("display")&&e(".edd-cart-number-of-items").show("slow"),("no"==o||"multi"!=c)&&(e("a.edd-add-to-cart",r).toggle(),e(".edd_go_to_checkout",r).css("display","inline-block")),"multi"==c&&t.removeAttr("data-edd-loading"),e(".edd_download_purchase_form").length&&("no"==o||!a.find(".edd_price_option_"+i).is("input:hidden"))){var _=e('.edd_download_purchase_form *[data-download-id="'+i+'"]').parents("form");e("a.edd-add-to-cart",_).hide(),"multi"!=c&&_.find(".edd_download_quantity_wrapper").slideUp(),e(".edd_go_to_checkout",_).show().removeAttr("data-edd-loading")}"incart"!=d&&(e(".edd-cart-added-alert",r).fadeIn(),setTimeout(function(){e(".edd-cart-added-alert",r).fadeOut()},3e3)),t.prop("disabled",!1),e(document.body).trigger("edd_cart_item_added",[d])}}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(e){}),!1}),e("#edd_checkout_form_wrap").on("click",".edd_checkout_register_login",function(){var d=e(this),t={action:d.data("action")};return e(".edd-cart-ajax").show(),e.post(edd_scripts.ajaxurl,t,function(d){e("#edd_checkout_login_register").html(edd_scripts.loading),e("#edd_checkout_login_register").html(d),e(".edd-cart-ajax").hide()}),!1}),e(document).on("click","#edd_purchase_form #edd_login_fields input[type=submit]",function(d){d.preventDefault();var t=e(this).val();e(this).val(edd_global_vars.purchase_loading),e(this).after('<span class="edd-loading-ajax edd-loading"></span>');var a={action:"edd_process_checkout_login",edd_ajax:1,edd_user_login:e("#edd_login_fields #edd_user_login").val(),edd_user_pass:e("#edd_login_fields #edd_user_pass").val()};e.post(edd_global_vars.ajaxurl,a,function(d){"success"==e.trim(d)?(e(".edd_errors").remove(),window.location=edd_scripts.checkout_page):(e("#edd_login_fields input[type=submit]").val(t),e(".edd-loading-ajax").remove(),e(".edd_errors").remove(),e("#edd-user-login-submit").before(d))})}),e("select#edd-gateway, input.edd-gateway").change(function(d){var t=e("#edd-gateway option:selected, input.edd-gateway:checked").val();return"0"==t?!1:(edd_load_gateway(t),!1)}),"1"==edd_scripts.is_checkout&&e("select#edd-gateway, input.edd-gateway").length){var t=e("meta[name='edd-chosen-gateway']").attr("content");t||(t=edd_scripts.default_gateway),setTimeout(function(){edd_load_gateway(t)},200)}e(document).on("click","#edd_purchase_form #edd_purchase_submit input[type=submit]",function(d){var t=document.getElementById("edd_purchase_form");if("function"!=typeof t.checkValidity||!1!==t.checkValidity()){d.preventDefault();var a=e(this).val();e(this).val(edd_global_vars.purchase_loading),e(this).prop("disabled",!0),e(this).after('<span class="edd-loading-ajax edd-loading"></span>'),e.post(edd_global_vars.ajaxurl,e("#edd_purchase_form").serialize()+"&action=edd_process_checkout&edd_ajax=true",function(d){"success"==e.trim(d)?(e(".edd_errors").remove(),e(".edd-error").hide(),e(t).submit()):(e("#edd-purchase-button").val(a),e(".edd-loading-ajax").remove(),e(".edd_errors").remove(),e(".edd-error").hide(),e(edd_global_vars.checkout_error_anchor).before(d),e("#edd-purchase-button").prop("disabled",!1),e(document.body).trigger("edd_checkout_error",[d]))})}}),e(document.body).on("change","#edd_cc_address input.card_state, #edd_cc_address select, #edd_address_country",d),e(document.body).on("change","#edd_cc_address input[name=card_zip]",function(){"undefined"!=typeof edd_global_vars&&recalculate_taxes()})});
1
+ function edd_load_gateway(e){jQuery(".edd-cart-ajax").show(),jQuery("#edd_purchase_form_wrap").html('<span class="edd-loading-ajax edd-loading"></span>');var d=edd_scripts.ajaxurl;d+=d.indexOf("?")>0?"&":"?",d=d+"payment-mode="+e,jQuery.post(d,{action:"edd_load_gateway",edd_payment_mode:e},function(d){jQuery("#edd_purchase_form_wrap").html(d),jQuery(".edd-no-js").hide(),jQuery("body").trigger("edd_gateway_loaded",[e])})}var edd_scripts;jQuery(document).ready(function(e){function d(){var d,t=e(this),a="undefined"!=typeof edd_global_vars,r="card_state";if("edd_address_country"==e(this).attr("id")&&(r="edd_address_state"),"card_state"!=t.attr("id")){var i={action:"edd_get_shop_states",country:t.val(),field_name:r};e.ajax({type:"POST",data:i,url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(r){d=a?e("#edd_purchase_form"):t.closest("form");var i='input[name="card_state"], select[name="card_state"], input[name="edd_address_state"], select[name="edd_address_state"]';if("nostates"==e.trim(r)){var o='<input type="text" name="card_state" class="card-state edd-input required" value=""/>';d.find(i).replaceWith(o)}else d.find(i).replaceWith(r);a&&e(document.body).trigger("edd_cart_billing_address_updated",[r])}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(e){a&&recalculate_taxes()})}else a&&recalculate_taxes();return!1}if(e(".edd-no-js").hide(),e("a.edd-add-to-cart").addClass("edd-has-js"),e(document.body).on("click.eddRemoveFromCart",".edd-remove-from-cart",function(d){var t=e(this),a=t.data("cart-item"),r=t.data("action"),i=t.data("download-id"),o={action:r,cart_item:a};return e.ajax({type:"POST",data:o,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){if(d.removed){if(parseInt(edd_scripts.position_in_cart,10)===parseInt(a,10)||edd_scripts.has_purchase_links)return window.location=window.location,!1;e(".edd-cart").each(function(){e(this).find("[data-cart-item='"+a+"']").parent().remove()}),e(".edd-cart").each(function(){var d=0;e(this).find("[data-cart-item]").each(function(){e(this).attr("data-cart-item",d),d+=1})}),e("[id^=edd_purchase_"+i+"]").length&&(e("[id^=edd_purchase_"+i+"] .edd_go_to_checkout").hide(),e("[id^=edd_purchase_"+i+"] a.edd-add-to-cart").show().removeAttr("data-edd-loading"),"1"==edd_scripts.quantities_enabled&&e("[id^=edd_purchase_"+i+"] .edd_download_quantity_wrapper").show()),e("span.edd-cart-quantity").text(d.cart_quantity),e(document.body).trigger("edd_quantity_updated",[d.cart_quantity]),edd_scripts.taxes_enabled&&(e(".cart_item.edd_subtotal span").html(d.subtotal),e(".cart_item.edd_cart_tax span").html(d.tax)),e(".cart_item.edd_total span").html(d.total),0==d.cart_quantity&&(e(".cart_item.edd_subtotal,.edd-cart-number-of-items,.cart_item.edd_checkout,.cart_item.edd_cart_tax,.cart_item.edd_total").hide(),e(".edd-cart").each(function(){var d=e(this).parent();d&&(d.addClass("cart-empty"),d.removeClass("cart-not-empty")),e(this).append('<li class="cart_item empty">'+edd_scripts.empty_cart_message+"</li>")})),e(document.body).trigger("edd_cart_item_removed",[d])}}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(e){}),!1}),e(document.body).on("click.eddAddToCart",".edd-add-to-cart",function(d){d.preventDefault();var t=e(this),a=t.closest("form");t.prop("disabled",!0);var r=(t.find(".edd-loading"),t.closest("div"));t.attr("data-edd-loading","");var a=t.parents("form").last(),i=t.data("download-id"),o=t.data("variable-price"),c=t.data("price-mode"),n=[],s=!0;if("yes"==o)if(a.find(".edd_price_option_"+i+'[type="hidden"]').length>0)n[0]=e(".edd_price_option_"+i,a).val(),a.find(".edd-submit").data("price")&&a.find(".edd-submit").data("price")>0&&(s=!1);else{if(!a.find(".edd_price_option_"+i+":checked",a).length)return t.removeAttr("data-edd-loading"),alert(edd_scripts.select_option),d.stopPropagation(),t.prop("disabled",!1),!1;a.find(".edd_price_option_"+i+":checked",a).each(function(d){if(n[d]=e(this).val(),!0===s){var t=e(this).data("price");t&&t>0&&(s=!1)}})}else n[0]=i,t.data("price")&&t.data("price")>0&&(s=!1);if(s&&a.find(".edd_action_input").val("add_to_cart"),"straight_to_gateway"==a.find(".edd_action_input").val())return a.submit(),!0;var _=t.data("action"),l={action:_,download_id:i,price_ids:n,post_data:e(a).serialize()};return e.ajax({type:"POST",data:l,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){var n="1"==edd_scripts.redirect_to_checkout,s="1"==a.find("#edd_redirect_to_checkout").val();if(n&&s||!n&&s)window.location=edd_scripts.checkout_page;else{"1"===edd_scripts.taxes_enabled&&(e(".cart_item.edd_subtotal").show(),e(".cart_item.edd_cart_tax").show()),e(".cart_item.edd_total").show(),e(".cart_item.edd_checkout").show(),e(".cart_item.empty").length&&e(".cart_item.empty").hide(),e(".widget_edd_cart_widget .edd-cart").each(function(t){var a=e(this).find(".edd-cart-meta:first");e(d.cart_item).insertBefore(a);var r=e(this).parent();r&&(r.addClass("cart-not-empty"),r.removeClass("cart-empty"))}),"1"===edd_scripts.taxes_enabled&&(e(".edd-cart-meta.edd_subtotal span").html(d.subtotal),e(".edd-cart-meta.edd_cart_tax span").html(d.tax)),e(".edd-cart-meta.edd_total span").html(d.total);e(".edd-cart-item-title",d.cart_item).length;if(e("span.edd-cart-quantity").each(function(){e(this).text(d.cart_quantity),e(document.body).trigger("edd_quantity_updated",[d.cart_quantity])}),"none"==e(".edd-cart-number-of-items").css("display")&&e(".edd-cart-number-of-items").show("slow"),("no"==o||"multi"!=c)&&(e("a.edd-add-to-cart",r).toggle(),e(".edd_go_to_checkout",r).css("display","inline-block")),"multi"==c&&t.removeAttr("data-edd-loading"),e(".edd_download_purchase_form").length&&("no"==o||!a.find(".edd_price_option_"+i).is("input:hidden"))){var _=e('.edd_download_purchase_form *[data-download-id="'+i+'"]').parents("form");e("a.edd-add-to-cart",_).hide(),"multi"!=c&&_.find(".edd_download_quantity_wrapper").slideUp(),e(".edd_go_to_checkout",_).show().removeAttr("data-edd-loading")}"incart"!=d&&(e(".edd-cart-added-alert",r).fadeIn(),setTimeout(function(){e(".edd-cart-added-alert",r).fadeOut()},3e3)),t.prop("disabled",!1),e(document.body).trigger("edd_cart_item_added",[d])}}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(e){}),!1}),e("#edd_checkout_form_wrap").on("click",".edd_checkout_register_login",function(){var d=e(this),t={action:d.data("action")};return e(".edd-cart-ajax").show(),e.post(edd_scripts.ajaxurl,t,function(d){e("#edd_checkout_login_register").html(edd_scripts.loading),e("#edd_checkout_login_register").html(d),e(".edd-cart-ajax").hide()}),!1}),e(document).on("click","#edd_purchase_form #edd_login_fields input[type=submit]",function(d){d.preventDefault();var t=e(this).val();e(this).val(edd_global_vars.purchase_loading),e(this).after('<span class="edd-loading-ajax edd-loading"></span>');var a={action:"edd_process_checkout_login",edd_ajax:1,edd_user_login:e("#edd_login_fields #edd_user_login").val(),edd_user_pass:e("#edd_login_fields #edd_user_pass").val()};e.post(edd_global_vars.ajaxurl,a,function(d){"success"==e.trim(d)?(e(".edd_errors").remove(),window.location=edd_scripts.checkout_page):(e("#edd_login_fields input[type=submit]").val(t),e(".edd-loading-ajax").remove(),e(".edd_errors").remove(),e("#edd-user-login-submit").before(d))})}),e("select#edd-gateway, input.edd-gateway").change(function(d){var t=e("#edd-gateway option:selected, input.edd-gateway:checked").val();return"0"==t?!1:(edd_load_gateway(t),!1)}),"1"==edd_scripts.is_checkout){var t=!1,a=!1;e("select#edd-gateway, input.edd-gateway").length&&(t=e("meta[name='edd-chosen-gateway']").attr("content"),a=!0),t||(t=edd_scripts.default_gateway),a?setTimeout(function(){edd_load_gateway(t)},200):e("body").trigger("edd_gateway_loaded",[t])}e(document).on("click","#edd_purchase_form #edd_purchase_submit input[type=submit]",function(d){var t=document.getElementById("edd_purchase_form");if("function"!=typeof t.checkValidity||!1!==t.checkValidity()){d.preventDefault();var a=e(this).val();e(this).val(edd_global_vars.purchase_loading),e(this).prop("disabled",!0),e(this).after('<span class="edd-loading-ajax edd-loading"></span>'),e.post(edd_global_vars.ajaxurl,e("#edd_purchase_form").serialize()+"&action=edd_process_checkout&edd_ajax=true",function(d){"success"==e.trim(d)?(e(".edd_errors").remove(),e(".edd-error").hide(),e(t).submit()):(e("#edd-purchase-button").val(a),e(".edd-loading-ajax").remove(),e(".edd_errors").remove(),e(".edd-error").hide(),e(edd_global_vars.checkout_error_anchor).before(d),e("#edd-purchase-button").prop("disabled",!1),e(document.body).trigger("edd_checkout_error",[d]))})}}),e(document.body).on("change","#edd_cc_address input.card_state, #edd_cc_address select, #edd_address_country",d),e(document.body).on("change","#edd_cc_address input[name=card_zip]",function(){"undefined"!=typeof edd_global_vars&&recalculate_taxes()})});
assets/js/edd-checkout-global.js CHANGED
@@ -14,6 +14,10 @@ window.EDD_Checkout = (function($) {
14
  before_discount = $edd_cart_amount.text();
15
  $checkout_form_wrap = $('#edd_checkout_form_wrap');
16
 
 
 
 
 
17
  $body.on('keyup change', '.edd-do-validate .card-number', function() {
18
  edd_validate_card( $(this) );
19
  });
@@ -112,6 +116,18 @@ window.EDD_Checkout = (function($) {
112
  });
113
  }
114
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  function apply_discount(event) {
116
 
117
  event.preventDefault();
14
  before_discount = $edd_cart_amount.text();
15
  $checkout_form_wrap = $('#edd_checkout_form_wrap');
16
 
17
+ $body.on('edd_gateway_loaded', function( e ) {
18
+ edd_format_card_number( $form );
19
+ });
20
+
21
  $body.on('keyup change', '.edd-do-validate .card-number', function() {
22
  edd_validate_card( $(this) );
23
  });
116
  });
117
  }
118
 
119
+ function edd_format_card_number( form ) {
120
+ var card_number = form.find('.card-number'),
121
+ card_cvc = form.find('.card-cvc'),
122
+ card_expiry = form.find('.card-expiry');
123
+
124
+ if ( card_number.length && 'function' === typeof card_number.payment ) {
125
+ card_number.payment('formatCardNumber');
126
+ card_cvc.payment('formatCardCVC');
127
+ card_expiry.payment('formatCardExpiry');
128
+ }
129
+ }
130
+
131
  function apply_discount(event) {
132
 
133
  event.preventDefault();
assets/js/edd-checkout-global.min.js CHANGED
@@ -1 +1 @@
1
- function recalculate_taxes(e){if("1"==edd_global_vars.taxes_enabled){var d=jQuery("#edd_cc_address");e||(e=d.find("#card_state").val());var a={action:"edd_recalculate_taxes",billing_country:d.find("#billing_country").val(),state:e,card_zip:d.find("input[name=card_zip]").val()},t=++ajax_tax_count;jQuery.ajax({type:"POST",data:a,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(e){if(t===ajax_tax_count){jQuery("#edd_checkout_cart_form").replaceWith(e.html),jQuery(".edd_cart_amount").html(e.total);var d=new Object;d.postdata=a,d.response=e,jQuery("body").trigger("edd_taxes_recalculated",[d])}}}).fail(function(e){window.console&&window.console.log&&(console.log(e),t===ajax_tax_count&&jQuery("body").trigger("edd_taxes_recalculated",[tax_data]))})}}window.EDD_Checkout=function(e){"use strict";function d(){i=e(document.body),c=e("#edd_purchase_form"),r=e(".edd_cart_amount"),l=r.text(),s=e("#edd_checkout_form_wrap"),i.on("keyup change",".edd-do-validate .card-number",function(){a(e(this))}),i.on("blur change",".card-name",function(){var d=e(this);d.validateCreditCard(function(a){null!=a.card_type?(d.removeClass("valid").addClass("error"),e("#edd-purchase-button").attr("disabled","disabled")):(d.removeClass("error").addClass("valid"),e("#edd-purchase-button").removeAttr("disabled"))})}),i.on("submit","#edd_payment_mode",function(){var d=e("#edd-gateway option:selected").val();return 0==d?(alert(edd_global_vars.no_gateway),!1):void 0}),i.on("click","#edd_payment_mode_select input",function(){e("#edd_payment_mode_select label.edd-gateway-option-selected").removeClass("edd-gateway-option-selected"),e("#edd_payment_mode_select input:checked").parent().addClass("edd-gateway-option-selected")}),s.on("click",".edd-apply-discount",t),s.on("keypress","#edd-discount",function(e){return"13"==e.keyCode?!1:void 0}),s.on("keyup","#edd-discount",function(e){"13"==e.keyCode&&s.find(".edd-apply-discount").trigger("click")}),i.on("click",".edd_discount_remove",o),i.on("click",".edd_discount_link",function(d){d.preventDefault(),e(".edd_discount_link").parent().hide(),e("#edd-discount-code-wrap").show().find("#edd-discount").focus()}),i.find("#edd-discount-code-wrap").hide(),i.find("#edd_show_discount").show(),i.on("change",".edd-item-quantity",n),i.on("click",".edd-amazon-logout #Logout",function(e){e.preventDefault(),amazon.Login.logout(),window.location=edd_amazon.checkoutUri})}function a(d){var a=d;a.validateCreditCard(function(d){var t=e(".card-type");null==d.card_type?(t.removeClass().addClass("off card-type"),a.removeClass("valid"),a.addClass("error")):(t.removeClass("off"),t.addClass(d.card_type.name),d.length_valid&&d.luhn_valid?(a.addClass("valid"),a.removeClass("error")):(a.removeClass("valid"),a.addClass("error")))})}function t(d){d.preventDefault();var a=(e(this),e("#edd-discount").val()),t=e("#edd-discount-loader");if(""==a||a==edd_global_vars.enter_discount)return!1;var o={action:"edd_apply_discount",code:a,form:e("#edd_purchase_form").serialize()};return e("#edd-discount-error-wrap").html("").hide(),t.show(),e.ajax({type:"POST",data:o,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){if(d)if("valid"==d.msg){e(".edd_cart_discount").html(d.html),e(".edd_cart_discount_row").show(),e(".edd_cart_amount").each(function(){e(this).text(d.total),e(this).data("total",d.total_plain)}),e("#edd-discount",s).val(""),recalculate_taxes();var a=e("#edd_cc_fields .edd-input, #edd_cc_fields .edd-select,#edd_cc_address .edd-input, #edd_cc_address .edd-select,#edd_payment_mode_select .edd-input, #edd_payment_mode_select .edd-select");"0.00"==d.total_plain?(e("#edd_cc_fields,#edd_cc_address,#edd_payment_mode_select").slideUp(),a.removeAttr("required"),e('input[name="edd-gateway"]').val("manual")):(a.is(".card-address-2")||a.attr("required","required"),e("#edd_cc_fields,#edd_cc_address").slideDown()),i.trigger("edd_discount_applied",[d])}else e("#edd-discount-error-wrap").html('<span class="edd_error">'+d.msg+"</span>"),e("#edd-discount-error-wrap").show(),i.trigger("edd_discount_invalid",[d]);else window.console&&window.console.log&&console.log(d),i.trigger("edd_discount_failed",[d]);t.hide()}}).fail(function(e){window.console&&window.console.log&&console.log(e)}),!1}function o(d){var a=e(this),t={action:"edd_remove_discount",code:a.data("code")};return e.ajax({type:"POST",data:t,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){var a="0"+edd_global_vars.decimal_separator+"00";e(".edd_cart_amount").each(function(){(edd_global_vars.currency_sign+a==e(this).text()||a+edd_global_vars.currency_sign==e(this).text())&&window.location.reload(),e(this).text(d.total),e(this).data("total",d.total_plain)}),e(".edd_cart_discount").html(d.html),d.discounts||e(".edd_cart_discount_row").hide(),recalculate_taxes(),e("#edd_cc_fields,#edd_cc_address").slideDown(),i.trigger("edd_discount_removed",[d])}}).fail(function(e){window.console&&window.console.log&&console.log(e)}),!1}function n(d){var a=e(this),t=a.val(),o=a.data("key"),n=a.closest(".edd_cart_item").data("download-id"),c=a.parent().find('input[name="edd-cart-download-'+o+'-options"]').val(),r=e("#edd_cc_address"),l=r.find("#billing_country").val(),s=r.find("#card_state").val(),_={action:"edd_update_quantity",quantity:t,download_id:n,options:c,billing_country:l,card_state:s};return e.ajax({type:"POST",data:_,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){e(".edd_cart_subtotal_amount").each(function(){e(this).text(d.subtotal)}),e(".edd_cart_tax_amount").each(function(){e(this).text(d.taxes)}),e(".edd_cart_amount").each(function(){e(this).text(d.total),i.trigger("edd_quantity_updated",[d])})}}).fail(function(e){window.console&&window.console.log&&console.log(e)}),!1}var i,c,r,l,s;return{init:d,recalculate_taxes:recalculate_taxes}}(window.jQuery),window.jQuery(document).ready(EDD_Checkout.init);var ajax_tax_count=0;
1
+ function recalculate_taxes(e){if("1"==edd_global_vars.taxes_enabled){var d=jQuery("#edd_cc_address");e||(e=d.find("#card_state").val());var a={action:"edd_recalculate_taxes",billing_country:d.find("#billing_country").val(),state:e,card_zip:d.find("input[name=card_zip]").val()},t=++ajax_tax_count;jQuery.ajax({type:"POST",data:a,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(e){if(t===ajax_tax_count){jQuery("#edd_checkout_cart_form").replaceWith(e.html),jQuery(".edd_cart_amount").html(e.total);var d=new Object;d.postdata=a,d.response=e,jQuery("body").trigger("edd_taxes_recalculated",[d])}}}).fail(function(e){window.console&&window.console.log&&(console.log(e),t===ajax_tax_count&&jQuery("body").trigger("edd_taxes_recalculated",[tax_data]))})}}window.EDD_Checkout=function(e){"use strict";function d(){c=e(document.body),r=e("#edd_purchase_form"),l=e(".edd_cart_amount"),s=l.text(),_=e("#edd_checkout_form_wrap"),c.on("edd_gateway_loaded",function(e){t(r)}),c.on("keyup change",".edd-do-validate .card-number",function(){a(e(this))}),c.on("blur change",".card-name",function(){var d=e(this);d.validateCreditCard(function(a){null!=a.card_type?(d.removeClass("valid").addClass("error"),e("#edd-purchase-button").attr("disabled","disabled")):(d.removeClass("error").addClass("valid"),e("#edd-purchase-button").removeAttr("disabled"))})}),c.on("submit","#edd_payment_mode",function(){var d=e("#edd-gateway option:selected").val();return 0==d?(alert(edd_global_vars.no_gateway),!1):void 0}),c.on("click","#edd_payment_mode_select input",function(){e("#edd_payment_mode_select label.edd-gateway-option-selected").removeClass("edd-gateway-option-selected"),e("#edd_payment_mode_select input:checked").parent().addClass("edd-gateway-option-selected")}),_.on("click",".edd-apply-discount",o),_.on("keypress","#edd-discount",function(e){return"13"==e.keyCode?!1:void 0}),_.on("keyup","#edd-discount",function(e){"13"==e.keyCode&&_.find(".edd-apply-discount").trigger("click")}),c.on("click",".edd_discount_remove",n),c.on("click",".edd_discount_link",function(d){d.preventDefault(),e(".edd_discount_link").parent().hide(),e("#edd-discount-code-wrap").show().find("#edd-discount").focus()}),c.find("#edd-discount-code-wrap").hide(),c.find("#edd_show_discount").show(),c.on("change",".edd-item-quantity",i),c.on("click",".edd-amazon-logout #Logout",function(e){e.preventDefault(),amazon.Login.logout(),window.location=edd_amazon.checkoutUri})}function a(d){var a=d;a.validateCreditCard(function(d){var t=e(".card-type");null==d.card_type?(t.removeClass().addClass("off card-type"),a.removeClass("valid"),a.addClass("error")):(t.removeClass("off"),t.addClass(d.card_type.name),d.length_valid&&d.luhn_valid?(a.addClass("valid"),a.removeClass("error")):(a.removeClass("valid"),a.addClass("error")))})}function t(e){var d=e.find(".card-number"),a=e.find(".card-cvc"),t=e.find(".card-expiry");d.length&&"function"==typeof d.payment&&(d.payment("formatCardNumber"),a.payment("formatCardCVC"),t.payment("formatCardExpiry"))}function o(d){d.preventDefault();var a=(e(this),e("#edd-discount").val()),t=e("#edd-discount-loader");if(""==a||a==edd_global_vars.enter_discount)return!1;var o={action:"edd_apply_discount",code:a,form:e("#edd_purchase_form").serialize()};return e("#edd-discount-error-wrap").html("").hide(),t.show(),e.ajax({type:"POST",data:o,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){if(d)if("valid"==d.msg){e(".edd_cart_discount").html(d.html),e(".edd_cart_discount_row").show(),e(".edd_cart_amount").each(function(){e(this).text(d.total),e(this).data("total",d.total_plain)}),e("#edd-discount",_).val(""),recalculate_taxes();var a=e("#edd_cc_fields .edd-input, #edd_cc_fields .edd-select,#edd_cc_address .edd-input, #edd_cc_address .edd-select,#edd_payment_mode_select .edd-input, #edd_payment_mode_select .edd-select");"0.00"==d.total_plain?(e("#edd_cc_fields,#edd_cc_address,#edd_payment_mode_select").slideUp(),a.removeAttr("required"),e('input[name="edd-gateway"]').val("manual")):(a.is(".card-address-2")||a.attr("required","required"),e("#edd_cc_fields,#edd_cc_address").slideDown()),c.trigger("edd_discount_applied",[d])}else e("#edd-discount-error-wrap").html('<span class="edd_error">'+d.msg+"</span>"),e("#edd-discount-error-wrap").show(),c.trigger("edd_discount_invalid",[d]);else window.console&&window.console.log&&console.log(d),c.trigger("edd_discount_failed",[d]);t.hide()}}).fail(function(e){window.console&&window.console.log&&console.log(e)}),!1}function n(d){var a=e(this),t={action:"edd_remove_discount",code:a.data("code")};return e.ajax({type:"POST",data:t,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){var a="0"+edd_global_vars.decimal_separator+"00";e(".edd_cart_amount").each(function(){(edd_global_vars.currency_sign+a==e(this).text()||a+edd_global_vars.currency_sign==e(this).text())&&window.location.reload(),e(this).text(d.total),e(this).data("total",d.total_plain)}),e(".edd_cart_discount").html(d.html),d.discounts||e(".edd_cart_discount_row").hide(),recalculate_taxes(),e("#edd_cc_fields,#edd_cc_address").slideDown(),c.trigger("edd_discount_removed",[d])}}).fail(function(e){window.console&&window.console.log&&console.log(e)}),!1}function i(d){var a=e(this),t=a.val(),o=a.data("key"),n=a.closest(".edd_cart_item").data("download-id"),i=a.parent().find('input[name="edd-cart-download-'+o+'-options"]').val(),r=e("#edd_cc_address"),l=r.find("#billing_country").val(),s=r.find("#card_state").val(),_={action:"edd_update_quantity",quantity:t,download_id:n,options:i,billing_country:l,card_state:s};return e.ajax({type:"POST",data:_,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(d){e(".edd_cart_subtotal_amount").each(function(){e(this).text(d.subtotal)}),e(".edd_cart_tax_amount").each(function(){e(this).text(d.taxes)}),e(".edd_cart_amount").each(function(){e(this).text(d.total),c.trigger("edd_quantity_updated",[d])})}}).fail(function(e){window.console&&window.console.log&&console.log(e)}),!1}var c,r,l,s,_;return{init:d,recalculate_taxes:recalculate_taxes}}(window.jQuery),window.jQuery(document).ready(EDD_Checkout.init);var ajax_tax_count=0;
assets/js/jquery.payment.min.js ADDED
@@ -0,0 +1 @@
 
1
+ (function(){var t,e,n,r,a,o,i,l,u,s,c,h,p,g,v,f,d,m,y,C,T,w,$,D,S=[].slice,k=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};t=window.jQuery||window.Zepto||window.$,t.payment={},t.payment.fn={},t.fn.payment=function(){var e,n;return n=arguments[0],e=2<=arguments.length?S.call(arguments,1):[],t.payment.fn[n].apply(this,e)},a=/(\d{1,4})/g,t.payment.cards=r=[{type:"maestro",patterns:[5018,502,503,506,56,58,639,6220,67],format:a,length:[12,13,14,15,16,17,18,19],cvcLength:[3],luhn:!0},{type:"forbrugsforeningen",patterns:[600],format:a,length:[16],cvcLength:[3],luhn:!0},{type:"dankort",patterns:[5019],format:a,length:[16],cvcLength:[3],luhn:!0},{type:"visa",patterns:[4],format:a,length:[13,16],cvcLength:[3],luhn:!0},{type:"mastercard",patterns:[51,52,53,54,55,22,23,24,25,26,27],format:a,length:[16],cvcLength:[3],luhn:!0},{type:"amex",patterns:[34,37],format:/(\d{1,4})(\d{1,6})?(\d{1,5})?/,length:[15],cvcLength:[3,4],luhn:!0},{type:"dinersclub",patterns:[30,36,38,39],format:/(\d{1,4})(\d{1,6})?(\d{1,4})?/,length:[14],cvcLength:[3],luhn:!0},{type:"discover",patterns:[60,64,65,622],format:a,length:[16],cvcLength:[3],luhn:!0},{type:"unionpay",patterns:[62,88],format:a,length:[16,17,18,19],cvcLength:[3],luhn:!1},{type:"jcb",patterns:[35],format:a,length:[16],cvcLength:[3],luhn:!0}],e=function(t){var e,n,a,o,i,l,u,s;for(t=(t+"").replace(/\D/g,""),o=0,l=r.length;l>o;o++)for(e=r[o],s=e.patterns,i=0,u=s.length;u>i;i++)if(a=s[i],n=a+"",t.substr(0,n.length)===n)return e},n=function(t){var e,n,a;for(n=0,a=r.length;a>n;n++)if(e=r[n],e.type===t)return e},p=function(t){var e,n,r,a,o,i;for(r=!0,a=0,n=(t+"").split("").reverse(),o=0,i=n.length;i>o;o++)e=n[o],e=parseInt(e,10),(r=!r)&&(e*=2),e>9&&(e-=9),a+=e;return a%10===0},h=function(t){var e;return null!=t.prop("selectionStart")&&t.prop("selectionStart")!==t.prop("selectionEnd")?!0:null!=("undefined"!=typeof document&&null!==document&&null!=(e=document.selection)?e.createRange:void 0)&&document.selection.createRange().text?!0:!1},$=function(t,e){var n,r,a,o,i,l;try{r=e.prop("selectionStart")}catch(u){o=u,r=null}return i=e.val(),e.val(t),null!==r&&e.is(":focus")?(r===i.length&&(r=t.length),i!==t&&(l=i.slice(r-1,+r+1||9e9),n=t.slice(r-1,+r+1||9e9),a=t[r],/\d/.test(a)&&l===""+a+" "&&n===" "+a&&(r+=1)),e.prop("selectionStart",r),e.prop("selectionEnd",r)):void 0},m=function(t){var e,n,r,a,o,i,l,u;for(null==t&&(t=""),r="0123456789",a="0123456789",i="",e=t.split(""),l=0,u=e.length;u>l;l++)n=e[l],o=r.indexOf(n),o>-1&&(n=a[o]),i+=n;return i},d=function(e){var n;return n=t(e.currentTarget),setTimeout(function(){var t;return t=n.val(),t=m(t),t=t.replace(/\D/g,""),$(t,n)})},v=function(e){var n;return n=t(e.currentTarget),setTimeout(function(){var e;return e=n.val(),e=m(e),e=t.payment.formatCardNumber(e),$(e,n)})},l=function(n){var r,a,o,i,l,u,s;return o=String.fromCharCode(n.which),!/^\d+$/.test(o)||(r=t(n.currentTarget),s=r.val(),a=e(s+o),i=(s.replace(/\D/g,"")+o).length,u=16,a&&(u=a.length[a.length.length-1]),i>=u||null!=r.prop("selectionStart")&&r.prop("selectionStart")!==s.length)?void 0:(l=a&&"amex"===a.type?/^(\d{4}|\d{4}\s\d{6})$/:/(?:^|\s)(\d{4})$/,l.test(s)?(n.preventDefault(),setTimeout(function(){return r.val(s+" "+o)})):l.test(s+o)?(n.preventDefault(),setTimeout(function(){return r.val(s+o+" ")})):void 0)},o=function(e){var n,r;return n=t(e.currentTarget),r=n.val(),8!==e.which||null!=n.prop("selectionStart")&&n.prop("selectionStart")!==r.length?void 0:/\d\s$/.test(r)?(e.preventDefault(),setTimeout(function(){return n.val(r.replace(/\d\s$/,""))})):/\s\d?$/.test(r)?(e.preventDefault(),setTimeout(function(){return n.val(r.replace(/\d$/,""))})):void 0},f=function(e){var n;return n=t(e.currentTarget),setTimeout(function(){var e;return e=n.val(),e=m(e),e=t.payment.formatExpiry(e),$(e,n)})},u=function(e){var n,r,a;return r=String.fromCharCode(e.which),/^\d+$/.test(r)?(n=t(e.currentTarget),a=n.val()+r,/^\d$/.test(a)&&"0"!==a&&"1"!==a?(e.preventDefault(),setTimeout(function(){return n.val("0"+a+" / ")})):/^\d\d$/.test(a)?(e.preventDefault(),setTimeout(function(){var t,e;return t=parseInt(a[0],10),e=parseInt(a[1],10),e>2&&0!==t?n.val("0"+t+" / "+e):n.val(""+a+" / ")})):void 0):void 0},s=function(e){var n,r,a;return r=String.fromCharCode(e.which),/^\d+$/.test(r)?(n=t(e.currentTarget),a=n.val(),/^\d\d$/.test(a)?n.val(""+a+" / "):void 0):void 0},c=function(e){var n,r,a;return a=String.fromCharCode(e.which),"/"===a||" "===a?(n=t(e.currentTarget),r=n.val(),/^\d$/.test(r)&&"0"!==r?n.val("0"+r+" / "):void 0):void 0},i=function(e){var n,r;return n=t(e.currentTarget),r=n.val(),8!==e.which||null!=n.prop("selectionStart")&&n.prop("selectionStart")!==r.length?void 0:/\d\s\/\s$/.test(r)?(e.preventDefault(),setTimeout(function(){return n.val(r.replace(/\d\s\/\s$/,""))})):void 0},g=function(e){var n;return n=t(e.currentTarget),setTimeout(function(){var t;return t=n.val(),t=m(t),t=t.replace(/\D/g,"").slice(0,4),$(t,n)})},w=function(t){var e;return t.metaKey||t.ctrlKey?!0:32===t.which?!1:0===t.which?!0:t.which<33?!0:(e=String.fromCharCode(t.which),!!/[\d\s]/.test(e))},C=function(n){var r,a,o,i;return r=t(n.currentTarget),o=String.fromCharCode(n.which),/^\d+$/.test(o)&&!h(r)?(i=(r.val()+o).replace(/\D/g,""),a=e(i),a?i.length<=a.length[a.length.length-1]:i.length<=16):void 0},T=function(e){var n,r,a;return n=t(e.currentTarget),r=String.fromCharCode(e.which),/^\d+$/.test(r)&&!h(n)?(a=n.val()+r,a=a.replace(/\D/g,""),a.length>6?!1:void 0):void 0},y=function(e){var n,r,a;return n=t(e.currentTarget),r=String.fromCharCode(e.which),/^\d+$/.test(r)&&!h(n)?(a=n.val()+r,a.length<=4):void 0},D=function(e){var n,a,o,i,l;return n=t(e.currentTarget),l=n.val(),i=t.payment.cardType(l)||"unknown",n.hasClass(i)?void 0:(a=function(){var t,e,n;for(n=[],t=0,e=r.length;e>t;t++)o=r[t],n.push(o.type);return n}(),n.removeClass("unknown"),n.removeClass(a.join(" ")),n.addClass(i),n.toggleClass("identified","unknown"!==i),n.trigger("payment.cardType",i))},t.payment.fn.formatCardCVC=function(){return this.on("keypress",w),this.on("keypress",y),this.on("paste",g),this.on("change",g),this.on("input",g),this},t.payment.fn.formatCardExpiry=function(){return this.on("keypress",w),this.on("keypress",T),this.on("keypress",u),this.on("keypress",c),this.on("keypress",s),this.on("keydown",i),this.on("change",f),this.on("input",f),this},t.payment.fn.formatCardNumber=function(){return this.on("keypress",w),this.on("keypress",C),this.on("keypress",l),this.on("keydown",o),this.on("keyup",D),this.on("paste",v),this.on("change",v),this.on("input",v),this.on("input",D),this},t.payment.fn.restrictNumeric=function(){return this.on("keypress",w),this.on("paste",d),this.on("change",d),this.on("input",d),this},t.payment.fn.cardExpiryVal=function(){return t.payment.cardExpiryVal(t(this).val())},t.payment.cardExpiryVal=function(t){var e,n,r,a;return a=t.split(/[\s\/]+/,2),e=a[0],r=a[1],2===(null!=r?r.length:void 0)&&/^\d+$/.test(r)&&(n=(new Date).getFullYear(),n=n.toString().slice(0,2),r=n+r),e=parseInt(e,10),r=parseInt(r,10),{month:e,year:r}},t.payment.validateCardNumber=function(t){var n,r;return t=(t+"").replace(/\s+|-/g,""),/^\d+$/.test(t)?(n=e(t),n?(r=t.length,k.call(n.length,r)>=0&&(n.luhn===!1||p(t))):!1):!1},t.payment.validateCardExpiry=function(e,n){var r,a,o;return"object"==typeof e&&"month"in e&&(o=e,e=o.month,n=o.year),e&&n?(e=t.trim(e),n=t.trim(n),/^\d+$/.test(e)&&/^\d+$/.test(n)&&e>=1&&12>=e?(2===n.length&&(n=70>n?"20"+n:"19"+n),4!==n.length?!1:(a=new Date(n,e),r=new Date,a.setMonth(a.getMonth()-1),a.setMonth(a.getMonth()+1,1),a>r)):!1):!1},t.payment.validateCardCVC=function(e,r){var a,o;return e=t.trim(e),/^\d+$/.test(e)?(a=n(r),null!=a?(o=e.length,k.call(a.cvcLength,o)>=0):e.length>=3&&e.length<=4):!1},t.payment.cardType=function(t){var n;return t?(null!=(n=e(t))?n.type:void 0)||null:null},t.payment.formatCardNumber=function(n){var r,a,o,i;return n=n.replace(/\D/g,""),(r=e(n))?(o=r.length[r.length.length-1],n=n.slice(0,o),r.format.global?null!=(i=n.match(r.format))?i.join(" "):void 0:(a=r.format.exec(n),null!=a?(a.shift(),a=t.grep(a,function(t){return t}),a.join(" ")):void 0)):n},t.payment.formatExpiry=function(t){var e,n,r,a;return(n=t.match(/^\D*(\d{1,2})(\D+)?(\d{1,4})?/))?(e=n[1]||"",r=n[2]||"",a=n[3]||"",a.length>0?r=" / ":" /"===r?(e=e.substring(0,1),r=""):2===e.length||r.length>0?r=" / ":1===e.length&&"0"!==e&&"1"!==e&&(e="0"+e,r=" / "),e+r+a):""}}).call(this);
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.8.1
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.8.1
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.8.1' );
210
  }
211
 
212
  // Plugin Folder Path.
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.8.2
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.8.2
29
  */
30
 
31
  // Exit if accessed directly.
206
 
207
  // Plugin version.
208
  if ( ! defined( 'EDD_VERSION' ) ) {
209
+ define( 'EDD_VERSION', '2.8.2' );
210
  }
211
 
212
  // Plugin Folder Path.
includes/admin/discounts/add-discount.php CHANGED
@@ -24,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
24
  </th>
25
  <td>
26
  <input name="name" required="required" id="edd-name" type="text" value="" style="width: 300px;"/>
27
- <p class="description"><?php _e( 'The name of this discount', 'easy-digital-downloads' ); ?></p>
28
  </td>
29
  </tr>
30
  <?php do_action( 'edd_add_discount_form_before_code' ); ?>
@@ -131,7 +131,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
131
  </th>
132
  <td>
133
  <input name="expiration" id="edd-expiration" type="text" style="width: 300px;" class="edd_datepicker"/>
134
- <p class="description"><?php _e( 'Enter the expiration date for this discount code in the format of mm/dd/yyyy. For no expiration, leave blank', 'easy-digital-downloads' ); ?></p>
135
  </td>
136
  </tr>
137
  <?php do_action( 'edd_add_discount_form_before_min_cart_amount' ); ?>
24
  </th>
25
  <td>
26
  <input name="name" required="required" id="edd-name" type="text" value="" style="width: 300px;"/>
27
+ <p class="description"><?php _e( 'The name of this discount.', 'easy-digital-downloads' ); ?></p>
28
  </td>
29
  </tr>
30
  <?php do_action( 'edd_add_discount_form_before_code' ); ?>
131
  </th>
132
  <td>
133
  <input name="expiration" id="edd-expiration" type="text" style="width: 300px;" class="edd_datepicker"/>
134
+ <p class="description"><?php _e( 'Enter the expiration date for this discount code in the format of mm/dd/yyyy. For no expiration, leave blank.', 'easy-digital-downloads' ); ?></p>
135
  </td>
136
  </tr>
137
  <?php do_action( 'edd_add_discount_form_before_min_cart_amount' ); ?>
includes/admin/payments/class-payments-table.php CHANGED
@@ -235,14 +235,14 @@ class EDD_Payment_History_Table extends WP_List_Table {
235
  $revoked_count = '&nbsp;<span class="count">(' . $this->revoked_count . ')</span>';
236
 
237
  $views = array(
238
- 'all' => sprintf( '<a href="%s"%s>%s</a>', remove_query_arg( array( 'status', 'paged' ) ), $current === 'all' || $current == '' ? ' class="current"' : '', __('All','easy-digital-downloads' ) . $total_count ),
239
- 'publish' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'publish', 'paged' => FALSE ) ), $current === 'publish' ? ' class="current"' : '', __('Completed','easy-digital-downloads' ) . $complete_count ),
240
- 'pending' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'pending', 'paged' => FALSE ) ), $current === 'pending' ? ' class="current"' : '', __('Pending','easy-digital-downloads' ) . $pending_count ),
241
- 'processing' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'processing', 'paged' => FALSE ) ), $current === 'processing' ? ' class="current"' : '', __('Processing','easy-digital-downloads' ) . $processing_count ),
242
- 'refunded' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'refunded', 'paged' => FALSE ) ), $current === 'refunded' ? ' class="current"' : '', __('Refunded','easy-digital-downloads' ) . $refunded_count ),
243
- 'revoked' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'revoked', 'paged' => FALSE ) ), $current === 'revoked' ? ' class="current"' : '', __('Revoked','easy-digital-downloads' ) . $revoked_count ),
244
- 'failed' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'failed', 'paged' => FALSE ) ), $current === 'failed' ? ' class="current"' : '', __('Failed','easy-digital-downloads' ) . $failed_count ),
245
- 'abandoned' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'abandoned', 'paged' => FALSE ) ), $current === 'abandoned' ? ' class="current"' : '', __('Abandoned','easy-digital-downloads' ) . $abandoned_count ),
246
  );
247
 
248
  return apply_filters( 'edd_payments_table_views', $views );
@@ -434,6 +434,7 @@ class EDD_Payment_History_Table extends WP_List_Table {
434
  'delete' => __( 'Delete', 'easy-digital-downloads' ),
435
  'set-status-publish' => __( 'Set To Completed', 'easy-digital-downloads' ),
436
  'set-status-pending' => __( 'Set To Pending', 'easy-digital-downloads' ),
 
437
  'set-status-refunded' => __( 'Set To Refunded', 'easy-digital-downloads' ),
438
  'set-status-revoked' => __( 'Set To Revoked', 'easy-digital-downloads' ),
439
  'set-status-failed' => __( 'Set To Failed', 'easy-digital-downloads' ),
@@ -478,6 +479,10 @@ class EDD_Payment_History_Table extends WP_List_Table {
478
  edd_update_payment_status( $id, 'pending' );
479
  }
480
 
 
 
 
 
481
  if ( 'set-status-refunded' === $this->current_action() ) {
482
  edd_update_payment_status( $id, 'refunded' );
483
  }
@@ -503,7 +508,6 @@ class EDD_Payment_History_Table extends WP_List_Table {
503
  }
504
 
505
  if( 'resend-receipt' === $this->current_action() ) {
506
-
507
  edd_email_purchase_receipt( $id, false );
508
  }
509
 
@@ -553,13 +557,14 @@ class EDD_Payment_History_Table extends WP_List_Table {
553
  $args['gateway'] = $_GET['gateway'];
554
  }
555
 
556
- $payment_count = edd_count_payments( $args );
557
- $this->complete_count = $payment_count->publish;
558
- $this->pending_count = $payment_count->pending;
559
- $this->refunded_count = $payment_count->refunded;
560
- $this->failed_count = $payment_count->failed;
561
- $this->revoked_count = $payment_count->revoked;
562
- $this->abandoned_count = $payment_count->abandoned;
 
563
 
564
  foreach( $payment_count as $count ) {
565
  $this->total_count += $count;
@@ -662,8 +667,8 @@ class EDD_Payment_History_Table extends WP_List_Table {
662
  $total_items = $this->pending_count;
663
  break;
664
  case 'processing':
665
- $total_items = $this->processing_count;
666
- break;
667
  case 'refunded':
668
  $total_items = $this->refunded_count;
669
  break;
235
  $revoked_count = '&nbsp;<span class="count">(' . $this->revoked_count . ')</span>';
236
 
237
  $views = array(
238
+ 'all' => sprintf( '<a href="%s"%s>%s</a>', remove_query_arg( array( 'status', 'paged' ) ), $current === 'all' || $current == '' ? ' class="current"' : '', __('All','easy-digital-downloads' ) . $total_count ),
239
+ 'publish' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'publish', 'paged' => FALSE ) ), $current === 'publish' ? ' class="current"' : '', __('Completed','easy-digital-downloads' ) . $complete_count ),
240
+ 'pending' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'pending', 'paged' => FALSE ) ), $current === 'pending' ? ' class="current"' : '', __('Pending','easy-digital-downloads' ) . $pending_count ),
241
+ 'processing' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'processing', 'paged' => FALSE ) ), $current === 'processing' ? ' class="current"' : '', __('Processing','easy-digital-downloads' ) . $processing_count ),
242
+ 'refunded' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'refunded', 'paged' => FALSE ) ), $current === 'refunded' ? ' class="current"' : '', __('Refunded','easy-digital-downloads' ) . $refunded_count ),
243
+ 'revoked' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'revoked', 'paged' => FALSE ) ), $current === 'revoked' ? ' class="current"' : '', __('Revoked','easy-digital-downloads' ) . $revoked_count ),
244
+ 'failed' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'failed', 'paged' => FALSE ) ), $current === 'failed' ? ' class="current"' : '', __('Failed','easy-digital-downloads' ) . $failed_count ),
245
+ 'abandoned' => sprintf( '<a href="%s"%s>%s</a>', add_query_arg( array( 'status' => 'abandoned', 'paged' => FALSE ) ), $current === 'abandoned' ? ' class="current"' : '', __('Abandoned','easy-digital-downloads' ) . $abandoned_count ),
246
  );
247
 
248
  return apply_filters( 'edd_payments_table_views', $views );
434
  'delete' => __( 'Delete', 'easy-digital-downloads' ),
435
  'set-status-publish' => __( 'Set To Completed', 'easy-digital-downloads' ),
436
  'set-status-pending' => __( 'Set To Pending', 'easy-digital-downloads' ),
437
+ 'set-status-processing' => __( 'Set To Processing', 'easy-digital-downloads' ),
438
  'set-status-refunded' => __( 'Set To Refunded', 'easy-digital-downloads' ),
439
  'set-status-revoked' => __( 'Set To Revoked', 'easy-digital-downloads' ),
440
  'set-status-failed' => __( 'Set To Failed', 'easy-digital-downloads' ),
479
  edd_update_payment_status( $id, 'pending' );
480
  }
481
 
482
+ if ( 'set-status-processing' === $this->current_action() ) {
483
+ edd_update_payment_status( $id, 'processing' );
484
+ }
485
+
486
  if ( 'set-status-refunded' === $this->current_action() ) {
487
  edd_update_payment_status( $id, 'refunded' );
488
  }
508
  }
509
 
510
  if( 'resend-receipt' === $this->current_action() ) {
 
511
  edd_email_purchase_receipt( $id, false );
512
  }
513
 
557
  $args['gateway'] = $_GET['gateway'];
558
  }
559
 
560
+ $payment_count = edd_count_payments( $args );
561
+ $this->complete_count = $payment_count->publish;
562
+ $this->pending_count = $payment_count->pending;
563
+ $this->processing_count = $payment_count->processing;
564
+ $this->refunded_count = $payment_count->refunded;
565
+ $this->failed_count = $payment_count->failed;
566
+ $this->revoked_count = $payment_count->revoked;
567
+ $this->abandoned_count = $payment_count->abandoned;
568
 
569
  foreach( $payment_count as $count ) {
570
  $this->total_count += $count;
667
  $total_items = $this->pending_count;
668
  break;
669
  case 'processing':
670
+ $total_items = $this->processing_count;
671
+ break;
672
  case 'refunded':
673
  $total_items = $this->refunded_count;
674
  break;
includes/admin/settings/register-settings.php CHANGED
@@ -356,7 +356,7 @@ function edd_get_registered_settings() {
356
  'thousands_separator' => array(
357
  'id' => 'thousands_separator',
358
  'name' => __( 'Thousands Separator', 'easy-digital-downloads' ),
359
- 'desc' => __( 'The symbol (usually , or .) to separate thousands', 'easy-digital-downloads' ),
360
  'type' => 'text',
361
  'size' => 'small',
362
  'std' => ',',
@@ -364,7 +364,7 @@ function edd_get_registered_settings() {
364
  'decimal_separator' => array(
365
  'id' => 'decimal_separator',
366
  'name' => __( 'Decimal Separator', 'easy-digital-downloads' ),
367
- 'desc' => __( 'The symbol (usually , or .) to separate decimal points', 'easy-digital-downloads' ),
368
  'type' => 'text',
369
  'size' => 'small',
370
  'std' => '.',
@@ -420,7 +420,7 @@ function edd_get_registered_settings() {
420
  'accepted_cards' => array(
421
  'id' => 'accepted_cards',
422
  'name' => __( 'Accepted Payment Method Icons', 'easy-digital-downloads' ),
423
- 'desc' => __( 'Display icons for the selected payment methods', 'easy-digital-downloads' ) . '<br/>' . __( 'You will also need to configure your gateway settings if you are accepting credit cards', 'easy-digital-downloads' ),
424
  'type' => 'payment_icons',
425
  'options' => apply_filters('edd_accepted_payment_icons', array(
426
  'mastercard' => 'Mastercard',
@@ -482,14 +482,14 @@ function edd_get_registered_settings() {
482
  'purchase_subject' => array(
483
  'id' => 'purchase_subject',
484
  'name' => __( 'Purchase Email Subject', 'easy-digital-downloads' ),
485
- 'desc' => __( 'Enter the subject line for the purchase receipt email', 'easy-digital-downloads' ),
486
  'type' => 'text',
487
  'std' => __( 'Purchase Receipt', 'easy-digital-downloads' ),
488
  ),
489
  'purchase_heading' => array(
490
  'id' => 'purchase_heading',
491
  'name' => __( 'Purchase Email Heading', 'easy-digital-downloads' ),
492
- 'desc' => __( 'Enter the heading for the purchase receipt email', 'easy-digital-downloads' ),
493
  'type' => 'text',
494
  'std' => __( 'Purchase Receipt', 'easy-digital-downloads' ),
495
  ),
@@ -505,7 +505,7 @@ function edd_get_registered_settings() {
505
  'sale_notification_subject' => array(
506
  'id' => 'sale_notification_subject',
507
  'name' => __( 'Sale Notification Subject', 'easy-digital-downloads' ),
508
- 'desc' => __( 'Enter the subject line for the sale notification email', 'easy-digital-downloads' ),
509
  'type' => 'text',
510
  'std' => 'New download purchase - Order #{payment_id}',
511
  ),
@@ -519,7 +519,7 @@ function edd_get_registered_settings() {
519
  'admin_notice_emails' => array(
520
  'id' => 'admin_notice_emails',
521
  'name' => __( 'Sale Notification Emails', 'easy-digital-downloads' ),
522
- 'desc' => __( 'Enter the email address(es) that should receive a notification anytime a sale is made, one per line', 'easy-digital-downloads' ),
523
  'type' => 'textarea',
524
  'std' => get_bloginfo( 'admin_email' ),
525
  ),
@@ -656,8 +656,8 @@ function edd_get_registered_settings() {
656
  ),
657
  'item_quantities' => array(
658
  'id' => 'item_quantities',
659
- 'name' => __('Item Quantities','easy-digital-downloads' ),
660
- 'desc' => __('Allow item quantities to be changed.','easy-digital-downloads' ),
661
  'type' => 'checkbox',
662
  ),
663
  'uninstall_on_delete' => array(
@@ -1519,7 +1519,7 @@ function edd_gateways_callback( $args ) {
1519
  'utm_campaign' => 'admin',
1520
  );
1521
  $url = esc_url( add_query_arg( $url_args, 'https://easydigitaldownloads.com/downloads/category/extensions/gateways/' ) );
1522
- $html .= '<p>' . sprintf( __( 'Don\'t see what you need? More Payment Gateway options are available <a href="%s">here</a>', 'easy-digital-downloads' ), $url ) . '</p>';
1523
 
1524
  echo apply_filters( 'edd_after_setting_output', $html, $args );
1525
  }
@@ -1761,14 +1761,14 @@ function edd_select_callback($args) {
1761
  if ( $edd_option ) {
1762
  $value = $edd_option;
1763
  } else {
1764
-
1765
  // Properly set default fallback if the Select Field allows Multiple values
1766
  if ( empty( $args['multiple'] ) ) {
1767
  $value = isset( $args['std'] ) ? $args['std'] : '';
1768
  } else {
1769
  $value = ! empty( $args['std'] ) ? $args['std'] : array();
1770
  }
1771
-
1772
  }
1773
 
1774
  if ( isset( $args['placeholder'] ) ) {
@@ -1782,7 +1782,7 @@ function edd_select_callback($args) {
1782
  if ( isset( $args['chosen'] ) ) {
1783
  $class .= ' edd-select-chosen';
1784
  }
1785
-
1786
  // If the Select Field allows Multiple values, save as an Array
1787
  $name_attr = 'edd_settings[' . esc_attr( $args['id'] ) . ']';
1788
  $name_attr = ( $args['multiple'] ) ? $name_attr . '[]' : $name_attr;
@@ -1790,7 +1790,7 @@ function edd_select_callback($args) {
1790
  $html = '<select id="edd_settings[' . edd_sanitize_key( $args['id'] ) . ']" name="' . $name_attr . '" class="' . $class . '" data-placeholder="' . esc_html( $placeholder ) . '" ' . ( ( $args['multiple'] ) ? 'multiple="true"' : '' ) . '>';
1791
 
1792
  foreach ( $args['options'] as $option => $name ) {
1793
-
1794
  if ( ! $args['multiple'] ) {
1795
  $selected = selected( $option, $value, false );
1796
  $html .= '<option value="' . esc_attr( $option ) . '" ' . $selected . '>' . esc_html( $name ) . '</option>';
@@ -1798,7 +1798,7 @@ function edd_select_callback($args) {
1798
  // Do an in_array() check to output selected attribute for Multiple
1799
  $html .= '<option value="' . esc_attr( $option ) . '" ' . ( ( in_array( $option, $value ) ) ? 'selected="true"' : '' ) . '>' . esc_html( $name ) . '</option>';
1800
  }
1801
-
1802
  }
1803
 
1804
  $html .= '</select>';
356
  'thousands_separator' => array(
357
  'id' => 'thousands_separator',
358
  'name' => __( 'Thousands Separator', 'easy-digital-downloads' ),
359
+ 'desc' => __( 'The symbol (usually , or .) to separate thousands.', 'easy-digital-downloads' ),
360
  'type' => 'text',
361
  'size' => 'small',
362
  'std' => ',',
364
  'decimal_separator' => array(
365
  'id' => 'decimal_separator',
366
  'name' => __( 'Decimal Separator', 'easy-digital-downloads' ),
367
+ 'desc' => __( 'The symbol (usually , or .) to separate decimal points.', 'easy-digital-downloads' ),
368
  'type' => 'text',
369
  'size' => 'small',
370
  'std' => '.',
420
  'accepted_cards' => array(
421
  'id' => 'accepted_cards',
422
  'name' => __( 'Accepted Payment Method Icons', 'easy-digital-downloads' ),
423
+ 'desc' => __( 'Display icons for the selected payment methods.', 'easy-digital-downloads' ) . '<br/>' . __( 'You will also need to configure your gateway settings if you are accepting credit cards.', 'easy-digital-downloads' ),
424
  'type' => 'payment_icons',
425
  'options' => apply_filters('edd_accepted_payment_icons', array(
426
  'mastercard' => 'Mastercard',
482
  'purchase_subject' => array(
483
  'id' => 'purchase_subject',
484
  'name' => __( 'Purchase Email Subject', 'easy-digital-downloads' ),
485
+ 'desc' => __( 'Enter the subject line for the purchase receipt email.', 'easy-digital-downloads' ),
486
  'type' => 'text',
487
  'std' => __( 'Purchase Receipt', 'easy-digital-downloads' ),
488
  ),
489
  'purchase_heading' => array(
490
  'id' => 'purchase_heading',
491
  'name' => __( 'Purchase Email Heading', 'easy-digital-downloads' ),
492
+ 'desc' => __( 'Enter the heading for the purchase receipt email.', 'easy-digital-downloads' ),
493
  'type' => 'text',
494
  'std' => __( 'Purchase Receipt', 'easy-digital-downloads' ),
495
  ),
505
  'sale_notification_subject' => array(
506
  'id' => 'sale_notification_subject',
507
  'name' => __( 'Sale Notification Subject', 'easy-digital-downloads' ),
508
+ 'desc' => __( 'Enter the subject line for the sale notification email.', 'easy-digital-downloads' ),
509
  'type' => 'text',
510
  'std' => 'New download purchase - Order #{payment_id}',
511
  ),
519
  'admin_notice_emails' => array(
520
  'id' => 'admin_notice_emails',
521
  'name' => __( 'Sale Notification Emails', 'easy-digital-downloads' ),
522
+ 'desc' => __( 'Enter the email address(es) that should receive a notification anytime a sale is made, one per line.', 'easy-digital-downloads' ),
523
  'type' => 'textarea',
524
  'std' => get_bloginfo( 'admin_email' ),
525
  ),
656
  ),
657
  'item_quantities' => array(
658
  'id' => 'item_quantities',
659
+ 'name' => __('Cart Item Quantities','easy-digital-downloads' ),
660
+ 'desc' => sprintf(__('Allow quantities to be adjusted when adding %s to the cart, and while viewing the checkout cart.','easy-digital-downloads' ), edd_get_label_plural( true ) ),
661
  'type' => 'checkbox',
662
  ),
663
  'uninstall_on_delete' => array(
1519
  'utm_campaign' => 'admin',
1520
  );
1521
  $url = esc_url( add_query_arg( $url_args, 'https://easydigitaldownloads.com/downloads/category/extensions/gateways/' ) );
1522
+ $html .= '<p class="description">' . sprintf( __( 'Don\'t see what you need? More Payment Gateway options are available <a href="%s">here</a>.', 'easy-digital-downloads' ), $url ) . '</p>';
1523
 
1524
  echo apply_filters( 'edd_after_setting_output', $html, $args );
1525
  }
1761
  if ( $edd_option ) {
1762
  $value = $edd_option;
1763
  } else {
1764
+
1765
  // Properly set default fallback if the Select Field allows Multiple values
1766
  if ( empty( $args['multiple'] ) ) {
1767
  $value = isset( $args['std'] ) ? $args['std'] : '';
1768
  } else {
1769
  $value = ! empty( $args['std'] ) ? $args['std'] : array();
1770
  }
1771
+
1772
  }
1773
 
1774
  if ( isset( $args['placeholder'] ) ) {
1782
  if ( isset( $args['chosen'] ) ) {
1783
  $class .= ' edd-select-chosen';
1784
  }
1785
+
1786
  // If the Select Field allows Multiple values, save as an Array
1787
  $name_attr = 'edd_settings[' . esc_attr( $args['id'] ) . ']';
1788
  $name_attr = ( $args['multiple'] ) ? $name_attr . '[]' : $name_attr;
1790
  $html = '<select id="edd_settings[' . edd_sanitize_key( $args['id'] ) . ']" name="' . $name_attr . '" class="' . $class . '" data-placeholder="' . esc_html( $placeholder ) . '" ' . ( ( $args['multiple'] ) ? 'multiple="true"' : '' ) . '>';
1791
 
1792
  foreach ( $args['options'] as $option => $name ) {
1793
+
1794
  if ( ! $args['multiple'] ) {
1795
  $selected = selected( $option, $value, false );
1796
  $html .= '<option value="' . esc_attr( $option ) . '" ' . $selected . '>' . esc_html( $name ) . '</option>';
1798
  // Do an in_array() check to output selected attribute for Multiple
1799
  $html .= '<option value="' . esc_attr( $option ) . '" ' . ( ( in_array( $option, $value ) ) ? 'selected="true"' : '' ) . '>' . esc_html( $name ) . '</option>';
1800
  }
1801
+
1802
  }
1803
 
1804
  $html .= '</select>';
includes/admin/tools.php CHANGED
@@ -1132,10 +1132,12 @@ function edd_tools_sysinfo_get() {
1132
 
1133
  $return = apply_filters( 'edd_sysinfo_after_user_browser', $return );
1134
 
 
 
1135
  // WordPress configuration
1136
  $return .= "\n" . '-- WordPress Configuration' . "\n\n";
1137
  $return .= 'Version: ' . get_bloginfo( 'version' ) . "\n";
1138
- $return .= 'Language: ' . ( defined( 'WPLANG' ) && WPLANG ? WPLANG : 'en_US' ) . "\n";
1139
  $return .= 'Permalink Structure: ' . ( get_option( 'permalink_structure' ) ? get_option( 'permalink_structure' ) : 'Default' ) . "\n";
1140
  $return .= 'Active Theme: ' . $theme . "\n";
1141
  if ( $parent_theme !== $theme ) {
1132
 
1133
  $return = apply_filters( 'edd_sysinfo_after_user_browser', $return );
1134
 
1135
+ $locale = get_locale();
1136
+
1137
  // WordPress configuration
1138
  $return .= "\n" . '-- WordPress Configuration' . "\n\n";
1139
  $return .= 'Version: ' . get_bloginfo( 'version' ) . "\n";
1140
+ $return .= 'Language: ' . ( !empty( $locale ) ? $locale : 'en_US' ) . "\n";
1141
  $return .= 'Permalink Structure: ' . ( get_option( 'permalink_structure' ) ? get_option( 'permalink_structure' ) : 'Default' ) . "\n";
1142
  $return .= 'Active Theme: ' . $theme . "\n";
1143
  if ( $parent_theme !== $theme ) {
includes/api/class-edd-api.php CHANGED
@@ -331,12 +331,14 @@ class EDD_API {
331
  $secret = $this->get_user_secret_key( $user );
332
  $public = urldecode( $wp_query->query_vars['key'] );
333
 
334
- if ( hash_equals( md5( $secret . $public ), $token ) ) {
 
335
  $this->is_valid_request = true;
336
  } else {
337
  $this->invalid_auth();
338
  return false;
339
  }
 
340
  }
341
  } elseif ( ! empty( $wp_query->query_vars['edd-api'] ) && $this->is_public_query() ) {
342
  $this->is_valid_request = true;
@@ -2270,4 +2272,20 @@ class EDD_API {
2270
  return apply_filters( 'edd_api_log_requests', true );
2271
  }
2272
 
2273
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  $secret = $this->get_user_secret_key( $user );
332
  $public = urldecode( $wp_query->query_vars['key'] );
333
 
334
+ $valid = $this->check_keys( $secret, $public, $token );
335
+ if ( $valid ) {
336
  $this->is_valid_request = true;
337
  } else {
338
  $this->invalid_auth();
339
  return false;
340
  }
341
+
342
  }
343
  } elseif ( ! empty( $wp_query->query_vars['edd-api'] ) && $this->is_public_query() ) {
344
  $this->is_valid_request = true;
2272
  return apply_filters( 'edd_api_log_requests', true );
2273
  }
2274
 
2275
+ /**
2276
+ * Check API keys vs token
2277
+ *
2278
+ * @access public
2279
+ * @since 2.8.2
2280
+ *
2281
+ * @param string $secret Secret key
2282
+ * @param string $public Public key
2283
+ * @param string $token Token used in API request
2284
+ *
2285
+ * @return bool
2286
+ */
2287
+ public function check_keys( $secret, $public, $token ) {
2288
+ return hash_equals( md5( $secret . $public ), $token );
2289
+ }
2290
+
2291
+ }
includes/class-edd-customer-query.php CHANGED
@@ -178,41 +178,42 @@ class EDD_Customer_Query {
178
  * @param string|array $query {
179
  * Optional. Array or query string of customer query parameters. Default empty.
180
  *
181
- * @type int $number Maximum number of customers to retrieve. Default 20.
182
- * @type int $offset Number of customers to offset the query. Default 0.
183
- * @type string|array $orderby Customer status or array of statuses. To use 'meta_value'
184
- * or 'meta_value_num', `$meta_key` must also be provided.
185
- * To sort by a specific `$meta_query` clause, use that
186
- * clause's array key. Accepts 'id', 'user_id', 'name',
187
- * 'email', 'payment_ids', 'purchase_value', 'purchase_count',
188
- * 'notes', 'date_created', 'meta_value', 'meta_value_num',
189
- * the value of `$meta_key`, and the array keys of `$meta_query`.
190
- * Also accepts false, an empty array, or 'none' to disable the
191
- * `ORDER BY` clause. Default 'id'.
192
- * @type string $order How to order retrieved customers. Accepts 'ASC', 'DESC'.
193
- * Default 'DESC'.
194
- * @type string|array $include String or array of customer IDs to include. Default empty.
195
- * @type string|array $exclude String or array of customer IDs to exclude. Default empty.
196
- * @type string|array $users_include String or array of customer user IDs to include. Default
197
- * empty.
198
- * @type string|array $users_exclude String or array of customer user IDs to exclude. Default
199
- * empty.
200
- * @type string|array $email Limit results to those customers affiliated with one of
201
- * the given emails. Default empty.
202
- * @type string $search Search term(s) to retrieve matching customers for. Searches
203
- * through customer names. Default empty.
204
- * @type string $meta_key Include customers with a matching customer meta key.
205
- * Default empty.
206
- * @type string $meta_value Include customers with a matching customer meta value.
207
- * Requires `$meta_key` to be set. Default empty.
208
- * @type array $meta_query Meta query clauses to limit retrieved customers by.
209
- * See `WP_Meta_Query`. Default empty.
210
- * @type array $date_query Date query clauses to limit retrieved customers by.
211
- * See `WP_Date_Query`. Default empty.
212
- * @type bool $count Whether to return a count (true) instead of an array of
213
- * customer objects. Default false.
214
- * @type bool $no_found_rows Whether to disable the `SQL_CALC_FOUND_ROWS` query.
215
- * Default true.
 
216
  * }
217
  */
218
  public function __construct( $query = '', $edd_db_customers = null ) {
@@ -530,7 +531,11 @@ class EDD_Customer_Query {
530
  }
531
 
532
  if ( strlen( $this->query_vars['search'] ) ) {
533
- $search_columns = array( 'name' );
 
 
 
 
534
 
535
  $where['search'] = $this->get_search_sql( $this->query_vars['search'], $search_columns );
536
  }
178
  * @param string|array $query {
179
  * Optional. Array or query string of customer query parameters. Default empty.
180
  *
181
+ * @type int $number Maximum number of customers to retrieve. Default 20.
182
+ * @type int $offset Number of customers to offset the query. Default 0.
183
+ * @type string|array $orderby Customer status or array of statuses. To use 'meta_value'
184
+ * or 'meta_value_num', `$meta_key` must also be provided.
185
+ * To sort by a specific `$meta_query` clause, use that
186
+ * clause's array key. Accepts 'id', 'user_id', 'name',
187
+ * 'email', 'payment_ids', 'purchase_value', 'purchase_count',
188
+ * 'notes', 'date_created', 'meta_value', 'meta_value_num',
189
+ * the value of `$meta_key`, and the array keys of `$meta_query`.
190
+ * Also accepts false, an empty array, or 'none' to disable the
191
+ * `ORDER BY` clause. Default 'id'.
192
+ * @type string $order How to order retrieved customers. Accepts 'ASC', 'DESC'.
193
+ * Default 'DESC'.
194
+ * @type string|array $include String or array of customer IDs to include. Default empty.
195
+ * @type string|array $exclude String or array of customer IDs to exclude. Default empty.
196
+ * @type string|array $users_include String or array of customer user IDs to include. Default
197
+ * empty.
198
+ * @type string|array $users_exclude String or array of customer user IDs to exclude. Default
199
+ * empty.
200
+ * @type string|array $email Limit results to those customers affiliated with one of
201
+ * the given emails. Default empty.
202
+ * @type string $search Search term(s) to retrieve matching customers for. Searches
203
+ * through customer names. Default empty.
204
+ * @type string|array $search_columns Columns to search using the value of `$search`. Default 'name'.
205
+ * @type string $meta_key Include customers with a matching customer meta key.
206
+ * Default empty.
207
+ * @type string $meta_value Include customers with a matching customer meta value.
208
+ * Requires `$meta_key` to be set. Default empty.
209
+ * @type array $meta_query Meta query clauses to limit retrieved customers by.
210
+ * See `WP_Meta_Query`. Default empty.
211
+ * @type array $date_query Date query clauses to limit retrieved customers by.
212
+ * See `WP_Date_Query`. Default empty.
213
+ * @type bool $count Whether to return a count (true) instead of an array of
214
+ * customer objects. Default false.
215
+ * @type bool $no_found_rows Whether to disable the `SQL_CALC_FOUND_ROWS` query.
216
+ * Default true.
217
  * }
218
  */
219
  public function __construct( $query = '', $edd_db_customers = null ) {
531
  }
532
 
533
  if ( strlen( $this->query_vars['search'] ) ) {
534
+ if ( ! empty( $this->query_vars['search_columns'] ) ) {
535
+ $search_columns = array_map( 'sanitize_key', (array) $this->query_vars['search_columns'] );
536
+ } else {
537
+ $search_columns = array( 'name' );
538
+ }
539
 
540
  $where['search'] = $this->get_search_sql( $this->query_vars['search'], $search_columns );
541
  }
includes/class-edd-db-customers.php CHANGED
@@ -470,6 +470,7 @@ class EDD_DB_Customers extends EDD_DB {
470
  public function count( $args = array() ) {
471
  $args = $this->prepare_customer_query_args( $args );
472
  $args['count'] = true;
 
473
 
474
  $query = new EDD_Customer_Query( '', $this );
475
  $results = $query->query( $args );
470
  public function count( $args = array() ) {
471
  $args = $this->prepare_customer_query_args( $args );
472
  $args['count'] = true;
473
+ $args['offset'] = 0;
474
 
475
  $query = new EDD_Customer_Query( '', $this );
476
  $results = $query->query( $args );
includes/class-edd-discount.php CHANGED
@@ -1606,9 +1606,7 @@ class EDD_Discount {
1606
 
1607
  // Ensure we have requirements before proceeding
1608
  if ( ! $return && ! empty( $product_reqs ) ) {
1609
-
1610
- switch( $this->product_condition ) {
1611
-
1612
  case 'all' :
1613
 
1614
  // Default back to true
@@ -1616,7 +1614,7 @@ class EDD_Discount {
1616
 
1617
  foreach ( $product_reqs as $download_id ) {
1618
 
1619
- if( empty( $download_id ) ) {
1620
  continue;
1621
  }
1622
 
@@ -1640,7 +1638,7 @@ class EDD_Discount {
1640
 
1641
  foreach ( $product_reqs as $download_id ) {
1642
 
1643
- if( empty( $download_id ) ) {
1644
  continue;
1645
  }
1646
 
@@ -1666,12 +1664,12 @@ class EDD_Discount {
1666
  }
1667
 
1668
  if ( ! empty( $excluded_ps ) ) {
1669
- if ( $cart_ids == $excluded_ps ) {
 
 
1670
  if ( $set_error ) {
1671
  edd_set_error( 'edd-discount-error', __( 'This discount is not valid for the cart contents.', 'easy-digital-downloads' ) );
1672
  }
1673
-
1674
- $return = false;
1675
  }
1676
  }
1677
 
1606
 
1607
  // Ensure we have requirements before proceeding
1608
  if ( ! $return && ! empty( $product_reqs ) ) {
1609
+ switch ( $this->product_condition ) {
 
 
1610
  case 'all' :
1611
 
1612
  // Default back to true
1614
 
1615
  foreach ( $product_reqs as $download_id ) {
1616
 
1617
+ if ( empty( $download_id ) ) {
1618
  continue;
1619
  }
1620
 
1638
 
1639
  foreach ( $product_reqs as $download_id ) {
1640
 
1641
+ if ( empty( $download_id ) ) {
1642
  continue;
1643
  }
1644
 
1664
  }
1665
 
1666
  if ( ! empty( $excluded_ps ) ) {
1667
+ if ( count( array_intersect( $cart_ids, $excluded_ps ) ) == count( $cart_ids ) ) {
1668
+ $return = false;
1669
+
1670
  if ( $set_error ) {
1671
  edd_set_error( 'edd-discount-error', __( 'This discount is not valid for the cart contents.', 'easy-digital-downloads' ) );
1672
  }
 
 
1673
  }
1674
  }
1675
 
includes/class-edd-session.php CHANGED
@@ -156,7 +156,7 @@ class EDD_Session {
156
  * @access public
157
  * @since 1.5
158
  * @param string $key Session key
159
- * @return string Session variable
160
  */
161
  public function get( $key ) {
162
  $key = sanitize_key( $key );
@@ -169,8 +169,8 @@ class EDD_Session {
169
  * @since 1.5
170
  *
171
  * @param string $key Session key
172
- * @param integer $value Session variable
173
- * @return string Session variable
174
  */
175
  public function set( $key, $value ) {
176
 
156
  * @access public
157
  * @since 1.5
158
  * @param string $key Session key
159
+ * @return mixed Session variable
160
  */
161
  public function get( $key ) {
162
  $key = sanitize_key( $key );
169
  * @since 1.5
170
  *
171
  * @param string $key Session key
172
+ * @param int|string|array $value Session variable
173
+ * @return mixed Session variable
174
  */
175
  public function set( $key, $value ) {
176
 
includes/payments/functions.php CHANGED
@@ -1430,11 +1430,19 @@ function edd_set_payment_transaction_id( $payment_id = 0, $transaction_id = '' )
1430
  */
1431
  function edd_get_purchase_id_by_key( $key ) {
1432
  global $wpdb;
 
 
 
 
 
 
1433
 
1434
  $purchase = $wpdb->get_var( $wpdb->prepare( "SELECT post_id FROM $wpdb->postmeta WHERE meta_key = '_edd_payment_purchase_key' AND meta_value = %s LIMIT 1", $key ) );
1435
 
1436
- if ( $purchase != NULL )
1437
- return $purchase;
 
 
1438
 
1439
  return 0;
1440
  }
1430
  */
1431
  function edd_get_purchase_id_by_key( $key ) {
1432
  global $wpdb;
1433
+ $global_key_string = 'edd_purchase_id_by_key' . $key;
1434
+ global $$global_key_string;
1435
+
1436
+ if ( null !== $$global_key_string ) {
1437
+ return $$global_key_string;
1438
+ }
1439
 
1440
  $purchase = $wpdb->get_var( $wpdb->prepare( "SELECT post_id FROM $wpdb->postmeta WHERE meta_key = '_edd_payment_purchase_key' AND meta_value = %s LIMIT 1", $key ) );
1441
 
1442
+ if ( $purchase != NULL ) {
1443
+ $$global_key_string = $purchase;
1444
+ return $$global_key_string;
1445
+ }
1446
 
1447
  return 0;
1448
  }
includes/process-purchase.php CHANGED
@@ -877,7 +877,7 @@ function edd_purchase_form_validate_cc() {
877
  $card_data = edd_get_purchase_cc_info();
878
 
879
  // Validate the card zip
880
- if ( ! empty( $card_data['card_zip'] ) ) {
881
  if ( ! edd_purchase_form_validate_cc_zip( $card_data['card_zip'], $card_data['card_country'] ) ) {
882
  edd_set_error( 'invalid_cc_zip', __( 'The zip / postal code you entered for your billing address is invalid', 'easy-digital-downloads' ) );
883
  }
877
  $card_data = edd_get_purchase_cc_info();
878
 
879
  // Validate the card zip
880
+ if ( ! empty( $card_data['card_zip'] ) && edd_get_cart_total() > 0.00 ) {
881
  if ( ! edd_purchase_form_validate_cc_zip( $card_data['card_zip'], $card_data['card_country'] ) ) {
882
  edd_set_error( 'invalid_cc_zip', __( 'The zip / postal code you entered for your billing address is invalid', 'easy-digital-downloads' ) );
883
  }
includes/scripts.php CHANGED
@@ -42,7 +42,10 @@ function edd_load_scripts() {
42
  if ( edd_is_checkout() ) {
43
  if ( edd_is_cc_verify_enabled() ) {
44
  wp_register_script( 'creditCardValidator', $js_dir . 'jquery.creditCardValidator' . $suffix . '.js', array( 'jquery' ), EDD_VERSION, true );
 
 
45
  wp_enqueue_script( 'creditCardValidator' );
 
46
  }
47
 
48
  wp_register_script( 'edd-checkout-global', $js_dir . 'edd-checkout-global' . $suffix . '.js', array( 'jquery' ), EDD_VERSION, true );
42
  if ( edd_is_checkout() ) {
43
  if ( edd_is_cc_verify_enabled() ) {
44
  wp_register_script( 'creditCardValidator', $js_dir . 'jquery.creditCardValidator' . $suffix . '.js', array( 'jquery' ), EDD_VERSION, true );
45
+ wp_register_script( 'jQuery.payment', $js_dir . 'jquery.payment.min.js', array( 'jquery' ), EDD_VERSION, true );
46
+
47
  wp_enqueue_script( 'creditCardValidator' );
48
+ wp_enqueue_script( 'jQuery.payment' );
49
  }
50
 
51
  wp_register_script( 'edd-checkout-global', $js_dir . 'edd-checkout-global' . $suffix . '.js', array( 'jquery' ), EDD_VERSION, true );
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.8\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
- "POT-Creation-Date: 2017-07-25 19:43:55+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -87,8 +87,8 @@ msgstr ""
87
  #: includes/admin/upgrades/upgrade-functions.php:885
88
  #: includes/admin/upgrades/upgrade-functions.php:1013
89
  #: includes/admin/upgrades/upgrade-functions.php:1098
90
- #: includes/api/class-edd-api.php:1986 includes/api/class-edd-api.php:1991
91
- #: includes/api/class-edd-api.php:2003 includes/api/class-edd-api.php:2005
92
  #: includes/cart/class-edd-cart.php:1461 includes/cart/class-edd-cart.php:1475
93
  #: includes/class-edd-license-handler.php:307
94
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
@@ -384,7 +384,7 @@ msgid "Failed to set primary email"
384
  msgstr ""
385
 
386
  #: includes/admin/customers/class-customer-table.php:72
387
- #: includes/admin/payments/class-payments-table.php:256
388
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:146
389
  #: includes/admin/reporting/class-sales-logs-list-table.php:131
390
  msgid "Customer"
@@ -405,9 +405,9 @@ msgstr ""
405
  #: includes/admin/customers/class-customer-table.php:161
406
  #: includes/admin/discounts/class-discount-codes-table.php:221
407
  #: includes/admin/discounts/class-discount-codes-table.php:289
408
- #: includes/admin/payments/class-payments-table.php:352
409
- #: includes/admin/payments/class-payments-table.php:424
410
- #: includes/payments/functions.php:1574
411
  msgid "Delete"
412
  msgstr ""
413
 
@@ -514,7 +514,7 @@ msgstr ""
514
  #: includes/admin/import/import-functions.php:31
515
  #: includes/admin/import/import-functions.php:113
516
  #: includes/admin/reporting/export/export-actions.php:23
517
- #: includes/api/class-edd-api.php:1986
518
  #: includes/class-edd-license-handler.php:307
519
  msgid "Nonce verification failed"
520
  msgstr ""
@@ -667,7 +667,7 @@ msgid ""
667
  msgstr ""
668
 
669
  #: includes/admin/customers/customers.php:378
670
- #: includes/admin/payments/class-payments-table.php:252
671
  #: includes/admin/payments/view-order-details.php:652
672
  #: includes/admin/reporting/class-export-customers.php:68
673
  #: includes/admin/reporting/class-export-customers.php:79
@@ -700,7 +700,7 @@ msgstr ""
700
  #: includes/admin/downloads/metabox.php:698
701
  #: includes/admin/downloads/metabox.php:823
702
  #: includes/admin/payments/view-order-details.php:478
703
- #: includes/admin/settings/register-settings.php:2004 includes/scripts.php:222
704
  #: templates/checkout_cart.php:57 templates/checkout_cart.php:75
705
  #: templates/shortcode-profile-editor.php:123
706
  msgid "Remove"
@@ -724,7 +724,7 @@ msgid "Recent Payments"
724
  msgstr ""
725
 
726
  #: includes/admin/customers/customers.php:434
727
- #: includes/admin/payments/class-payments-table.php:251
728
  #: includes/admin/reporting/class-export-payments.php:61
729
  #: includes/admin/reporting/class-export.php:69
730
  #: includes/admin/reporting/export/class-batch-export-customers.php:42
@@ -737,7 +737,7 @@ msgstr ""
737
  #: includes/admin/discounts/add-discount.php:56
738
  #: includes/admin/discounts/class-discount-codes-table.php:147
739
  #: includes/admin/discounts/edit-discount.php:70
740
- #: includes/admin/payments/class-payments-table.php:254
741
  #: includes/admin/reporting/class-export-payments.php:74
742
  #: includes/admin/reporting/export/class-batch-export-payments.php:55
743
  #: templates/history-purchases.php:20
@@ -746,7 +746,7 @@ msgstr ""
746
 
747
  #: includes/admin/customers/customers.php:436
748
  #: includes/admin/downloads/dashboard-columns.php:37
749
- #: includes/admin/payments/class-payments-table.php:255
750
  #: includes/admin/reporting/class-api-requests-logs-list-table.php:94
751
  #: includes/admin/reporting/class-export-download-history.php:64
752
  #: includes/admin/reporting/class-export-payments.php:80
@@ -766,7 +766,7 @@ msgstr ""
766
  #: includes/admin/customers/customers.php:437
767
  #: includes/admin/discounts/class-discount-codes-table.php:151
768
  #: includes/admin/discounts/edit-discount.php:175
769
- #: includes/admin/payments/class-payments-table.php:257
770
  #: includes/admin/reporting/class-export-payments.php:82
771
  #: includes/admin/reporting/export/class-batch-export-downloads.php:49
772
  #: includes/admin/reporting/export/class-batch-export-payments.php:66
@@ -921,8 +921,7 @@ msgid "Go Back"
921
  msgstr ""
922
 
923
  #: includes/admin/discounts/add-discount.php:27
924
- #: includes/admin/discounts/edit-discount.php:41
925
- msgid "The name of this discount"
926
  msgstr ""
927
 
928
  #: includes/admin/discounts/add-discount.php:33
@@ -1036,10 +1035,9 @@ msgid "Expiration date"
1036
  msgstr ""
1037
 
1038
  #: includes/admin/discounts/add-discount.php:134
1039
- #: includes/admin/discounts/edit-discount.php:149
1040
  msgid ""
1041
  "Enter the expiration date for this discount code in the format of "
1042
- "mm/dd/yyyy. For no expiration, leave blank"
1043
  msgstr ""
1044
 
1045
  #: includes/admin/discounts/add-discount.php:140
@@ -1081,7 +1079,7 @@ msgid "Add Discount Code"
1081
  msgstr ""
1082
 
1083
  #: includes/admin/discounts/class-discount-codes-table.php:127
1084
- #: includes/admin/payments/class-payments-table.php:229
1085
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:348
1086
  #: includes/admin/reporting/class-sales-logs-list-table.php:290
1087
  msgid "All"
@@ -1306,7 +1304,7 @@ msgid "Add New"
1306
  msgstr ""
1307
 
1308
  #: includes/admin/discounts/discount-codes.php:36
1309
- #: includes/admin/payments/class-payments-table.php:173
1310
  #: includes/admin/reporting/logs.php:62 includes/admin/reporting/logs.php:122
1311
  msgid "Search"
1312
  msgstr ""
@@ -1319,6 +1317,16 @@ msgstr ""
1319
  msgid "Edit Discount"
1320
  msgstr ""
1321
 
 
 
 
 
 
 
 
 
 
 
1322
  #: includes/admin/discounts/edit-discount.php:182
1323
  msgid "The status of this discount code."
1324
  msgstr ""
@@ -1510,7 +1518,7 @@ msgstr ""
1510
  msgid "Price ID: %s"
1511
  msgstr ""
1512
 
1513
- #: includes/admin/downloads/metabox.php:433 includes/scripts.php:229
1514
  msgid "Show advanced settings"
1515
  msgstr ""
1516
 
@@ -1835,114 +1843,123 @@ msgstr ""
1835
  msgid "Error Updating Payment"
1836
  msgstr ""
1837
 
1838
- #: includes/admin/payments/class-payments-table.php:134
1839
  msgid "All Gateways"
1840
  msgstr ""
1841
 
1842
- #: includes/admin/payments/class-payments-table.php:143
1843
  msgid "Start Date:"
1844
  msgstr ""
1845
 
1846
- #: includes/admin/payments/class-payments-table.php:145
1847
  msgid "End Date:"
1848
  msgstr ""
1849
 
1850
- #: includes/admin/payments/class-payments-table.php:164
1851
  #: includes/admin/reporting/logs.php:179
1852
  msgid "Apply"
1853
  msgstr ""
1854
 
1855
- #: includes/admin/payments/class-payments-table.php:170
1856
  msgid "Clear Filter"
1857
  msgstr ""
1858
 
1859
- #: includes/admin/payments/class-payments-table.php:230
1860
  msgid "Completed"
1861
  msgstr ""
1862
 
1863
- #: includes/admin/payments/class-payments-table.php:231
1864
  #: includes/payments/functions.php:737
1865
  msgid "Pending"
1866
  msgstr ""
1867
 
1868
- #: includes/admin/payments/class-payments-table.php:232
 
 
 
 
 
1869
  #: includes/payments/functions.php:739
1870
  msgid "Refunded"
1871
  msgstr ""
1872
 
1873
- #: includes/admin/payments/class-payments-table.php:233
1874
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:68
1875
  #: includes/payments/functions.php:742
1876
  msgid "Revoked"
1877
  msgstr ""
1878
 
1879
- #: includes/admin/payments/class-payments-table.php:234
1880
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:70
1881
  #: includes/payments/functions.php:740
1882
  msgid "Failed"
1883
  msgstr ""
1884
 
1885
- #: includes/admin/payments/class-payments-table.php:235
1886
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:69
1887
  #: includes/payments/functions.php:741
1888
  msgid "Abandoned"
1889
  msgstr ""
1890
 
1891
- #: includes/admin/payments/class-payments-table.php:253
1892
  #: templates/history-purchases.php:21
1893
  msgid "Details"
1894
  msgstr ""
1895
 
1896
- #: includes/admin/payments/class-payments-table.php:318
1897
  #: includes/admin/payments/payments-history.php:90
1898
  msgid "View Order Details"
1899
  msgstr ""
1900
 
1901
- #: includes/admin/payments/class-payments-table.php:349
1902
  msgid "Resend Purchase Receipt"
1903
  msgstr ""
1904
 
1905
- #: includes/admin/payments/class-payments-table.php:357
1906
  msgid "(unknown)"
1907
  msgstr ""
1908
 
1909
- #: includes/admin/payments/class-payments-table.php:410
1910
  msgid "(customer missing)"
1911
  msgstr ""
1912
 
1913
- #: includes/admin/payments/class-payments-table.php:425
1914
  msgid "Set To Completed"
1915
  msgstr ""
1916
 
1917
- #: includes/admin/payments/class-payments-table.php:426
1918
  msgid "Set To Pending"
1919
  msgstr ""
1920
 
1921
- #: includes/admin/payments/class-payments-table.php:427
 
 
 
 
1922
  msgid "Set To Refunded"
1923
  msgstr ""
1924
 
1925
- #: includes/admin/payments/class-payments-table.php:428
1926
  msgid "Set To Revoked"
1927
  msgstr ""
1928
 
1929
- #: includes/admin/payments/class-payments-table.php:429
1930
  msgid "Set To Failed"
1931
  msgstr ""
1932
 
1933
- #: includes/admin/payments/class-payments-table.php:430
1934
  msgid "Set To Abandoned"
1935
  msgstr ""
1936
 
1937
- #: includes/admin/payments/class-payments-table.php:431
1938
  msgid "Set To Preapproval"
1939
  msgstr ""
1940
 
1941
- #: includes/admin/payments/class-payments-table.php:432
1942
  msgid "Set To Cancelled"
1943
  msgstr ""
1944
 
1945
- #: includes/admin/payments/class-payments-table.php:433
1946
  msgid "Resend Email Receipts"
1947
  msgstr ""
1948
 
@@ -2721,7 +2738,7 @@ msgstr ""
2721
 
2722
  #: includes/admin/reporting/export/class-batch-export-downloads.php:56
2723
  #: includes/emails/class-edd-email-tags.php:411
2724
- #: includes/emails/class-edd-email-tags.php:532
2725
  #: templates/shortcode-receipt.php:125
2726
  msgid "SKU"
2727
  msgstr ""
@@ -3355,7 +3372,7 @@ msgid "Thousands Separator"
3355
  msgstr ""
3356
 
3357
  #: includes/admin/settings/register-settings.php:359
3358
- msgid "The symbol (usually , or .) to separate thousands"
3359
  msgstr ""
3360
 
3361
  #: includes/admin/settings/register-settings.php:366
@@ -3363,7 +3380,7 @@ msgid "Decimal Separator"
3363
  msgstr ""
3364
 
3365
  #: includes/admin/settings/register-settings.php:367
3366
- msgid "The symbol (usually , or .) to separate decimal points"
3367
  msgstr ""
3368
 
3369
  #: includes/admin/settings/register-settings.php:376
@@ -3426,13 +3443,13 @@ msgid "Accepted Payment Method Icons"
3426
  msgstr ""
3427
 
3428
  #: includes/admin/settings/register-settings.php:423
3429
- msgid "Display icons for the selected payment methods"
3430
  msgstr ""
3431
 
3432
  #: includes/admin/settings/register-settings.php:423
3433
  msgid ""
3434
  "You will also need to configure your gateway settings if you are accepting "
3435
- "credit cards"
3436
  msgstr ""
3437
 
3438
  #: includes/admin/settings/register-settings.php:443
@@ -3480,7 +3497,7 @@ msgid "Purchase Email Subject"
3480
  msgstr ""
3481
 
3482
  #: includes/admin/settings/register-settings.php:485
3483
- msgid "Enter the subject line for the purchase receipt email"
3484
  msgstr ""
3485
 
3486
  #: includes/admin/settings/register-settings.php:487
@@ -3497,7 +3514,7 @@ msgid "Purchase Email Heading"
3497
  msgstr ""
3498
 
3499
  #: includes/admin/settings/register-settings.php:492
3500
- msgid "Enter the heading for the purchase receipt email"
3501
  msgstr ""
3502
 
3503
  #: includes/admin/settings/register-settings.php:499
@@ -3524,7 +3541,7 @@ msgid "Sale Notification Subject"
3524
  msgstr ""
3525
 
3526
  #: includes/admin/settings/register-settings.php:508
3527
- msgid "Enter the subject line for the sale notification email"
3528
  msgstr ""
3529
 
3530
  #: includes/admin/settings/register-settings.php:514
@@ -3544,7 +3561,7 @@ msgstr ""
3544
  #: includes/admin/settings/register-settings.php:522
3545
  msgid ""
3546
  "Enter the email address(es) that should receive a notification anytime a "
3547
- "sale is made, one per line"
3548
  msgstr ""
3549
 
3550
  #: includes/admin/settings/register-settings.php:528
@@ -3737,11 +3754,13 @@ msgid ""
3737
  msgstr ""
3738
 
3739
  #: includes/admin/settings/register-settings.php:659
3740
- msgid "Item Quantities"
3741
  msgstr ""
3742
 
3743
  #: includes/admin/settings/register-settings.php:660
3744
- msgid "Allow item quantities to be changed."
 
 
3745
  msgstr ""
3746
 
3747
  #: includes/admin/settings/register-settings.php:665
@@ -4067,7 +4086,7 @@ msgid "Main"
4067
  msgstr ""
4068
 
4069
  #: includes/admin/settings/register-settings.php:1276 includes/install.php:92
4070
- #: includes/template-functions.php:194 templates/widget-cart-checkout.php:6
4071
  #: templates/widget-cart-empty.php:7
4072
  msgid "Checkout"
4073
  msgstr ""
@@ -4087,7 +4106,7 @@ msgstr ""
4087
  #: includes/admin/settings/register-settings.php:1522
4088
  msgid ""
4089
  "Don't see what you need? More Payment Gateway options are available <a "
4090
- "href=\"%s\">here</a>"
4091
  msgstr ""
4092
 
4093
  #: includes/admin/settings/register-settings.php:1743
@@ -4304,7 +4323,7 @@ msgstr ""
4304
  msgid "Use these tools to recount / reset store stats."
4305
  msgstr ""
4306
 
4307
- #: includes/admin/tools.php:144 includes/scripts.php:84
4308
  msgid "Please select an option"
4309
  msgstr ""
4310
 
@@ -4758,89 +4777,89 @@ msgstr ""
4758
  msgid "All Prices"
4759
  msgstr ""
4760
 
4761
- #: includes/api/class-edd-api-v2.php:143 includes/api/class-edd-api.php:1062
4762
- #: includes/api/class-edd-api.php:1246 includes/api/class-edd-api.php:1428
4763
  msgid "Product %s not found!"
4764
  msgstr ""
4765
 
4766
- #: includes/api/class-edd-api-v2.php:218 includes/api/class-edd-api.php:1167
4767
- #: includes/api/class-edd-api.php:1263
4768
  msgid "The end date must be later than the start date!"
4769
  msgstr ""
4770
 
4771
- #: includes/api/class-edd-api-v2.php:319 includes/api/class-edd-api.php:1003
4772
  msgid "Customer %s not found!"
4773
  msgstr ""
4774
 
4775
- #: includes/api/class-edd-api-v2.php:324 includes/api/class-edd-api.php:1008
4776
  msgid "No customers found!"
4777
  msgstr ""
4778
 
4779
- #: includes/api/class-edd-api.php:463
4780
  msgid "You must specify both a token and API key!"
4781
  msgstr ""
4782
 
4783
- #: includes/api/class-edd-api.php:480
4784
  msgid "Your request could not be authenticated!"
4785
  msgstr ""
4786
 
4787
- #: includes/api/class-edd-api.php:498
4788
  msgid "Invalid API key!"
4789
  msgstr ""
4790
 
4791
- #: includes/api/class-edd-api.php:514
4792
  msgid "Invalid API version!"
4793
  msgstr ""
4794
 
4795
- #: includes/api/class-edd-api.php:688
4796
  msgid "Invalid query!"
4797
  msgstr ""
4798
 
4799
- #: includes/api/class-edd-api.php:1172 includes/api/class-edd-api.php:1268
4800
  msgid "Invalid or no date range specified!"
4801
  msgstr ""
4802
 
4803
- #: includes/api/class-edd-api.php:1574
4804
  msgid "No discounts found!"
4805
  msgstr ""
4806
 
4807
- #: includes/api/class-edd-api.php:1621
4808
  msgid "Discount %s not found!"
4809
  msgstr ""
4810
 
4811
- #: includes/api/class-edd-api.php:1694
4812
  msgid "No download logs found!"
4813
  msgstr ""
4814
 
4815
- #: includes/api/class-edd-api.php:1950 includes/user-functions.php:1047
4816
  msgid "Easy Digital Downloads API Keys"
4817
  msgstr ""
4818
 
4819
- #: includes/api/class-edd-api.php:1959 includes/user-functions.php:1052
4820
  msgid "Generate API Key"
4821
  msgstr ""
4822
 
4823
- #: includes/api/class-edd-api.php:1961 includes/user-functions.php:1054
4824
  msgid "Public key:"
4825
  msgstr ""
4826
 
4827
- #: includes/api/class-edd-api.php:1962 includes/user-functions.php:1055
4828
  msgid "Secret key:"
4829
  msgstr ""
4830
 
4831
- #: includes/api/class-edd-api.php:1963 includes/user-functions.php:1056
4832
  msgid "Token:"
4833
  msgstr ""
4834
 
4835
- #: includes/api/class-edd-api.php:1965 includes/user-functions.php:1058
4836
  msgid "Revoke API Keys"
4837
  msgstr ""
4838
 
4839
- #: includes/api/class-edd-api.php:1991
4840
  msgid "User ID Required"
4841
  msgstr ""
4842
 
4843
- #: includes/api/class-edd-api.php:2003 includes/api/class-edd-api.php:2005
4844
  msgid "You do not have permission to %s API keys for this user"
4845
  msgstr ""
4846
 
@@ -5112,7 +5131,7 @@ msgid "Enter a coupon code if you have one."
5112
  msgstr ""
5113
 
5114
  #: includes/checkout/template.php:748 includes/process-purchase.php:350
5115
- #: includes/scripts.php:61
5116
  msgid "Enter discount"
5117
  msgstr ""
5118
 
@@ -5475,7 +5494,7 @@ msgstr ""
5475
  msgid "Minimum order of %s not met."
5476
  msgstr ""
5477
 
5478
- #: includes/class-edd-discount.php:1626 includes/class-edd-discount.php:1655
5479
  msgid "The product requirements for this discount are not met."
5480
  msgstr ""
5481
 
@@ -5483,15 +5502,15 @@ msgstr ""
5483
  msgid "This discount is not valid for the cart contents."
5484
  msgstr ""
5485
 
5486
- #: includes/class-edd-discount.php:1763
5487
  msgid "This discount has already been redeemed."
5488
  msgstr ""
5489
 
5490
- #: includes/class-edd-discount.php:1844
5491
  msgid "This discount is expired."
5492
  msgstr ""
5493
 
5494
- #: includes/class-edd-discount.php:1849
5495
  msgid "This discount is not active."
5496
  msgstr ""
5497
 
@@ -5499,7 +5518,7 @@ msgstr ""
5499
  msgid "New Download Product"
5500
  msgstr ""
5501
 
5502
- #: includes/class-edd-html-elements.php:44 includes/scripts.php:212
5503
  msgid "Choose a %s"
5504
  msgstr ""
5505
 
@@ -5985,17 +6004,17 @@ msgid "The buyer's IP Address"
5985
  msgstr ""
5986
 
5987
  #: includes/emails/class-edd-email-tags.php:407
5988
- #: includes/emails/class-edd-email-tags.php:528
5989
  #: templates/shortcode-receipt.php:128
5990
  msgid "Quantity"
5991
  msgstr ""
5992
 
5993
- #: includes/emails/class-edd-email-tags.php:465
5994
  #: templates/history-downloads.php:74 templates/shortcode-receipt.php:205
5995
  msgid "No downloadable files found."
5996
  msgstr ""
5997
 
5998
- #: includes/emails/class-edd-email-tags.php:856
5999
  msgid "%1$sView it in your browser %2$s"
6000
  msgstr ""
6001
 
@@ -6692,7 +6711,7 @@ msgstr ""
6692
  msgid "Complete"
6693
  msgstr ""
6694
 
6695
- #: includes/payments/functions.php:1559
6696
  msgid "EDD Bot"
6697
  msgstr ""
6698
 
@@ -7014,7 +7033,7 @@ msgstr ""
7014
  msgid "File not found"
7015
  msgstr ""
7016
 
7017
- #: includes/process-purchase.php:31 includes/scripts.php:82
7018
  msgid "Your cart is empty"
7019
  msgstr ""
7020
 
@@ -7116,151 +7135,151 @@ msgstr ""
7116
  msgid "You do not have permission to view this file."
7117
  msgstr ""
7118
 
7119
- #: includes/scripts.php:59
7120
  msgid "Please select a payment method"
7121
  msgstr ""
7122
 
7123
- #: includes/scripts.php:60
7124
  msgid "Please enter a discount code"
7125
  msgstr ""
7126
 
7127
- #: includes/scripts.php:62
7128
  msgid "Discount Applied"
7129
  msgstr ""
7130
 
7131
- #: includes/scripts.php:63
7132
  msgid "Please enter an email address before applying a discount code"
7133
  msgstr ""
7134
 
7135
- #: includes/scripts.php:64
7136
  msgid "Please enter a username before applying a discount code"
7137
  msgstr ""
7138
 
7139
- #: includes/scripts.php:65
7140
  msgid "Please Wait..."
7141
  msgstr ""
7142
 
7143
- #: includes/scripts.php:81
7144
  msgid "You have already added this item to your cart"
7145
  msgstr ""
7146
 
7147
- #: includes/scripts.php:83 includes/template-functions.php:189
7148
  msgid "Loading"
7149
  msgstr ""
7150
 
7151
- #: includes/scripts.php:198
7152
  msgid "Add New Download"
7153
  msgstr ""
7154
 
7155
- #: includes/scripts.php:199
7156
  msgid "Use This File"
7157
  msgstr ""
7158
 
7159
- #: includes/scripts.php:200
7160
  msgid "Sorry, not available for variable priced products."
7161
  msgstr ""
7162
 
7163
- #: includes/scripts.php:201
7164
  msgid "Are you sure you wish to delete this payment?"
7165
  msgstr ""
7166
 
7167
- #: includes/scripts.php:202
7168
  msgid "Are you sure you wish to delete this note?"
7169
  msgstr ""
7170
 
7171
- #: includes/scripts.php:203
7172
  msgid "Are you sure you wish to delete this tax rate?"
7173
  msgstr ""
7174
 
7175
- #: includes/scripts.php:204
7176
  msgid "Are you sure you wish to revoke this API key?"
7177
  msgstr ""
7178
 
7179
- #: includes/scripts.php:205
7180
  msgid "Are you sure you wish to regenerate this API key?"
7181
  msgstr ""
7182
 
7183
- #: includes/scripts.php:206
7184
  msgid "Are you sure you wish to resend the purchase receipt?"
7185
  msgstr ""
7186
 
7187
- #: includes/scripts.php:207
7188
  msgid "Copy these links to your clipboard and give them to your customer"
7189
  msgstr ""
7190
 
7191
- #: includes/scripts.php:208
7192
  msgid "Are you sure you wish to delete this %s?"
7193
  msgstr ""
7194
 
7195
- #: includes/scripts.php:209
7196
  msgid "You must have at least one price"
7197
  msgstr ""
7198
 
7199
- #: includes/scripts.php:210
7200
  msgid "You must have at least one field"
7201
  msgstr ""
7202
 
7203
- #: includes/scripts.php:211
7204
  msgid "Payments must contain at least one item"
7205
  msgstr ""
7206
 
7207
- #: includes/scripts.php:213
7208
  msgid "Choose one or more %s"
7209
  msgstr ""
7210
 
7211
- #: includes/scripts.php:214
7212
  msgid "Item price must be numeric"
7213
  msgstr ""
7214
 
7215
- #: includes/scripts.php:215
7216
  msgid "Item tax must be numeric"
7217
  msgstr ""
7218
 
7219
- #: includes/scripts.php:216
7220
  msgid "Quantity must be numeric"
7221
  msgstr ""
7222
 
7223
- #: includes/scripts.php:223
7224
  msgid "Type to search %s"
7225
  msgstr ""
7226
 
7227
- #: includes/scripts.php:225
7228
  msgid "You must choose a method."
7229
  msgstr ""
7230
 
7231
- #: includes/scripts.php:226
7232
  msgid "Required fields not completed."
7233
  msgstr ""
7234
 
7235
- #: includes/scripts.php:227
7236
  msgid ""
7237
  "Are you sure you want to reset your store? This process is <strong><em>not "
7238
  "reversible</em></strong>. Please be sure you have a recent backup."
7239
  msgstr ""
7240
 
7241
- #: includes/scripts.php:228
7242
  msgid ""
7243
  "We are sorry but your browser is not compatible with this kind of file "
7244
  "upload. Please upgrade your browser."
7245
  msgstr ""
7246
 
7247
- #: includes/scripts.php:230
7248
  msgid "Hide advanced settings"
7249
  msgstr ""
7250
 
7251
- #: includes/scripts.php:241
7252
  msgid "Purchase Limit Settings"
7253
  msgstr ""
7254
 
7255
- #: includes/scripts.php:242
7256
  msgid "Simple Shipping Settings"
7257
  msgstr ""
7258
 
7259
- #: includes/scripts.php:243
7260
  msgid "Software Licensing Settings"
7261
  msgstr ""
7262
 
7263
- #: includes/scripts.php:244
7264
  msgid "Recurring Payments Settings"
7265
  msgstr ""
7266
 
@@ -7300,59 +7319,59 @@ msgstr ""
7300
  msgid "Free"
7301
  msgstr ""
7302
 
7303
- #: includes/template-functions.php:203
7304
  msgid "Added to cart"
7305
  msgstr ""
7306
 
7307
- #: includes/template-functions.php:209
7308
  msgid "Includes %1$s&#37; tax"
7309
  msgstr ""
7310
 
7311
- #: includes/template-functions.php:211
7312
  msgid "Excluding %1$s&#37; tax"
7313
  msgstr ""
7314
 
7315
- #: includes/template-functions.php:496
7316
  msgid "White"
7317
  msgstr ""
7318
 
7319
- #: includes/template-functions.php:500
7320
  msgid "Gray"
7321
  msgstr ""
7322
 
7323
- #: includes/template-functions.php:504
7324
  msgid "Blue"
7325
  msgstr ""
7326
 
7327
- #: includes/template-functions.php:508
7328
  msgid "Red"
7329
  msgstr ""
7330
 
7331
- #: includes/template-functions.php:512
7332
  msgid "Green"
7333
  msgstr ""
7334
 
7335
- #: includes/template-functions.php:516
7336
  msgid "Yellow"
7337
  msgstr ""
7338
 
7339
- #: includes/template-functions.php:520
7340
  msgid "Orange"
7341
  msgstr ""
7342
 
7343
- #: includes/template-functions.php:524
7344
  msgid "Dark Gray"
7345
  msgstr ""
7346
 
7347
- #: includes/template-functions.php:528
7348
  msgid "Inherit"
7349
  msgstr ""
7350
 
7351
- #: includes/template-functions.php:546
7352
  msgid "Button"
7353
  msgstr ""
7354
 
7355
- #: includes/template-functions.php:547
7356
  msgid "Plain Text"
7357
  msgstr ""
7358
 
@@ -7824,7 +7843,7 @@ msgctxt "error shown when attempting to use a discount before its start date"
7824
  msgid "This discount is invalid."
7825
  msgstr ""
7826
 
7827
- #: includes/class-edd-discount.php:1812
7828
  msgctxt "error for when a discount is invalid based on its configuration"
7829
  msgid "This discount is invalid."
7830
  msgstr ""
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.8.2\n"
6
  "Report-Msgid-Bugs-To: https://easydigitaldownloads.com/\n"
7
+ "POT-Creation-Date: 2017-08-08 16:47:15+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
87
  #: includes/admin/upgrades/upgrade-functions.php:885
88
  #: includes/admin/upgrades/upgrade-functions.php:1013
89
  #: includes/admin/upgrades/upgrade-functions.php:1098
90
+ #: includes/api/class-edd-api.php:1988 includes/api/class-edd-api.php:1993
91
+ #: includes/api/class-edd-api.php:2005 includes/api/class-edd-api.php:2007
92
  #: includes/cart/class-edd-cart.php:1461 includes/cart/class-edd-cart.php:1475
93
  #: includes/class-edd-license-handler.php:307
94
  #: includes/deprecated-functions.php:517 includes/deprecated-functions.php:532
384
  msgstr ""
385
 
386
  #: includes/admin/customers/class-customer-table.php:72
387
+ #: includes/admin/payments/class-payments-table.php:266
388
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:146
389
  #: includes/admin/reporting/class-sales-logs-list-table.php:131
390
  msgid "Customer"
405
  #: includes/admin/customers/class-customer-table.php:161
406
  #: includes/admin/discounts/class-discount-codes-table.php:221
407
  #: includes/admin/discounts/class-discount-codes-table.php:289
408
+ #: includes/admin/payments/class-payments-table.php:362
409
+ #: includes/admin/payments/class-payments-table.php:434
410
+ #: includes/payments/functions.php:1583
411
  msgid "Delete"
412
  msgstr ""
413
 
514
  #: includes/admin/import/import-functions.php:31
515
  #: includes/admin/import/import-functions.php:113
516
  #: includes/admin/reporting/export/export-actions.php:23
517
+ #: includes/api/class-edd-api.php:1988
518
  #: includes/class-edd-license-handler.php:307
519
  msgid "Nonce verification failed"
520
  msgstr ""
667
  msgstr ""
668
 
669
  #: includes/admin/customers/customers.php:378
670
+ #: includes/admin/payments/class-payments-table.php:262
671
  #: includes/admin/payments/view-order-details.php:652
672
  #: includes/admin/reporting/class-export-customers.php:68
673
  #: includes/admin/reporting/class-export-customers.php:79
700
  #: includes/admin/downloads/metabox.php:698
701
  #: includes/admin/downloads/metabox.php:823
702
  #: includes/admin/payments/view-order-details.php:478
703
+ #: includes/admin/settings/register-settings.php:2004 includes/scripts.php:221
704
  #: templates/checkout_cart.php:57 templates/checkout_cart.php:75
705
  #: templates/shortcode-profile-editor.php:123
706
  msgid "Remove"
724
  msgstr ""
725
 
726
  #: includes/admin/customers/customers.php:434
727
+ #: includes/admin/payments/class-payments-table.php:261
728
  #: includes/admin/reporting/class-export-payments.php:61
729
  #: includes/admin/reporting/class-export.php:69
730
  #: includes/admin/reporting/export/class-batch-export-customers.php:42
737
  #: includes/admin/discounts/add-discount.php:56
738
  #: includes/admin/discounts/class-discount-codes-table.php:147
739
  #: includes/admin/discounts/edit-discount.php:70
740
+ #: includes/admin/payments/class-payments-table.php:264
741
  #: includes/admin/reporting/class-export-payments.php:74
742
  #: includes/admin/reporting/export/class-batch-export-payments.php:55
743
  #: templates/history-purchases.php:20
746
 
747
  #: includes/admin/customers/customers.php:436
748
  #: includes/admin/downloads/dashboard-columns.php:37
749
+ #: includes/admin/payments/class-payments-table.php:265
750
  #: includes/admin/reporting/class-api-requests-logs-list-table.php:94
751
  #: includes/admin/reporting/class-export-download-history.php:64
752
  #: includes/admin/reporting/class-export-payments.php:80
766
  #: includes/admin/customers/customers.php:437
767
  #: includes/admin/discounts/class-discount-codes-table.php:151
768
  #: includes/admin/discounts/edit-discount.php:175
769
+ #: includes/admin/payments/class-payments-table.php:267
770
  #: includes/admin/reporting/class-export-payments.php:82
771
  #: includes/admin/reporting/export/class-batch-export-downloads.php:49
772
  #: includes/admin/reporting/export/class-batch-export-payments.php:66
921
  msgstr ""
922
 
923
  #: includes/admin/discounts/add-discount.php:27
924
+ msgid "The name of this discount."
 
925
  msgstr ""
926
 
927
  #: includes/admin/discounts/add-discount.php:33
1035
  msgstr ""
1036
 
1037
  #: includes/admin/discounts/add-discount.php:134
 
1038
  msgid ""
1039
  "Enter the expiration date for this discount code in the format of "
1040
+ "mm/dd/yyyy. For no expiration, leave blank."
1041
  msgstr ""
1042
 
1043
  #: includes/admin/discounts/add-discount.php:140
1079
  msgstr ""
1080
 
1081
  #: includes/admin/discounts/class-discount-codes-table.php:127
1082
+ #: includes/admin/payments/class-payments-table.php:238
1083
  #: includes/admin/reporting/class-file-downloads-logs-list-table.php:348
1084
  #: includes/admin/reporting/class-sales-logs-list-table.php:290
1085
  msgid "All"
1304
  msgstr ""
1305
 
1306
  #: includes/admin/discounts/discount-codes.php:36
1307
+ #: includes/admin/payments/class-payments-table.php:181
1308
  #: includes/admin/reporting/logs.php:62 includes/admin/reporting/logs.php:122
1309
  msgid "Search"
1310
  msgstr ""
1317
  msgid "Edit Discount"
1318
  msgstr ""
1319
 
1320
+ #: includes/admin/discounts/edit-discount.php:41
1321
+ msgid "The name of this discount"
1322
+ msgstr ""
1323
+
1324
+ #: includes/admin/discounts/edit-discount.php:149
1325
+ msgid ""
1326
+ "Enter the expiration date for this discount code in the format of "
1327
+ "mm/dd/yyyy. For no expiration, leave blank"
1328
+ msgstr ""
1329
+
1330
  #: includes/admin/discounts/edit-discount.php:182
1331
  msgid "The status of this discount code."
1332
  msgstr ""
1518
  msgid "Price ID: %s"
1519
  msgstr ""
1520
 
1521
+ #: includes/admin/downloads/metabox.php:433 includes/scripts.php:228
1522
  msgid "Show advanced settings"
1523
  msgstr ""
1524
 
1843
  msgid "Error Updating Payment"
1844
  msgstr ""
1845
 
1846
+ #: includes/admin/payments/class-payments-table.php:142
1847
  msgid "All Gateways"
1848
  msgstr ""
1849
 
1850
+ #: includes/admin/payments/class-payments-table.php:151
1851
  msgid "Start Date:"
1852
  msgstr ""
1853
 
1854
+ #: includes/admin/payments/class-payments-table.php:153
1855
  msgid "End Date:"
1856
  msgstr ""
1857
 
1858
+ #: includes/admin/payments/class-payments-table.php:172
1859
  #: includes/admin/reporting/logs.php:179
1860
  msgid "Apply"
1861
  msgstr ""
1862
 
1863
+ #: includes/admin/payments/class-payments-table.php:178
1864
  msgid "Clear Filter"
1865
  msgstr ""
1866
 
1867
+ #: includes/admin/payments/class-payments-table.php:239
1868
  msgid "Completed"
1869
  msgstr ""
1870
 
1871
+ #: includes/admin/payments/class-payments-table.php:240
1872
  #: includes/payments/functions.php:737
1873
  msgid "Pending"
1874
  msgstr ""
1875
 
1876
+ #: includes/admin/payments/class-payments-table.php:241
1877
+ #: includes/payments/functions.php:743
1878
+ msgid "Processing"
1879
+ msgstr ""
1880
+
1881
+ #: includes/admin/payments/class-payments-table.php:242
1882
  #: includes/payments/functions.php:739
1883
  msgid "Refunded"
1884
  msgstr ""
1885
 
1886
+ #: includes/admin/payments/class-payments-table.php:243
1887
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:68
1888
  #: includes/payments/functions.php:742
1889
  msgid "Revoked"
1890
  msgstr ""
1891
 
1892
+ #: includes/admin/payments/class-payments-table.php:244
1893
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:70
1894
  #: includes/payments/functions.php:740
1895
  msgid "Failed"
1896
  msgstr ""
1897
 
1898
+ #: includes/admin/payments/class-payments-table.php:245
1899
  #: includes/admin/reporting/export/class-batch-export-earnings-report.php:69
1900
  #: includes/payments/functions.php:741
1901
  msgid "Abandoned"
1902
  msgstr ""
1903
 
1904
+ #: includes/admin/payments/class-payments-table.php:263
1905
  #: templates/history-purchases.php:21
1906
  msgid "Details"
1907
  msgstr ""
1908
 
1909
+ #: includes/admin/payments/class-payments-table.php:328
1910
  #: includes/admin/payments/payments-history.php:90
1911
  msgid "View Order Details"
1912
  msgstr ""
1913
 
1914
+ #: includes/admin/payments/class-payments-table.php:359
1915
  msgid "Resend Purchase Receipt"
1916
  msgstr ""
1917
 
1918
+ #: includes/admin/payments/class-payments-table.php:367
1919
  msgid "(unknown)"
1920
  msgstr ""
1921
 
1922
+ #: includes/admin/payments/class-payments-table.php:420
1923
  msgid "(customer missing)"
1924
  msgstr ""
1925
 
1926
+ #: includes/admin/payments/class-payments-table.php:435
1927
  msgid "Set To Completed"
1928
  msgstr ""
1929
 
1930
+ #: includes/admin/payments/class-payments-table.php:436
1931
  msgid "Set To Pending"
1932
  msgstr ""
1933
 
1934
+ #: includes/admin/payments/class-payments-table.php:437
1935
+ msgid "Set To Processing"
1936
+ msgstr ""
1937
+
1938
+ #: includes/admin/payments/class-payments-table.php:438
1939
  msgid "Set To Refunded"
1940
  msgstr ""
1941
 
1942
+ #: includes/admin/payments/class-payments-table.php:439
1943
  msgid "Set To Revoked"
1944
  msgstr ""
1945
 
1946
+ #: includes/admin/payments/class-payments-table.php:440
1947
  msgid "Set To Failed"
1948
  msgstr ""
1949
 
1950
+ #: includes/admin/payments/class-payments-table.php:441
1951
  msgid "Set To Abandoned"
1952
  msgstr ""
1953
 
1954
+ #: includes/admin/payments/class-payments-table.php:442
1955
  msgid "Set To Preapproval"
1956
  msgstr ""
1957
 
1958
+ #: includes/admin/payments/class-payments-table.php:443
1959
  msgid "Set To Cancelled"
1960
  msgstr ""
1961
 
1962
+ #: includes/admin/payments/class-payments-table.php:444
1963
  msgid "Resend Email Receipts"
1964
  msgstr ""
1965
 
2738
 
2739
  #: includes/admin/reporting/export/class-batch-export-downloads.php:56
2740
  #: includes/emails/class-edd-email-tags.php:411
2741
+ #: includes/emails/class-edd-email-tags.php:533
2742
  #: templates/shortcode-receipt.php:125
2743
  msgid "SKU"
2744
  msgstr ""
3372
  msgstr ""
3373
 
3374
  #: includes/admin/settings/register-settings.php:359
3375
+ msgid "The symbol (usually , or .) to separate thousands."
3376
  msgstr ""
3377
 
3378
  #: includes/admin/settings/register-settings.php:366
3380
  msgstr ""
3381
 
3382
  #: includes/admin/settings/register-settings.php:367
3383
+ msgid "The symbol (usually , or .) to separate decimal points."
3384
  msgstr ""
3385
 
3386
  #: includes/admin/settings/register-settings.php:376
3443
  msgstr ""
3444
 
3445
  #: includes/admin/settings/register-settings.php:423
3446
+ msgid "Display icons for the selected payment methods."
3447
  msgstr ""
3448
 
3449
  #: includes/admin/settings/register-settings.php:423
3450
  msgid ""
3451
  "You will also need to configure your gateway settings if you are accepting "
3452
+ "credit cards."
3453
  msgstr ""
3454
 
3455
  #: includes/admin/settings/register-settings.php:443
3497
  msgstr ""
3498
 
3499
  #: includes/admin/settings/register-settings.php:485
3500
+ msgid "Enter the subject line for the purchase receipt email."
3501
  msgstr ""
3502
 
3503
  #: includes/admin/settings/register-settings.php:487
3514
  msgstr ""
3515
 
3516
  #: includes/admin/settings/register-settings.php:492
3517
+ msgid "Enter the heading for the purchase receipt email."
3518
  msgstr ""
3519
 
3520
  #: includes/admin/settings/register-settings.php:499
3541
  msgstr ""
3542
 
3543
  #: includes/admin/settings/register-settings.php:508
3544
+ msgid "Enter the subject line for the sale notification email."
3545
  msgstr ""
3546
 
3547
  #: includes/admin/settings/register-settings.php:514
3561
  #: includes/admin/settings/register-settings.php:522
3562
  msgid ""
3563
  "Enter the email address(es) that should receive a notification anytime a "
3564
+ "sale is made, one per line."
3565
  msgstr ""
3566
 
3567
  #: includes/admin/settings/register-settings.php:528
3754
  msgstr ""
3755
 
3756
  #: includes/admin/settings/register-settings.php:659
3757
+ msgid "Cart Item Quantities"
3758
  msgstr ""
3759
 
3760
  #: includes/admin/settings/register-settings.php:660
3761
+ msgid ""
3762
+ "Allow quantities to be adjusted when adding %s to the cart, and while "
3763
+ "viewing the checkout cart."
3764
  msgstr ""
3765
 
3766
  #: includes/admin/settings/register-settings.php:665
4086
  msgstr ""
4087
 
4088
  #: includes/admin/settings/register-settings.php:1276 includes/install.php:92
4089
+ #: includes/template-functions.php:182 templates/widget-cart-checkout.php:6
4090
  #: templates/widget-cart-empty.php:7
4091
  msgid "Checkout"
4092
  msgstr ""
4106
  #: includes/admin/settings/register-settings.php:1522
4107
  msgid ""
4108
  "Don't see what you need? More Payment Gateway options are available <a "
4109
+ "href=\"%s\">here</a>."
4110
  msgstr ""
4111
 
4112
  #: includes/admin/settings/register-settings.php:1743
4323
  msgid "Use these tools to recount / reset store stats."
4324
  msgstr ""
4325
 
4326
+ #: includes/admin/tools.php:144 includes/scripts.php:87
4327
  msgid "Please select an option"
4328
  msgstr ""
4329
 
4777
  msgid "All Prices"
4778
  msgstr ""
4779
 
4780
+ #: includes/api/class-edd-api-v2.php:143 includes/api/class-edd-api.php:1064
4781
+ #: includes/api/class-edd-api.php:1248 includes/api/class-edd-api.php:1430
4782
  msgid "Product %s not found!"
4783
  msgstr ""
4784
 
4785
+ #: includes/api/class-edd-api-v2.php:218 includes/api/class-edd-api.php:1169
4786
+ #: includes/api/class-edd-api.php:1265
4787
  msgid "The end date must be later than the start date!"
4788
  msgstr ""
4789
 
4790
+ #: includes/api/class-edd-api-v2.php:319 includes/api/class-edd-api.php:1005
4791
  msgid "Customer %s not found!"
4792
  msgstr ""
4793
 
4794
+ #: includes/api/class-edd-api-v2.php:324 includes/api/class-edd-api.php:1010
4795
  msgid "No customers found!"
4796
  msgstr ""
4797
 
4798
+ #: includes/api/class-edd-api.php:465
4799
  msgid "You must specify both a token and API key!"
4800
  msgstr ""
4801
 
4802
+ #: includes/api/class-edd-api.php:482
4803
  msgid "Your request could not be authenticated!"
4804
  msgstr ""
4805
 
4806
+ #: includes/api/class-edd-api.php:500
4807
  msgid "Invalid API key!"
4808
  msgstr ""
4809
 
4810
+ #: includes/api/class-edd-api.php:516
4811
  msgid "Invalid API version!"
4812
  msgstr ""
4813
 
4814
+ #: includes/api/class-edd-api.php:690
4815
  msgid "Invalid query!"
4816
  msgstr ""
4817
 
4818
+ #: includes/api/class-edd-api.php:1174 includes/api/class-edd-api.php:1270
4819
  msgid "Invalid or no date range specified!"
4820
  msgstr ""
4821
 
4822
+ #: includes/api/class-edd-api.php:1576
4823
  msgid "No discounts found!"
4824
  msgstr ""
4825
 
4826
+ #: includes/api/class-edd-api.php:1623
4827
  msgid "Discount %s not found!"
4828
  msgstr ""
4829
 
4830
+ #: includes/api/class-edd-api.php:1696
4831
  msgid "No download logs found!"
4832
  msgstr ""
4833
 
4834
+ #: includes/api/class-edd-api.php:1952 includes/user-functions.php:1047
4835
  msgid "Easy Digital Downloads API Keys"
4836
  msgstr ""
4837
 
4838
+ #: includes/api/class-edd-api.php:1961 includes/user-functions.php:1052
4839
  msgid "Generate API Key"
4840
  msgstr ""
4841
 
4842
+ #: includes/api/class-edd-api.php:1963 includes/user-functions.php:1054
4843
  msgid "Public key:"
4844
  msgstr ""
4845
 
4846
+ #: includes/api/class-edd-api.php:1964 includes/user-functions.php:1055
4847
  msgid "Secret key:"
4848
  msgstr ""
4849
 
4850
+ #: includes/api/class-edd-api.php:1965 includes/user-functions.php:1056
4851
  msgid "Token:"
4852
  msgstr ""
4853
 
4854
+ #: includes/api/class-edd-api.php:1967 includes/user-functions.php:1058
4855
  msgid "Revoke API Keys"
4856
  msgstr ""
4857
 
4858
+ #: includes/api/class-edd-api.php:1993
4859
  msgid "User ID Required"
4860
  msgstr ""
4861
 
4862
+ #: includes/api/class-edd-api.php:2005 includes/api/class-edd-api.php:2007
4863
  msgid "You do not have permission to %s API keys for this user"
4864
  msgstr ""
4865
 
5131
  msgstr ""
5132
 
5133
  #: includes/checkout/template.php:748 includes/process-purchase.php:350
5134
+ #: includes/scripts.php:64
5135
  msgid "Enter discount"
5136
  msgstr ""
5137
 
5494
  msgid "Minimum order of %s not met."
5495
  msgstr ""
5496
 
5497
+ #: includes/class-edd-discount.php:1624 includes/class-edd-discount.php:1653
5498
  msgid "The product requirements for this discount are not met."
5499
  msgstr ""
5500
 
5502
  msgid "This discount is not valid for the cart contents."
5503
  msgstr ""
5504
 
5505
+ #: includes/class-edd-discount.php:1761
5506
  msgid "This discount has already been redeemed."
5507
  msgstr ""
5508
 
5509
+ #: includes/class-edd-discount.php:1842
5510
  msgid "This discount is expired."
5511
  msgstr ""
5512
 
5513
+ #: includes/class-edd-discount.php:1847
5514
  msgid "This discount is not active."
5515
  msgstr ""
5516
 
5518
  msgid "New Download Product"
5519
  msgstr ""
5520
 
5521
+ #: includes/class-edd-html-elements.php:44 includes/scripts.php:211
5522
  msgid "Choose a %s"
5523
  msgstr ""
5524
 
6004
  msgstr ""
6005
 
6006
  #: includes/emails/class-edd-email-tags.php:407
6007
+ #: includes/emails/class-edd-email-tags.php:529
6008
  #: templates/shortcode-receipt.php:128
6009
  msgid "Quantity"
6010
  msgstr ""
6011
 
6012
+ #: includes/emails/class-edd-email-tags.php:466
6013
  #: templates/history-downloads.php:74 templates/shortcode-receipt.php:205
6014
  msgid "No downloadable files found."
6015
  msgstr ""
6016
 
6017
+ #: includes/emails/class-edd-email-tags.php:857
6018
  msgid "%1$sView it in your browser %2$s"
6019
  msgstr ""
6020
 
6711
  msgid "Complete"
6712
  msgstr ""
6713
 
6714
+ #: includes/payments/functions.php:1568
6715
  msgid "EDD Bot"
6716
  msgstr ""
6717
 
7033
  msgid "File not found"
7034
  msgstr ""
7035
 
7036
+ #: includes/process-purchase.php:31 includes/scripts.php:85
7037
  msgid "Your cart is empty"
7038
  msgstr ""
7039
 
7135
  msgid "You do not have permission to view this file."
7136
  msgstr ""
7137
 
7138
+ #: includes/scripts.php:62
7139
  msgid "Please select a payment method"
7140
  msgstr ""
7141
 
7142
+ #: includes/scripts.php:63
7143
  msgid "Please enter a discount code"
7144
  msgstr ""
7145
 
7146
+ #: includes/scripts.php:65
7147
  msgid "Discount Applied"
7148
  msgstr ""
7149
 
7150
+ #: includes/scripts.php:66
7151
  msgid "Please enter an email address before applying a discount code"
7152
  msgstr ""
7153
 
7154
+ #: includes/scripts.php:67
7155
  msgid "Please enter a username before applying a discount code"
7156
  msgstr ""
7157
 
7158
+ #: includes/scripts.php:68
7159
  msgid "Please Wait..."
7160
  msgstr ""
7161
 
7162
+ #: includes/scripts.php:84
7163
  msgid "You have already added this item to your cart"
7164
  msgstr ""
7165
 
7166
+ #: includes/scripts.php:86 includes/template-functions.php:177
7167
  msgid "Loading"
7168
  msgstr ""
7169
 
7170
+ #: includes/scripts.php:197
7171
  msgid "Add New Download"
7172
  msgstr ""
7173
 
7174
+ #: includes/scripts.php:198
7175
  msgid "Use This File"
7176
  msgstr ""
7177
 
7178
+ #: includes/scripts.php:199
7179
  msgid "Sorry, not available for variable priced products."
7180
  msgstr ""
7181
 
7182
+ #: includes/scripts.php:200
7183
  msgid "Are you sure you wish to delete this payment?"
7184
  msgstr ""
7185
 
7186
+ #: includes/scripts.php:201
7187
  msgid "Are you sure you wish to delete this note?"
7188
  msgstr ""
7189
 
7190
+ #: includes/scripts.php:202
7191
  msgid "Are you sure you wish to delete this tax rate?"
7192
  msgstr ""
7193
 
7194
+ #: includes/scripts.php:203
7195
  msgid "Are you sure you wish to revoke this API key?"
7196
  msgstr ""
7197
 
7198
+ #: includes/scripts.php:204
7199
  msgid "Are you sure you wish to regenerate this API key?"
7200
  msgstr ""
7201
 
7202
+ #: includes/scripts.php:205
7203
  msgid "Are you sure you wish to resend the purchase receipt?"
7204
  msgstr ""
7205
 
7206
+ #: includes/scripts.php:206
7207
  msgid "Copy these links to your clipboard and give them to your customer"
7208
  msgstr ""
7209
 
7210
+ #: includes/scripts.php:207
7211
  msgid "Are you sure you wish to delete this %s?"
7212
  msgstr ""
7213
 
7214
+ #: includes/scripts.php:208
7215
  msgid "You must have at least one price"
7216
  msgstr ""
7217
 
7218
+ #: includes/scripts.php:209
7219
  msgid "You must have at least one field"
7220
  msgstr ""
7221
 
7222
+ #: includes/scripts.php:210
7223
  msgid "Payments must contain at least one item"
7224
  msgstr ""
7225
 
7226
+ #: includes/scripts.php:212
7227
  msgid "Choose one or more %s"
7228
  msgstr ""
7229
 
7230
+ #: includes/scripts.php:213
7231
  msgid "Item price must be numeric"
7232
  msgstr ""
7233
 
7234
+ #: includes/scripts.php:214
7235
  msgid "Item tax must be numeric"
7236
  msgstr ""
7237
 
7238
+ #: includes/scripts.php:215
7239
  msgid "Quantity must be numeric"
7240
  msgstr ""
7241
 
7242
+ #: includes/scripts.php:222
7243
  msgid "Type to search %s"
7244
  msgstr ""
7245
 
7246
+ #: includes/scripts.php:224
7247
  msgid "You must choose a method."
7248
  msgstr ""
7249
 
7250
+ #: includes/scripts.php:225
7251
  msgid "Required fields not completed."
7252
  msgstr ""
7253
 
7254
+ #: includes/scripts.php:226
7255
  msgid ""
7256
  "Are you sure you want to reset your store? This process is <strong><em>not "
7257
  "reversible</em></strong>. Please be sure you have a recent backup."
7258
  msgstr ""
7259
 
7260
+ #: includes/scripts.php:227
7261
  msgid ""
7262
  "We are sorry but your browser is not compatible with this kind of file "
7263
  "upload. Please upgrade your browser."
7264
  msgstr ""
7265
 
7266
+ #: includes/scripts.php:229
7267
  msgid "Hide advanced settings"
7268
  msgstr ""
7269
 
7270
+ #: includes/scripts.php:240
7271
  msgid "Purchase Limit Settings"
7272
  msgstr ""
7273
 
7274
+ #: includes/scripts.php:241
7275
  msgid "Simple Shipping Settings"
7276
  msgstr ""
7277
 
7278
+ #: includes/scripts.php:242
7279
  msgid "Software Licensing Settings"
7280
  msgstr ""
7281
 
7282
+ #: includes/scripts.php:243
7283
  msgid "Recurring Payments Settings"
7284
  msgstr ""
7285
 
7319
  msgid "Free"
7320
  msgstr ""
7321
 
7322
+ #: includes/template-functions.php:191
7323
  msgid "Added to cart"
7324
  msgstr ""
7325
 
7326
+ #: includes/template-functions.php:197
7327
  msgid "Includes %1$s&#37; tax"
7328
  msgstr ""
7329
 
7330
+ #: includes/template-functions.php:199
7331
  msgid "Excluding %1$s&#37; tax"
7332
  msgstr ""
7333
 
7334
+ #: includes/template-functions.php:484
7335
  msgid "White"
7336
  msgstr ""
7337
 
7338
+ #: includes/template-functions.php:488
7339
  msgid "Gray"
7340
  msgstr ""
7341
 
7342
+ #: includes/template-functions.php:492
7343
  msgid "Blue"
7344
  msgstr ""
7345
 
7346
+ #: includes/template-functions.php:496
7347
  msgid "Red"
7348
  msgstr ""
7349
 
7350
+ #: includes/template-functions.php:500
7351
  msgid "Green"
7352
  msgstr ""
7353
 
7354
+ #: includes/template-functions.php:504
7355
  msgid "Yellow"
7356
  msgstr ""
7357
 
7358
+ #: includes/template-functions.php:508
7359
  msgid "Orange"
7360
  msgstr ""
7361
 
7362
+ #: includes/template-functions.php:512
7363
  msgid "Dark Gray"
7364
  msgstr ""
7365
 
7366
+ #: includes/template-functions.php:516
7367
  msgid "Inherit"
7368
  msgstr ""
7369
 
7370
+ #: includes/template-functions.php:534
7371
  msgid "Button"
7372
  msgstr ""
7373
 
7374
+ #: includes/template-functions.php:535
7375
  msgid "Plain Text"
7376
  msgstr ""
7377
 
7843
  msgid "This discount is invalid."
7844
  msgstr ""
7845
 
7846
+ #: includes/class-edd-discount.php:1810
7847
  msgctxt "error for when a discount is invalid based on its configuration"
7848
  msgid "This discount is invalid."
7849
  msgstr ""
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link: https://easydigitaldownloads.com/donate/
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-commerce, wp-ecommerce, wp ecommerce, ecommerce, ebook
7
  Requires at least: 4.4
8
  Tested up to: 4.9
9
- Stable Tag: 2.8.1
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
@@ -213,6 +213,23 @@ Yes. Easy Digital Downloads also includes default support for Amazon Payments an
213
 
214
  == Changelog ==
215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  = 2.8.1, July 27, 2017 =
217
 
218
  * New: Include "processing" as payment status in the list table.
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-commerce, wp-ecommerce, wp ecommerce, ecommerce, ebook
7
  Requires at least: 4.4
8
  Tested up to: 4.9
9
+ Stable Tag: 2.8.2
10
  License: GNU Version 2 or Any Later Version
11
 
12
  The easiest way to sell digital products with WordPress.
213
 
214
  == Changelog ==
215
 
216
+ = 2.8.2, August 8, 2017 =
217
+
218
+ * New: Spaces are now auto-formatted into credit card number fields.
219
+ * Tweak: Decoupled API Authentication with $wp_query.
220
+ * Tweak: Quantities no longer show on the cart widget when they are disabled.
221
+ * Tweak: Renamed 'Item Quantities' setting to 'Cart Item Quantities' to remove confusion of its purpose.
222
+ * Tweak: Improvements to the consistency of settings descriptions.
223
+ * Tweak: Added search_columns argument to the EDD_Customer_Query class.
224
+ * Fix: Discounts with multiple exclusions could be applied to excluded products.
225
+ * Fix: Customer query pagination did not work correctly.
226
+ * Fix: Removed custom widths on the primary column of list table.
227
+ * Fix: 'Processing' status in Payments list table shows empty brackets when no processign payments.
228
+ * Fix: Billing fields were unnecessarily validated when cart total was $0.
229
+ * Fix: WPLANG is deprecated, use get_locale() instead.
230
+ * Fix: Prevent duplicate queries when edd_get_purchase_id_by_key() is called more than once for the same payment key.
231
+ * Fix: Prevent plain text purchase links from looking like buttons still.
232
+
233
  = 2.8.1, July 27, 2017 =
234
 
235
  * New: Include "processing" as payment status in the list table.
templates/edd.css CHANGED
@@ -822,6 +822,10 @@ input[type="submit"].edd-submit:focus,
822
  }
823
  .edd-submit.plain {
824
  padding: 0;
 
 
 
 
825
  }
826
 
827
  /** Gray (Default) */
822
  }
823
  .edd-submit.plain {
824
  padding: 0;
825
+ border: none;
826
+ -webkit-border-radius: 0;
827
+ -moz-border-radius: 0;
828
+ border-radius: 0;
829
  }
830
 
831
  /** Gray (Default) */
templates/widget-cart-item.php CHANGED
@@ -1,5 +1,5 @@
1
  <li class="edd-cart-item">
2
  <span class="edd-cart-item-title">{item_title}</span>
3
- <span class="edd-cart-item-separator">-</span><span class="edd-cart-item-quantity">&nbsp;{item_quantity}&nbsp;@&nbsp;</span><span class="edd-cart-item-price">&nbsp;{item_amount}&nbsp;</span><span class="edd-cart-item-separator">-</span>
4
  <a href="{remove_url}" data-cart-item="{cart_item_id}" data-download-id="{item_id}" data-action="edd_remove_from_cart" class="edd-remove-from-cart"><?php _e( 'remove', 'easy-digital-downloads' ); ?></a>
5
  </li>
1
  <li class="edd-cart-item">
2
  <span class="edd-cart-item-title">{item_title}</span>
3
+ <span class="edd-cart-item-separator">-</span>&nbsp;<?php echo edd_item_quantities_enabled() ? '<span class="edd-cart-item-quantity">{item_quantity}&nbsp;@&nbsp;</span>' : ''; ?><span class="edd-cart-item-price">{item_amount}</span>&nbsp;<span class="edd-cart-item-separator">-</span>
4
  <a href="{remove_url}" data-cart-item="{cart_item_id}" data-download-id="{item_id}" data-action="edd_remove_from_cart" class="edd-remove-from-cart"><?php _e( 'remove', 'easy-digital-downloads' ); ?></a>
5
  </li>