{"id":690,"date":"2018-11-12T11:10:01","date_gmt":"2018-11-12T17:10:01","guid":{"rendered":"https:\/\/easydigitaldownloads.com\/development\/?p=690"},"modified":"2021-12-15T15:30:54","modified_gmt":"2021-12-15T21:30:54","slug":"recurring-payments-2-8-beta-1-released-with-improved-tax-reporting-management-for-subscriptions","status":"publish","type":"post","link":"https:\/\/easydigitaldownloads.com\/development\/2018\/11\/12\/recurring-payments-2-8-beta-1-released-with-improved-tax-reporting-management-for-subscriptions\/","title":{"rendered":"Recurring Payments 2.8 Beta 1 released with improved tax reporting\/management for subscriptions"},"content":{"rendered":"<p class=\"p1\">The Recurring Payments extension is getting a major update in version 2.8 with some significant fixes. Most notably, taxes on subscriptions are now being logged in the subscriptions table in 4 new columns:<\/p>\n<ul>\n<li class=\"p1\"><strong>initial_tax_rate<\/strong> &#8211; storing the tax rate from the initial purchase in the subscription<\/li>\n<li class=\"p1\"><strong>initial_tax<\/strong> &#8211; storing the tax amount from the initial purchase in the subscription<\/li>\n<li class=\"p1\"><strong>recurring_tax_rate<\/strong> &#8211; storing the recurring tax rate, which will be used for all recurs in this subscription<\/li>\n<li class=\"p1\"><strong>recurring_tax<\/strong> &#8211; storing the recurring tax amount, which will be used for all recurs in this subscription<\/li>\n<\/ul>\n<p class=\"p1\">These 4 columns are important because the initial amount and tax rate may not match the recurring amount. For example, if you have a free trial for your products enabled, the initial tax amount will be $0. But for subsequent recurs, that amount can be different.<\/p>\n<p class=\"p1\">It is also important to note that in version 2.8, taxes, discounts\/coupons, and fees are no longer sent separately to the payment gateway. All calculations that modify the final price for recurring products are now done solely in EDD Recurring Payments and Easy Digital Downloads core.<\/p>\n<p class=\"p1\">Previous to version 2.8, taxes\/discounts\/fees were sent to the gateway as separate amounts and the gateway would redo its own calculations on the total. The problem with this was that it could result in different amounts, even by a single cent. A lot of this has to do with the fact that Stripe and PayPal handle rounding extremely long numbers differently. The end result was that the numbers could be slightly off at the gateway vs what they were in the EDD payment record. Now, by doing the math only in EDD and sending just the total to the payment gateway, there will only be a single set of numbers, and no possibility of duplicate math.<\/p>\n<p class=\"p1\">It is advisable that you use the EDD\u2019s payment history for accounting and reporting purposes going forward, as opposed to using the taxation\/discount\/fee numbers provided by the payment gateway. Those additional amounts\/breakdowns are no longer sent to the gateway, so they will no longer exist there.<\/p>\n<p class=\"p1\">During the alpha stage of the 2.8 release, our team tested over 196 unique checkout scenarios related to this change. All of these scenarios are created by combinations of possible settings in Easy Digital Downloads, especially when used alongside Software Licensing, and also when discount codes come into play. Between free trials, discounts codes, renewal discounts (from Software Licensing), taxes being entered both inclusive and exclusive of tax, and the combinations of all of the above, we believe we have accounted for and tested almost all possible situations that may arise.<\/p>\n<p class=\"p1\">If you are running Recurring Payments alongside Software Licensing, it is a good idea to run this beta version on your staging server and running a few test purchases to ensure you get the results you expect. This applies especially if you have custom code anywhere on your site that affects Recurring Payments in any way. Once you have confirmed that your test purchases go through as you expect them to, then it is advisable to update to the 2.8 release when it becomes available on your live site.<\/p>\n<p class=\"p1\">We will be leaving version 2.8 in beta for at least 2 weeks before full release to allow time for beta testing.<\/p>\n<h2 class=\"p1\">Additional fixes included in the 2.8 release:<\/h2>\n<p class=\"p1\"><strong>Fixed Content Restriction Integrations<\/strong><\/p>\n<p class=\"p1\">If you use the Content Restriction extension alongside Recurring Payments, you might be using the \u201cRequire active subscription\u201d option to revoke a subscriber\u2019s access to restricted content if their subscription expires. There was an edge case for people who required either a recurring product OR a non recurring product. Recurring Payments was doing too good of a job at requiring active subscriptions, even on products that weren\u2019t recurring-enabled. That is now fixed in version 2.8, and you can restrict a product to both a recurring product or a non recurring product at the same time. An example of this would be if you sold yearly or lifetime packages. The yearly package is recurring enabled (yearly), but the lifetime package is not recurring. Therefore, lifetime purchasers would not have a subscription, and therefore they would not have access. This was the most common use-case for this. That is now resolved in version 2.8 so that the lifetime, non-subscription products also give access, while still requiring active subscriptions for products that are recurring-enabled.<\/p>\n<p class=\"p1\"><strong>Fixed re-activating subscriptions from the customer account<\/strong><\/p>\n<p class=\"p1\">Another issue that has been resolved in 2.8 is re-activating subscriptions from the customer\u2019s account dashboard, which is provided by the [edd_subscriptions] shortcode. The customer could not re-activate their subscription at Stripe. This was due to an API change made on Stripe\u2019s end, which we have now adjusted and accounted for.<\/p>\n<p class=\"p1\"><strong>Prevented free trials from being incorrectly applied<\/strong><\/p>\n<p class=\"p1\">If a customer on your site had 2 products in their cart, one of which had a free trial, and the other did not, a free trial was getting applied to both. That bug has also been resolved in version 2.8. Products with free trials and products without free trials can no longer be purchased at the same time. If attempted by a customer, they will receive an error stating \u201c<span class=\"s1\">Error: Free trials and non-trials may not be purchased at the same time. Please purchase each separately.\u201d<\/span><\/p>\n<p class=\"p5\"><strong>Resolved multi-currency issue<\/strong><\/p>\n<p class=\"p5\">If you have a custom integration with EDD that charges customers in a different currency than your default currency for your shop, there were previously issues with<\/p>\n<p class=\"p5\">the Paypal Pro\/Express gateways in that it expected the currency to match the store\u2019s default currency instead of using the unique payment record\u2019s currency. That has now been resolved.<\/p>\n<p class=\"p5\"><strong>Search results on the Subscriptions page<\/strong><\/p>\n<p class=\"p5\">When searching through your subscriptions in the admin dashboard, the number of found posts always reflected the total number of subscriptions, as opposed to showing the number found in your search query. That has now been resolved.<\/p>\n<p class=\"p5\"><strong>PayPal eChecks with subscriptions<\/strong><\/p>\n<p class=\"p5\">If a person chose to buy a subscription and paid with an eCheck, previously those payments were not labelled with the \u201ceCheck\u201d label. Those now have code in place to be handled and labelled correctly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Recurring Payments extension is getting a major update in version 2.8 with some significant fixes. Most notably, taxes on subscriptions are now being logged in the subscriptions table, and can be seen when viewing a subscription in your dashboard. This resolves several issues relating to taxes and subscriptions. <\/p>\n","protected":false},"author":650,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-690","post","type-post","status-publish","format-standard","hentry","category-extensions"],"_links":{"self":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/users\/650"}],"replies":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/comments?post=690"}],"version-history":[{"count":3,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/690\/revisions"}],"predecessor-version":[{"id":696,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/690\/revisions\/696"}],"wp:attachment":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/media?parent=690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/categories?post=690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/tags?post=690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}