<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FAQs and Roadmap - CODIBU</title>
	<atom:link href="https://help.codibu.com/kbtopic/faqs-and-roadmap/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.codibu.com</link>
	<description>Hosting &#38; Domain,  Development &#38; Design, SEO &#38; Marketing, 2300+ Themes &#38; Plugins, Free SEO analysis &#38; tools</description>
	<lastBuildDate>Wed, 25 Jan 2023 20:51:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://help.codibu.com/wp-content/uploads/2022/07/favicon.png</url>
	<title>FAQs and Roadmap - CODIBU</title>
	<link>https://help.codibu.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What’s New in Subscriptions 3.0</title>
		<link>https://help.codibu.com/blog/whats-new-in-subscriptions-3-0/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=whats-new-in-subscriptions-3-0</link>
					<comments>https://help.codibu.com/blog/whats-new-in-subscriptions-3-0/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 14:59:55 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/whats-new-in-subscriptions-3-0/</guid>

					<description><![CDATA[<p>Subscriptions 3.0 includes a major update to the system used to schedule and run events in the future. This update migrates data, which can not be<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/whats-new-in-subscriptions-3-0/">What’s New in Subscriptions 3.0</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Subscriptions 3.0 includes a major update to the system used to schedule and run events in the future.</p>
<div class="woo-sc-box alert   "><strong>This update migrates data, which can not be undone without restoring a backup of the database</strong>&nbsp;<strong>taken prior to updating</strong>.</div>
<p>3.0 is a “major” release and<strong>&nbsp;is not backwards compatible</strong>&nbsp;with previous versions of WooCommerce Subscriptions. With this in mind, please employ best upgrade practices to ensure a smooth update process. Please refer to the&nbsp;<a href="https://help.codibu.com/blog/kb/woocommerce-subscriptions-upgrade-instructions/"><strong>Subscriptions Upgrade Guide</strong></a>&nbsp;for more details.</p>
<h2 id="section-1"><strong>Key Points</strong></h2>
<ol>
<li>Subscriptions 3.0 includes an update to the&nbsp;Action Scheduler library.</li>
<li>Action Scheduler 3.0 contains a data migration and as such isn’t compatible with previous versions. Once the data migration has started,<strong>&nbsp;rolling back will lead to data loss.</strong></li>
<li>Action Scheduler is a library packaged with other extensions as well, including but not limited to WooCommerce core and WooCommerce Memberships. Because of the way this library loads, only 1 instance of it is loaded and that version is the latest one. This means by upgrading to WC Subscriptions 3.0 which contains Action Scheduler 3.0, all other plugins will also start using Action Scheduler 3.0 too.</li>
<li>By upgrading to Action Scheduler 3.0 you can expect to see performance improvements to the processing rate of scheduled payments and other events.</li>
<li>There are no other major features included in this version of Subscriptions.</li>
</ol>
<div class="woo-sc-box note   ">To learn more about what Action Scheduler is and how it’s used in WooCommerce Subscriptions, take a look at our&nbsp;&nbsp;<a href="https://help.codibu.com/blog/kb/complete-guide-to-scheduled-events-with-subscriptions/">Complete Guide to Scheduled Events with Subscriptions</a>.</div>
<h2 id="section-2"><strong>Upgrade Process</strong></h2>
<p>Because this is a major version with data migration, we recommend:&nbsp;</p>
<ol>
<li>Taking a backup of your site before updating to Subscriptions 3.0.</li>
<li>Test the update on a staging copy of the live site.</li>
</ol>
<p>Once you update to Subscriptions 3.0, if your site meets the migration requirements, the data migration will start automatically and will run in the background. While the data migration is happening, you can continue to use your site as normal.</p>
<h3 id="section-3"><strong>Update Process for Sites Running the Action Scheduler Custom Tables Plugin</strong></h3>
<p>If your site has been using the&nbsp;Action Scheduler Custom Tables&nbsp;plugin to boost performance in advance of WooCommerce Subscriptions / Action Scheduler 3.0, you should disable this plugin immediately after updating to WooCommerce Subscriptions 3.0.&nbsp;</p>
<p>The same code used in that plugin has now been merged with Action Scheduler 3.0, which is included in Subscriptions 3.0.</p>
<h3 id="section-4"><strong>Migration via WP CLI</strong></h3>
<p>After upgrading to Subscriptions 3.0, the action scheduler migration will happen automatically in the background. However, it is possible, if you prefer, to run these upgrades via the CLI.</p>
<p>To migrate the action scheduler data via CLI, use the following command:</p>
<pre class="wp-block-code"><code>wp action-scheduler migrate</code></pre>
<p>Once the migration starts, you will be given periodic updates about the process.</p>
<figure class="aligncenter wp-block-image"><a href="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-wp-cli.png?w=950" rel="prettyPhoto"><img fetchpriority="high" decoding="async" class="aligncenter size-large wp-image-1974403" src="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-wp-cli.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-wp-cli.png 1296w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-wp-cli.png?resize=550,159 550w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-wp-cli.png?resize=768,222 768w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-wp-cli.png?resize=950,275 950w" alt="Action Scheduler WPCLI migration output" width="950" height="275"></a><figcaption><em>Action Scheduler WP CLI migration output</em></figcaption></figure>
<p>This command will continue running until all scheduled actions have been migrated.&nbsp;</p>
<p>Once the migration is complete you will see the following output:</p>
<pre class="wp-block-code"><code>Success: Migration complete. x actions processed.</code></pre>
<p>Depending on the number of actions which need to be migrated, this may take some time.</p>
<div class="woo-sc-box info   ">The memory cleanup warnings aren’t something to be concerned with. When the memory used to migrate the data approaches the limit, we clear the object caches to free up memory.</div>
<h2 id="section-5"><strong>Enhancements</strong></h2>
<h3 id="section-6"><strong>Increased Processing Rate for Scheduled Payments</strong></h3>
<p>WooCommerce Subscriptions 3.0 will process queues of scheduled payments significantly faster than previous versions. Scheduled payments are processed in a batch that can run for up to 20 seconds. In versions of Subscriptions prior to 3.0, after that time limit was reached, processing would cease until another WP Cron request.</p>
<p>With WooCommerce Subscriptions 3.0, whenever one request approaches the time limit for processing payments, a new request is initiated to start processing the next set of batches. This process repeats until there are no more payments to process, or no loopback requests can be made.</p>
<p>This significantly increases the throughput of payment processing.</p>
<p>For example, consider a site with 1,000 scheduled payments due where it takes 1 second to process each payment and WP Cron is run every minute on this site. With WooCommerce Subscriptions 3.0, these payments will be processed in approximately 17 minutes. With Subscriptions prior to 3.0, it would have taken approximately 50 minutes to process the same number of payments on the site.</p>
<h3 id="section-7"><strong>Scheduled Payments Now Run on All Admin Requests, not just WP Cron</strong></h3>
<p>Prior to WooCommerce Subscriptions 3.0, scheduled recurring payments would be initiated by&nbsp;WP Cron. With WooCommerce Subscriptions 3.0, whenever a store manager visits the administration dashboard, WooCommerce Subscriptions will check if the site has pending scheduled payments and begin to process them.</p>
<p>This helps ensure payments are processed, even if there is a problem with the WP Cron system.</p>
<h3 id="section-8"><strong>Scheduled Event Data Migrated to Custom Tables from Custom Post Type</strong></h3>
<p>WooCommerce Subscriptions 3.0 moves all scheduled job data to custom tables. Previously, this data was stored alongside product, order, subscription, post, and page data in your WordPress database.</p>
<p>Storing data in the same location as these other objects meant that both Action Scheduler database performance was slower, and performance across all other data was slower. With WooCommerce Subscriptions 3.0, the database performance is improved across all areas where post data is queried.</p>
<h2 id="section-9"><strong>Other Changes</strong></h2>
<h3 id="section-10"><strong>Admin Subscription and Order Status Visual Updates</strong></h3>
<p>Subscriptions 3.0 includes an update to the way subscription and order statuses are displayed on subscription-related admin screens. This is to bring them in line with the way WooCommerce displays these statuses.</p>
<figure class="aligncenter wp-block-image"><a href="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-admin-subscription-statuses.png?w=950" rel="prettyPhoto"><img decoding="async" class="aligncenter size-large wp-image-1974447" src="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-admin-subscription-statuses.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-admin-subscription-statuses.png 2172w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-admin-subscription-statuses.png?resize=550,408 550w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-admin-subscription-statuses.png?resize=768,569 768w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-admin-subscription-statuses.png?resize=950,704 950w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-admin-subscription-statuses.png?resize=1536,1139 1536w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-admin-subscription-statuses.png?resize=2048,1518 2048w" alt="Subscription Admin table" width="950" height="704"></a><figcaption><em>Admin subscriptions table statuses</em></figcaption></figure>
<figure class="aligncenter wp-block-image"><a href="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-related-order-statuses.png?w=950" rel="prettyPhoto"><img decoding="async" class="aligncenter size-large wp-image-1974461" src="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-related-order-statuses.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-related-order-statuses.png 2366w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-related-order-statuses.png?resize=550,126 550w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-related-order-statuses.png?resize=768,175 768w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-related-order-statuses.png?resize=950,217 950w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-related-order-statuses.png?resize=1536,351 1536w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-3.0-related-order-statuses.png?resize=2048,467 2048w" alt="Subscription related order admin table" width="950" height="217"></a><figcaption><em>Edit subscription related order statuses</em></figcaption></figure>
<figure class="aligncenter wp-block-image"><a href="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-retry-order-statuses.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1974477" src="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-retry-order-statuses.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-retry-order-statuses.png 2430w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-retry-order-statuses.png?resize=550,141 550w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-retry-order-statuses.png?resize=768,197 768w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-retry-order-statuses.png?resize=950,244 950w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-retry-order-statuses.png?resize=1536,394 1536w, https://help.codibu.com/wp-content/uploads/2020/11/wc-subscriptions-retry-order-statuses.png?resize=2048,526 2048w" alt="Subscription retry payment admin table statuses" width="950" height="244"></a><figcaption><em>Edit subscription payment retry order and subscription statuses</em></figcaption></figure>
<h2 id="section-11">FAQ</h2>
<h3 id="section-12">What are the requirements for using Action Scheduler 3.0?</h3>
<p>In order to migrate the action scheduler data to custom tables your site must meet the following requirements:</p>
<ol>
<li>Be running PHP 5.5 or higher.&nbsp;</li>
<li>Have no scheduled actions with a combined arguments length greater than 191 characters.</li>
</ol>
<p>If either of these conditions isn’t met, your site will remain using the WordPress posts data structures and tables to store Action Scheduler data.&nbsp;</p>
<p>This means you can still upgrade to Subscriptions 3.0 and your site will continue to function as it has, however, the data migration won’t occur and so you won’t see the performance improvements that come with this release.</p>
<h3 id="section-13">Should I update now or wait?</h3>
<p>As with any major update, we suggest that you:</p>
<ol>
<li>Take a backup of your site before upgrading.</li>
<li>Test the update on a staging site before updating the live site.</li>
<li>Once everything looks good on the staging site then update the live site.&nbsp;</li>
</ol>
<p>For more details about how we recommend updating Subscriptions, take a look at our&nbsp;<a href="https://help.codibu.com/blog/kb/woocommerce-subscriptions-upgrade-instructions/"><strong>Subscriptions Upgrade Guide</strong></a>.</p>
<p>Following these steps is the only way to be sure Subscriptions 3.0 is safe to run on your site.</p>
<p>Whether you should update now or wait is something only you as the store owner can answer. To help answer this question you should keep in mind a couple of things:</p>
<ol>
<li>Have you tested the update on a staging copy of the live site?</li>
<li>How vigorously have you tested the normal functions of your site while it is running 3.0? You can do this on your staging site first.</li>
<li>What is the current or upcoming site traffic likely to be? Do you have an upcoming sale for example? Do you have thousands of renewals all scheduled to run in a couple of days? If so, it might be better to wait until after that period before upgrading.</li>
<li>How confident are you that if things did go wrong, you would be able to roll back the database and plugin to a previously saved version.</li>
</ol>
<h3 id="section-14">None of my renewals have processing on time. What’s happening?</h3>
<p>The first thing to check is if you have upgraded to Subscriptions 3.0. To check which version of Subscriptions you have active:</p>
<ol>
<li>Go to the&nbsp;<strong>Plugins</strong>&nbsp;from your WordPress admin dashboard.</li>
<li>Find&nbsp;<strong>WooCommerce Subscriptions</strong></li>
<li>Under the plugin description is the version number.</li>
</ol>
<p>If you do have WooCommerce Subscriptions 3.0 or above active, we’ll need to investigate why the scheduled actions are missing or aren’t running on time. To get in contact with us, please&nbsp;<a href="https://woocommerce.com/my-account/create-a-ticket"><strong>open a ticket</strong></a>.</p>
<h3 id="section-15">All my scheduled actions haven’t migrated yet, will my site still run as normal?</h3>
<p>Yes, while the data migration is in progress, Subscriptions will continue to process scheduled actions in both the post tables and custom tables.&nbsp;</p>
<h3 id="section-16">How long will the migration take?</h3>
<p>How long it will take to migrate all your scheduled action data will depend on your store’s specific circumstances:&nbsp;</p>
<ol>
<li>How many actions need to be migrated.</li>
<li>How many actions your site can migrate at a time. This will depend on your server environment.</li>
</ol>
<p>If you’re familiar with WP CLI you can run the data migration via a WP CLI command. This is the quickest way to complete the migration.</p>
<p>See our section on&nbsp;<a href="https://help.codibu.com/blog/kb/whats-new-in-subscriptions-3-0/#migration-via-wp-cli">migrating the action scheduler data via WP CLI</a>.</p>
<h3 id="section-17">What performance improvements can I expect to see from this update?</h3>
<p>The performance improvements you will see will be unique to your site and is dependent on the number of scheduled actions your site typically has to process in short periods of time.&nbsp;</p>
<p>For example, if you have 10-20 renewals occur on one given day over the space of a number of hours, you will likely see some negligible performance improvements. These improvements will come in the form of quicker database queries for orders, subscriptions and other data stored in the posts tables.</p>
<p>If however you have all your subscriptions synced to run on 1 day (for example the 1st of each month) and you have 1000+ renewals. You will see much larger improvements in the time it takes to process those payments and the general improvements to post queries on your site.</p>
<p>Where almost all users will see an improvement is in data migration and generation in plugins that use scheduled actions to run these events in the background. For example, WooCommerce Subscriptions, in past plugin updates, has used scheduled actions to fix corrupted data or generate new data for existing customers orders and subscriptions. This process usually loops over every item (order, subscription, or customer) and processes it individually. Because these data repair or migration scripts use Action Scheduler to run a lot of events over a short period of time, the speed at which they complete for sites of all sizes will be improved by this update.</p>
<p>In some internal tests comparing Action Scheduler 3.0 with 2.5.5 we saw a:</p>
<ul>
<li>~69% reduction in the amount of database storage required.&nbsp;</li>
<li>~68% reduction to the time it takes to create and store scheduled actions.&nbsp;</li>
<li>&nbsp;60-72% reduction in the time it took to receive 50 scheduled action results used populate the admin table sorted by field.&nbsp;</li>
</ul>
<p>These were the results on a site populating WooCommerce Admin data with:&nbsp;</p>
<ul>
<li>7500 customers</li>
<li>5000 products</li>
<li>50,000 orders</li>
</ul>
<h3 id="section-18">My site just updated to WC Subscriptions 3.0. Can I roll back to 2.x.x?</h3>
<p>No. Because Subscriptions 3.0 includes data migration, rolling back to an earlier version will result in lost data.</p>
<p>Earlier versions of Subscriptions cannot interact with the migrated data, only 3.0 and above can.</p>
<p>If your site is not responding or not functional after upgrading to Subscriptions 3.0 you can attempt to roll back the database and plugins if it’s safe to do so, otherwise please&nbsp;<a href="https://woocommerce.com/my-account/create-a-ticket">contact support</a>&nbsp;so we can investigate further.</p>
<h3 id="section-19">I use&nbsp;<a href="https://help.codibu.com/blog/kb/woocommerce-memberships-2/">WooCommerce Memberships</a>&nbsp;which also uses Action Scheduler. Will Memberships still work after this upgrade?</h3>
<p>Yes, WooCommerce Memberships will continue to work as normal after upgrading to Subscriptions 3.0. Memberships interacts with the Action Scheduler library in a way that won’t be affected by this upgrade. In fact, Membership related scheduled action events will also benefit from the performance improvements included in this release.</p>
<h3 id="section-20">I use a plugin which uses Action Scheduler. Will this plugin still work after this upgrade?</h3>
<p>Most likely yes, however it depends on how the plugin is interacting with Action Scheduler data. If the plugin is using Action Scheduler APIs they will continue to work as normal. If, however, the plugin is interacting with the database directly or using some of the schedule types which previously didn’t work as described, they may run into issues.</p>
<p>If you are unsure, please reach out to the developer of the plugin using Action Scheduler to ask whether their plugin is compatible with Action Scheduler 3.0.</p><p>The post <a href="https://help.codibu.com/blog/whats-new-in-subscriptions-3-0/">What’s New in Subscriptions 3.0</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/whats-new-in-subscriptions-3-0/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What’s New in Subscriptions 2.6</title>
		<link>https://help.codibu.com/blog/whats-new-in-subscriptions-2-6/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=whats-new-in-subscriptions-2-6</link>
					<comments>https://help.codibu.com/blog/whats-new-in-subscriptions-2-6/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 14:59:16 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/whats-new-in-subscriptions-2-6/</guid>

					<description><![CDATA[<p>Subscriptions 2.6 includes two features, 2 enhancements, and other fixes and updates. Version 2.6 is a “minor” release and should be backwards compatible with sites running<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/whats-new-in-subscriptions-2-6/">What’s New in Subscriptions 2.6</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Subscriptions 2.6 includes two features, 2 enhancements, and other fixes and updates. Version 2.6 is a “minor” release and should be backwards compatible with sites running WooCommerce Subscriptions 2.0 and above.</p>
<p>In order to ensure a smooth update process, please refer to the <a href="https://help.codibu.com/blog/kb/woocommerce-subscriptions-upgrade-instructions/">Subscriptions Upgrade Guide</a>.</p>
<h2 id="section-1"><strong>New Features</strong></h2>
<h3 id="section-2">Improved early renewal user experience</h3>
<p>Customers who choose to renew their subscriptions early have in the past been required to go through the checkout flow. This meant the customer had to complete the checkout form, select a payment method, and process the payment.</p>
<p>For customers who have <strong>an automatic payment method already set on their subscription</strong>, this process can theoretically be skipped entirely. </p>
<p>With Subscriptions 2.6, there is a new option in <strong>WooCommerce &gt; Settings &gt; Subscriptions</strong> which will allow customers to bypass the checkout and streamline this process. If enabled, customers who click the <strong>Renew now</strong> button will be displayed a modal. A modal is a window which appears over the top of the main page content. The early renewal modal includes information about the subscription line items, the amount they will be charged, the payment method which will be used, and what will be the new next payment date.</p>
<p>By using the modal, customers can <strong>renew early without leaving their view subscription page, with 2 clicks, and with no page loads.</strong></p>
<div class="wp-block-image">
<figure class="aligncenter is-resized"><a href="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-1.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1771376" src="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-1.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-1.png 2490w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-1.png?resize=550,541 550w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-1.png?resize=768,755 768w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-1.png?resize=950,934 950w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-1.png?resize=1536,1510 1536w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-1.png?resize=2048,2013 2048w" alt="" width="950" height="934" /></a><figcaption><em>Customer’s early renewal modal</em></figcaption></figure>
</div>
<p><strong>Requirements</strong></p>
<p>For customers to be displayed the early renewal modal the following requirements must be met: </p>
<ul>
<li>The early renewal modal needs to be enabled via the admin settings. Upon upgrading to 2.6 this will be disabled by default. See steps below to enable this feature.</li>
<li>The subscription must have an <a href="https://help.codibu.com/blog/kb/subscription-renewal-process/#section-3">automatic payment method</a>.</li>
<li>The subscription must be <a href="https://help.codibu.com/blog/kb/subscriptions-early-renewal-guide/">eligible for early renewals</a>.</li>
</ul>
<div class="woo-sc-box note   ">Customers can choose to pay via the checkout if they wish to add a coupon or use a different address.</div>
<p>To enable the early renewal via modal setting: </p>
<ol>
<li>Go to <strong>WooCommerce &gt; Settings &gt; Subscriptions</strong></li>
<li>Scroll down to the <strong>Renewals</strong> section. </li>
<li>Under <strong>Early Renewal</strong> enable: 
<ol>
<li><strong>Accept Early Renewal Payments</strong>, and </li>
<li><strong>Accept Early Renewal Payments via a Modal</strong></li>
</ol>
</li>
</ol>
<figure class="aligncenter wp-block-image"><a href="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-admin-settings-2.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1771377" src="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-admin-settings-2.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-admin-settings-2.png 3882w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-admin-settings-2.png?resize=550,237 550w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-admin-settings-2.png?resize=768,332 768w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-admin-settings-2.png?resize=950,410 950w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-admin-settings-2.png?resize=1536,663 1536w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-early-renewal-modal-admin-settings-2.png?resize=2048,884 2048w" alt="" width="950" height="410" /></a><figcaption><em>Admin Early renewal via Modal setting – Enabled</em></figcaption></figure>
<div class="woo-sc-box note   ">To learn more about the early renewal process, you can read our <a href="https://help.codibu.com/blog/kb/subscriptions-early-renewal-guide/">Subscriptions Early Renewal Guide</a>.</div>
<h3 id="section-3">View which subscriptions and orders contribute to report figures</h3>
<p>When viewing subscription reports with 2.6, you will be able to see which subscriptions and orders are contributing to a particular figure. </p>
<div class="wp-block-image">
<figure class="aligncenter is-resized"><a href="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-links-3.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1771380" src="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-links-3.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-links-3.png 3240w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-links-3.png?resize=550,397 550w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-links-3.png?resize=768,554 768w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-links-3.png?resize=950,686 950w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-links-3.png?resize=1536,1108 1536w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-links-3.png?resize=2048,1478 2048w" alt="" width="950" height="686" /></a><figcaption><em>Subscription Events by Date report links</em></figcaption></figure>
</div>
<p>By clicking one of the report data points with a you will be redirected to the admin order or subscription table with the list of subscriptions or orders which contribute to the reported figure listed. </p>
<p>For example, to find the subscriptions which were cancelled in the last 7 days:</p>
<ol>
<li>Go to <strong>WooCommerce &gt; Reports &gt; Subscriptions tab.</strong></li>
<li>Select <strong>Last 7 Days</strong> from the date selection options.</li>
<li>On the left-hand side of the report, click the <strong>‘subscription cancellations’ </strong>link.</li>
<li>You will be redirected to the list of subscriptions which have been cancelled in the last 7 days. </li>
</ol>
<figure class="aligncenter wp-block-image"><a href="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-subscriptions-4.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1771381" src="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-subscriptions-4.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-subscriptions-4.png 4404w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-subscriptions-4.png?resize=550,176 550w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-subscriptions-4.png?resize=768,246 768w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-subscriptions-4.png?resize=950,304 950w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-subscriptions-4.png?resize=1536,492 1536w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-report-contribution-subscriptions-4.png?resize=2048,656 2048w" alt="" width="950" height="304" /></a><figcaption><em>Admin subscriptions table listing subscriptions cancelled in the last 7 days</em></figcaption></figure>
<p>The reports which support contribution views are: </p>
<ol>
<li><strong>New Subscriptions</strong> – the number of subscriptions created during the selected report period. This includes subscriptions created manually, imported or created by a customer placing an order. This includes subscriptions with orders pending payment.</li>
<li><strong>Subscription Signups</strong> – the number of subscriptions purchased in parent orders created during the selected report period. This represents the new subscriptions created by customers placing an order via checkout.</li>
<li><strong>Subscription Resubscribes – </strong>The number of resubscribe orders processed during the report period.</li>
<li><strong>Subscription Renewals</strong> – the number of renewal orders processed during the selected report period.</li>
<li><strong>Subscription Switches</strong> – the number of subscriptions upgraded, downgraded, or cross-graded during the selected report period.</li>
<li><strong>Subscription Cancellations</strong> – the number of subscriptions cancelled by the customer or store manager during the selected report period. </li>
<li><strong>Ended Subscriptions </strong>– the number of subscriptions in the selected report period which have either expired or reached the end of the prepaid term if it was previously cancelled.</li>
<li><strong>Current Subscriptions</strong> – the number of subscriptions during the selected report period with an end date in the future and a status other than pending.</li>
</ol>
<h2 id="section-4"><strong>Enhancements</strong></h2>
<h3 id="section-5">Improved switching calculations</h3>
<p>WooCommerce Subscriptions 2.6 includes a complete rewrite of the code which calculates the amount a customer pays in upgrade fees and the number of days the subscription is extended by when downgrading between two products.</p>
<p>The code prior to this rewrite was complicated and led to bugs in the calculations being difficult to fix. </p>
<p>As part of this rewrite, 12 known issues and possibly more unknown bugs have been fixed. </p>
<p>To assist in understanding and troubleshooting a switch upgrade cost and outcome, information about every subscription switch will now be logged to the <em>wcs-switch-cart-items</em> log. Each log entry will include important switch values used in the proration calculations.</p>
<figure class="aligncenter wp-block-image"><a href="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-admin-switch-log-8.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1771512" src="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-admin-switch-log-8.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-admin-switch-log-8.png 3578w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-admin-switch-log-8.png?resize=550,152 550w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-admin-switch-log-8.png?resize=768,212 768w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-admin-switch-log-8.png?resize=950,263 950w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-admin-switch-log-8.png?resize=1536,425 1536w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-admin-switch-log-8.png?resize=2048,567 2048w" alt="" width="950" height="263" /></a><figcaption><em>Admin switched item log</em></figcaption></figure>
<p>To view the switched cart item log:</p>
<ol>
<li>Go to <strong>WooCommerce &gt; Status &gt; Logs (tab)</strong></li>
<li>From the drop-down on the right-hand side select the <strong><em>wcs-switch-cart-items</em></strong> log file</li>
<li>Click <strong>View</strong></li>
</ol>
<h3 id="section-6">Improved handling of unloadable orders in the related orders table</h3>
<p>Sometimes errors can happen and orders cannot be loaded from the database. Prior to 2.6, this scenario would lead to errors on the admin edit subscription screen as we tried to generate the related orders table. </p>
<p>Because a subscription keeps an internal record of its related orders, in 2.6, if the order fails to load from the database correctly, the order will be listed in the related orders table and include a link to documentation that will help store managers find and resolve the underlying cause.</p>
<figure class="aligncenter wp-block-image"><a href="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-edit-subscription-unloadable-orders-5.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1771378" src="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-edit-subscription-unloadable-orders-5.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-edit-subscription-unloadable-orders-5.png 2996w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-edit-subscription-unloadable-orders-5.png?resize=550,291 550w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-edit-subscription-unloadable-orders-5.png?resize=768,407 768w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-edit-subscription-unloadable-orders-5.png?resize=950,503 950w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-edit-subscription-unloadable-orders-5.png?resize=1536,813 1536w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-edit-subscription-unloadable-orders-5.png?resize=2048,1084 2048w" alt="" width="950" height="503" /></a><figcaption><em>Unloadable orders on the admin edit subscription related orders table</em></figcaption></figure>
<h2 id="section-7"><strong>Other Changes</strong></h2>
<h3 id="section-8">Switching subscription setting changes </h3>
<p>To enable third-party developers to include their own product types in the list of switchable products, the setting which allows store managers to turn on switching between certain product types has been converted into multiple checkboxes rather than a drop-down.</p>
<figure class="aligncenter wp-block-image"><a href="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-allow-switching-admin-settings-6.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1771375" src="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-allow-switching-admin-settings-6.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-allow-switching-admin-settings-6.png 2956w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-allow-switching-admin-settings-6.png?resize=550,332 550w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-allow-switching-admin-settings-6.png?resize=768,464 768w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-allow-switching-admin-settings-6.png?resize=950,573 950w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-allow-switching-admin-settings-6.png?resize=1536,927 1536w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-allow-switching-admin-settings-6.png?resize=2048,1236 2048w" alt="" width="950" height="573" /></a><figcaption><em>Allow switching between admin settings</em></figcaption></figure>
<p>All existing store settings will be kept unchanged and how the settings work in the plugin’s code will continue to work as they have in the past.</p>
<h3 id="section-9">Updates to customer-facing templates</h3>
<p>WooCommerce core uses sentence case (capitalizing only the first word and any proper nouns) in headings in customer-facing templates. Subscriptions 2.6 includes a review of all the my account, cart, and checkout templates and updates all headings to follow WooCommerce in order to be consistent across the board. </p>
<div class="wp-block-image">
<figure class="aligncenter is-resized"><a href="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-my-account-view-subscription-7.png?w=733" rel="prettyPhoto"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1771379" src="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-my-account-view-subscription-7.png?w=733" sizes="(max-width: 733px) 100vw, 733px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-my-account-view-subscription-7.png 2233w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-my-account-view-subscription-7.png?resize=424,550 424w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-my-account-view-subscription-7.png?resize=768,996 768w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-my-account-view-subscription-7.png?resize=733,950 733w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-my-account-view-subscription-7.png?resize=1185,1536 1185w, https://help.codibu.com/wp-content/uploads/2020/11/WC-Subscriptions-2.6-my-account-view-subscription-7.png?resize=1580,2048 1580w" alt="" width="733" height="950" /></a><figcaption><em>Customer’s view subscription page</em></figcaption></figure>
</div>
<h2 id="section-10"><strong>For Developers and Store Builders</strong></h2>
<h3 id="section-11">Rest API: removed subscription line items included in the response</h3>
<p>Line items which have been removed from the subscription by the customer from their <strong>My Account &gt; View Subscription </strong>page, will be included in the Subscription endpoint GET response. </p>
<p>On top of the line item data, you will now receive the same data for the line items which have been removed. For example:</p>
<pre class="wp-block-code"><code>"line_items": [
 {
     "id": 2911,
     "name": "Small Woorld Subscription",
     "sku": "",
     "product_id": 24,
     "variation_id": 0,
     "quantity": 1,
     "tax_class": "",
     "price": "30.00",
     "subtotal": "30.00",
     "subtotal_tax": "0.00",
     "total": "30.00",
     "total_tax": "0.00",
     "taxes": [],
     "meta": []
 }]
"removed_line_items": [
 {
     "id": 2917,
     "name": "Small Woorld Membership",
     "sku": "",
     "product_id": 23,
     "variation_id": 0,
     "quantity": 1,
     "tax_class": "",
     "price": "100.00",
     "subtotal": "100.00",
     "subtotal_tax": "0",
     "total": "100.00",
     "total_tax": "0",
     "taxes": [],
     "meta": []
 }]</code></pre>
<div class="woo-sc-box note   ">The removed line item data exists on existing sites running Subscriptions prior to 2.6. This isn’t new data. Subscriptions with line items which were removed before upgrading to 2.6, keep track of this data. Subscriptions 2.6 just exposes this data via the REST API.</div>
<h3 id="section-12">Switching refactor</h3>
<p>As part of the switching refactor, there are 3 new classes which are used to calculate the prorated price and subscription date updates while switching. </p>
<p><small><code>WCS_Switch_Totals_Calculator</code></small> – The <small><code>WCS_Switch_Totals_Calculator</code></small> object takes a <small><code>WC_Cart</code></small> object as the only parameter in its constructor. It’s main function is <small><code>calculate_prorated_totals()</code></small> which will calculate all the prorated totals for all the switch items in the cart. It has other functions which are used to determine what switch settings are in place on the store and functions to set values in the cart item’s data.</p>
<p><small><code>WCS_Switch_Cart_Item</code></small> – For every item in the cart which records a switch between one subscription line item and another, a <small><code>WCS_Switch_Cart_Item</code></small> object will be created. This class is responsible for calculating various things about the switch. Specifically how many days into the current term is the current subscription, what’s the price per day of the new and old products, whether the switch is occuring during a trial, etc.</p>
<p><small><code>WCS_Add_Cart_Item</code></small> – The add cart item class extends <small><code>WCS_Switch_Cart_Item</code></small>. It is similar to a switch cart item, however, it doesn’t have an item on the current subscription which it is planned to replace. It only contains a couple of functions which override functions which aren’t necessary when an existing subscription line item isn’t being switched. Under normal use, this object isn’t used within Subscriptions core, it exists to enable third-parties to add items to existing subscriptions, and inherit all the built-in proration calculations that switching brings. </p>
<h3 id="section-13">Repair subscription line items with missing <small><code>_has_trial</code></small> meta</h3>
<p>During Subscriptions 2.6 development we discovered that subscription products with a trial period purchased on sites running WC 3.0, haven’t been storing the <small><code>_has_trial</code></small> meta. The impact of this missing data is fairly small as it is only used by Subscriptions to calculate a subscription line item’s sign up fee and that’s used to apportion sign up fees while switching.</p>
<p>Subscriptions 2.6 includes an upgrade routine which will find and update all subscription line items with this missing data.</p>
<h3 id="section-14">Apply BEM classes to Subscriptions templates </h3>
<p>In Subscriptions 2.6 all the My Account templates have been updated to use the BEM (Block, Element, Modifier) methodology. WooCommerce has in recent versions started to move towards using the BEM methodology. BEM provides a standard whereby theme developers and third-party developers can, on a more granular level, target HTML blocks, elements, and elements within specific blocks.  </p>
<p>You can read more about the BEM methodology and its key concepts here.</p>
<h3 id="section-15"><strong>Template Changes</strong></h3>
<p><small><code>templates/admin/status.php</code></small> <small><code>templates/cart/cart-recurring-shipping.php</code></small> <small><code>templates/checkout/form-change-payment-method.php</code></small> <small><code>templates/checkout/recurring-totals.php</code></small> <small><code>templates/myaccount/my-subscriptions.php</code></small> <small><code>templates/myaccount/related-orders.php</code></small> <small><code>templates/myaccount/related-subscriptions.php</code></small> <small><code>templates/myaccount/subscription-details.php</code></small> <small><code>templates/myaccount/subscription-totals.php</code></small> <small><code>templates/myaccount/view-subscription.php</code></small> <small><code>templates/single-product/add-to-cart/subscription.php</code></small> <small><code>templates/single-product/add-to-cart/variable-subscription.php</code></small></p>
<h4 id="emails"><strong>Emails</strong></h4>
<p>All subscription email templates have been updated to include the additional content added in WooCommerce 3.7.0. </p>
<p><small><code>templates/emails/admin-new-renewal-order.php</code></small> <small><code>templates/emails/admin-new-switch-order.php</code></small> <small><code>templates/emails/admin-payment-retry.php</code></small> <small><code>templates/emails/cancelled-subscription.php</code></small> <small><code>templates/emails/customer-completed-renewal-order.php</code></small> <small><code>templates/emails/customer-completed-switch-order.php</code></small> <small><code>templates/emails/customer-payment-retry.php</code></small> <small><code>templates/emails/customer-processing-renewal-order.php</code></small> <small><code>templates/emails/customer-renewal-invoice.php</code></small> <small><code>templates/emails/email-order-details.php</code></small> <small><code>templates/emails/expired-subscription.php</code></small> <small><code>templates/emails/on-hold-subscription.php</code></small> <small><code>templates/emails/subscription-info.php</code></small> <small><code>templates/emails/plain/admin-new-renewal-order.php</code></small> <small><code>templates/emails/plain/admin-new-switch-order.php</code></small> <small><code>templates/emails/plain/admin-payment-retry.php</code></small> <small><code>templates/emails/plain/cancelled-subscription.php</code></small> <small><code>templates/emails/plain/customer-completed-renewal-order.php</code></small> <small><code>templates/emails/plain/customer-completed-switch-order.php</code></small> <small><code>templates/emails/plain/customer-payment-retry.php</code></small> <small><code>templates/emails/plain/customer-processing-renewal-order.php</code></small> <small><code>templates/emails/plain/customer-renewal-invoice.php</code></small> <small><code>templates/emails/plain/expired-subscription.php</code></small> <small><code>templates/emails/plain/on-hold-subscription.php</code></small> <small><code>templates/emails/plain/subscription-info.php</code></small></p>
<p><strong>New templates</strong></p>
<p><small><code>templates/html-early-renewal-modal-content.php</code></small> <small><code>templates/html-modal.php</code></small> <small><code>templates/myaccount/subscription-totals-table.php</code></small></p>
<h3 id="section-16"><strong>Deprecated Functions, Classes, Properties, Actions and Filters</strong></h3>
<p><strong>Functions</strong></p>
<ul>
<li><strong><code><small>WC_Subscriptions_Cart::check_valid_add_to_cart()</small></code></strong> – this function has moved to <code><small>WC_Subscriptions_Cart_Validator::check_valid_add_to_cart()</small></code></li>
<li><strong><code><small>WC_Subscription::get_completed_payment_count()</small></code></strong>– there is now a new function, <code><small>WC_Subscription::get_payment_count()</small></code>, which can be used for the same purpose and new concepts too like <code><small>$subscription-&gt;get_payment_count( 'refunded' )</small></code> or <code><small>$subscription-&gt;get_payment_count( 'net' )</small></code></li>
<li><strong><code><small>WC_Subscriptions_Manager::process_subscription_payments_on_order()</small></code></strong> – this function was not not being used by Subscriptions core and included pre-Subscriptions 2.0 concepts.</li>
<li><strong><code><small>WC_Subscriptions_Manager::process_subscription_payment_failure_on_order()</small></code></strong> – this function was not not being used by Subscriptions core and included pre-Subscriptions 2.0 concepts.</li>
</ul>
<p><strong>Filters</strong></p>
<ul>
<li><strong><code><small>woocommerce_subscription_payment_completed_count</small></code></strong> – this filter was not compatible with the new function <code><small>WC_Subscription::get_payment_count()</small></code>, as it filtered the combined parent and renewal completed order counts. You should use <code><small>woocommerce_subscription_parent_payment_completed_count</small></code> and <code><small>woocommerce_subscription_renewal_payment_completed_count</small></code> filters to provide the individual counts.</li>
</ul>
<p><strong>Properties</strong></p>
<ul>
<li><strong><code><small>WCS_Action_Scheduler::$action_hooks</small></code></strong> – this property is protected and should no longer be used by any third-party extending the <code><small>WCS_Action_Scheduler</small></code> class. <code><small>WCS_Action_Scheduler</small></code> itself will now use <code><small>WCS_Action_Scheduler::get_date_types_to_schedule()</small></code> to schedule and unschedule events on subscription status update.</li>
</ul><p>The post <a href="https://help.codibu.com/blog/whats-new-in-subscriptions-2-6/">What’s New in Subscriptions 2.6</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/whats-new-in-subscriptions-2-6/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Subscriptions and the GDPR</title>
		<link>https://help.codibu.com/blog/subscriptions-and-the-gdpr/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=subscriptions-and-the-gdpr</link>
					<comments>https://help.codibu.com/blog/subscriptions-and-the-gdpr/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 19:58:32 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/subscriptions-and-the-gdpr/</guid>

					<description><![CDATA[<p>WooCommerce Subscriptions supports the tools that enable store managers to comply with the&#160;General Data Protection Regulation&#160;(GDPR). This support is built on the functionality included in&#160;WooCommerce&#160;and&#160;WordPress. Below<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/subscriptions-and-the-gdpr/">Subscriptions and the GDPR</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>WooCommerce Subscriptions supports the tools that enable store managers to comply with the&nbsp;General Data Protection Regulation&nbsp;(GDPR). This support is built on the functionality included in&nbsp;<a href="https://woocommerce.wordpress.com/2018/05/04/woocommerce-3-4-gdpr-features/">WooCommerce</a>&nbsp;and&nbsp;<a href="https://wordpress.org/news/2018/05/wordpress-4-9-6-privacy-and-maintenance-release/">WordPress</a>. Below is information on how Subscriptions handles customer data.</p>
<h2 id="section-1">Data Subscriptions Uses</h2>
<p>Subscriptions accesses and records data similar to&nbsp;<a href="https://woocommerce.wordpress.com/2018/05/04/woocommerce-3-4-gdpr-features/">WooCommerce</a>. The data used by Subscriptions includes:</p>
<ul>
<li>Subscription ID Number</li>
<li>Date Created</li>
<li>Recurring Total</li>
<li>Subscription Items</li>
<li>IP Address</li>
<li>Browser User Agent</li>
<li>Billing Address</li>
<li>Shipping Address</li>
<li>Phone Number</li>
<li>Email Address</li>
<li>Payment Gateway tokens</li>
</ul>
<h3 id="section-2">Data retention</h3>
<h4 id="inactive-user-data-retention"><strong>Inactive user data retention</strong></h4>
<p>With WooCommerce, it is possible to erase customers’ data after a set amount of time. This setting is under&nbsp;<b>WooCommerce &gt; Settings &gt; Accounts &amp; Privacy &gt; Personal data retention</b>. With WooCommerce Subscriptions, customers who have at least one subscription are exempt from this cleanup. This is to&nbsp;<b>prevent customers who have subscriptions from having their data removed while they still have a subscription</b>.</p>
<figure id="attachment_1498142" class="wp-caption aligncenter" aria-describedby="caption-attachment-1498142"><a href="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_1_exempt_cleanup.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-full wp-image-1498142" src="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_1_exempt_cleanup.png" sizes="(max-width: 980px) 100vw, 980px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_1_exempt_cleanup.png 2178w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_1_exempt_cleanup.png?resize=550,302 550w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_1_exempt_cleanup.png?resize=768,421 768w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_1_exempt_cleanup.png?resize=950,521 950w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_1_exempt_cleanup.png?resize=1536,842 1536w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_1_exempt_cleanup.png?resize=2048,1123 2048w" alt="Inactive Account Cleanup Setting - Subscribers Exempt" width="980" height="537"></a><figcaption id="caption-attachment-1498142" class="wp-caption-text">Inactive Account Cleanup Setting – Subscribers Exempt</figcaption></figure>
<h4 id="ended-subscription-data-retention"><strong>Ended subscription data retention</strong></h4>
<p>It is possible to anonymize data associated with subscriptions after a set amount of time. This applies to subscriptions that are ended, meaning that they have a status of cancelled, expired, switched, or trash.</p>
<p>To find this setting:</p>
<ol>
<li>Go to&nbsp;<b>WooCommerce &gt; Settings &gt; Accounts &amp; Privacy</b></li>
<li>Scroll to the section labeled&nbsp;<b>Personal data retention</b></li>
<li>The setting is called&nbsp;<b>Retain ended subscriptions</b></li>
</ol>
<figure id="attachment_1498143" class="wp-caption aligncenter" aria-describedby="caption-attachment-1498143"><a href="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_2_data_retention.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-full wp-image-1498143" src="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_2_data_retention.png" sizes="(max-width: 980px) 100vw, 980px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_2_data_retention.png 2188w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_2_data_retention.png?resize=550,300 550w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_2_data_retention.png?resize=768,419 768w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_2_data_retention.png?resize=950,518 950w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_2_data_retention.png?resize=1536,838 1536w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_2_data_retention.png?resize=2048,1118 2048w" alt="Retain Ended Subscriptions Setting" width="980" height="535"></a><figcaption id="caption-attachment-1498143" class="wp-caption-text">Retain Ended Subscriptions Setting</figcaption></figure>
<h2 id="section-3">Export or Erase Customer Data</h2>
<p>The ability to&nbsp;<a href="https://codex.wordpress.org/Tools_Export_Personal_Data_Screen">export</a>&nbsp;or&nbsp;<a href="https://codex.wordpress.org/Tools_Erase_Personal_Data_Screen">erase</a>&nbsp;customer data is built into tools in&nbsp;<a href="https://wordpress.org/news/2018/05/wordpress-4-9-6-privacy-and-maintenance-release/">WordPress</a>. Subscriptions supports these tools by including subscription data as a part of the data that is exported or erased.</p>
<h3 id="section-4">Data export</h3>
<p>When data is exported, the user is given a file that contains their data. Subscriptions adds each subscription the user has, and data that is connected to each subscription, to this file. Similarly, when data is erased, Subscriptions erases this data.</p>
<p>Example of the Subscriptions portion of a data export:</p>
<figure id="attachment_1498147" class="wp-caption aligncenter" aria-describedby="caption-attachment-1498147"><a href="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_3_data_export.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-full wp-image-1498147" src="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_3_data_export.png" sizes="(max-width: 980px) 100vw, 980px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_3_data_export.png 1746w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_3_data_export.png?resize=550,496 550w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_3_data_export.png?resize=768,692 768w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_3_data_export.png?resize=950,856 950w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_3_data_export.png?resize=1536,1385 1536w" alt="Example Subscription Related Portion of Data Export" width="980" height="883"></a><figcaption id="caption-attachment-1498147" class="wp-caption-text">Example Subscription Related Portion of Data Export</figcaption></figure>
<h3 id="section-5">Data erasure</h3>
<h4 id="data-erasure-setting"><strong>Data erasure setting</strong></h4>
<p>To remove personal data from subscriptions during a data erasure request, a setting must be enabled. To enable this setting:</p>
<ol>
<li>Go to&nbsp;<b>WooCommerce &gt; Settings &gt; Accounts &amp; Privacy</b></li>
<li>Go to the section labeled&nbsp;<b>Account erasure requests</b></li>
<li>Check the box labeled&nbsp;<b>Remove personal data from subscriptions</b></li>
</ol>
<figure id="attachment_1498149" class="wp-caption aligncenter" aria-describedby="caption-attachment-1498149"><a href="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_4_privacy_settings.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-full wp-image-1498149" src="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_4_privacy_settings.png" sizes="(max-width: 980px) 100vw, 980px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_4_privacy_settings.png 2482w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_4_privacy_settings.png?resize=550,273 550w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_4_privacy_settings.png?resize=768,381 768w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_4_privacy_settings.png?resize=950,472 950w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_4_privacy_settings.png?resize=1536,762 1536w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_4_privacy_settings.png?resize=2048,1017 2048w" alt="Enable Removal of Personal Data from Subscriptions" width="980" height="486"></a><figcaption id="caption-attachment-1498149" class="wp-caption-text">Enable Removal of Personal Data from Subscriptions</figcaption></figure>
<p>When personal data is erased and the data removed from the corresponding subscriptions, the subscriptions will be cancelled.</p>
<h4 id="bulk-erase-data-from-subscriptions"><strong>Bulk erase data from subscriptions</strong></h4>
<p>It is also possible to erase personal data on subscriptions in bulk. The corresponding subscriptions will then be cancelled and have the personal data removed. This only removes the data from the subscriptions chosen and not the related orders.</p>
<p>To erase personal data on subscriptions:</p>
<ol>
<li>Go to the&nbsp;<b>WooCommerce &gt; Subscriptions</b>&nbsp;administration screen</li>
<li>Select the subscriptions that you wish to remove personal data from using the checkboxes</li>
<li>In the&nbsp;<b>Bulk Actions</b>&nbsp;dropdown, select&nbsp;<b>Cancel and remove personal data</b></li>
<li>Click&nbsp;<b>Apply</b></li>
</ol>
<figure id="attachment_1498151" class="wp-caption aligncenter" aria-describedby="caption-attachment-1498151"><a href="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_5_bulk_edit.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-full wp-image-1498151" src="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_5_bulk_edit.png" sizes="(max-width: 980px) 100vw, 980px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/gdpr_5_bulk_edit.png 3256w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_5_bulk_edit.png?resize=550,196 550w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_5_bulk_edit.png?resize=768,273 768w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_5_bulk_edit.png?resize=950,338 950w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_5_bulk_edit.png?resize=1536,546 1536w, https://help.codibu.com/wp-content/uploads/2020/11/gdpr_5_bulk_edit.png?resize=2048,728 2048w" alt="Bulk Remove Personal Data from Subscriptions" width="980" height="349"></a><figcaption id="caption-attachment-1498151" class="wp-caption-text">Bulk Remove Personal Data from Subscriptions</figcaption></figure>
<h2 id="section-6">Privacy Policy Guide</h2>
<p>In order to ensure store managers have what they need to comply with the GDPR, WordPress includes a&nbsp;<a href="https://wordpress.org/news/2018/05/wordpress-4-9-6-privacy-and-maintenance-release/">privacy policy guide</a>. Subscriptions adds a section to this guide to help store managers understand what information Subscriptions uses and be better able to write their own privacy policies.</p>
<p>To see Subscriptions’ section in the privacy policy guide:</p>
<ol>
<li>Go to the WordPress administrator dashboard</li>
<li>Go to&nbsp;<b>Settings &gt; Privacy</b>&nbsp;and click the link to&nbsp;<i>Check out our guide</i></li>
<li>Scroll to the section labeled&nbsp;<b>Source: WooCommerce Subscriptions</b></li>
</ol>
<p>OR</p>
<ol>
<li>Go to&nbsp;<code>https://example.com/wp-admin/tools.php?wp-privacy-policy-guide#wp-privacy-policy-guide-woocommerce-subscriptions</code>, replacing&nbsp;<code>example.com</code>&nbsp;with your site’s URL.</li>
</ol>
<figure id="attachment_1498152" class="wp-caption aligncenter" aria-describedby="caption-attachment-1498152">Subscriptions Section in the Privacy Policy Guide</figure><p>The post <a href="https://help.codibu.com/blog/subscriptions-and-the-gdpr/">Subscriptions and the GDPR</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/subscriptions-and-the-gdpr/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What’s New in Subscriptions 2.5</title>
		<link>https://help.codibu.com/blog/whats-new-in-subscriptions-2-5/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=whats-new-in-subscriptions-2-5</link>
					<comments>https://help.codibu.com/blog/whats-new-in-subscriptions-2-5/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 14:57:51 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/whats-new-in-subscriptions-2-5/</guid>

					<description><![CDATA[<p>This new version includes two main features, various enhancements, and other fixes and updates. Version 2.5 is a “minor” release and should be backwards compatible with<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/whats-new-in-subscriptions-2-5/">What’s New in Subscriptions 2.5</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>This new version includes two main features, various enhancements, and other fixes and updates. Version 2.5 is a “minor” release and should be backwards compatible with sites running WooCommerce Subscriptions 2.0 and above.</p>
<p>In order to ensure a smooth update process, please refer to the <a href="https://help.codibu.com/blog/kb/woocommerce-subscriptions-upgrade-instructions/">Subscriptions Upgrade Guide</a>.</p>
<h2 id="section-1">New features</h2>
<h3 id="section-2">Sign up for free trial and synced products without payment details</h3>
<p>When customers have signed up to subscription products in the past, they have been required to select a payment method and enter their credit card details, even if no initial payment is required. This was to ensure that future payments could be processed automatically. <a href="http://ideas.woocommerce.com/forums/133476-woocommerce/suggestions/5748332-subscription-free-trail-without-cc-needed-ask-fo">One of our most highly requested features on the ideas board</a> has been to allow customers to bypass this step and in 2.5, this is now possible.</p>
<p>Store managers can enable this feature by changing a new setting. Enabling this feature will allow customers to check out without the need to enter their payment details when signing up to subscriptions that don’t need an initial payment.</p>
<p>Conditions for a $0 initial checkout include:</p>
<ul>
<li>Products with a free trial</li>
<li>Non-prorated synced products</li>
<li>Orders where the first payment has been discounted by 100%</li>
</ul>
<p>To enable this feature:</p>
<ol>
<li>Go to the <strong>WooCommerce &gt; Settings &gt; Subscriptions</strong> screen.</li>
<li>Scroll down to the <strong>Miscellaneous</strong> section.</li>
<li>Check the option to <strong>Allow $0 initial checkout without a payment method</strong>.</li>
<li>Save.</li>
</ol>
<figure id="attachment_1452164" class="wp-caption aligncenter" aria-describedby="caption-attachment-1452164"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_1_features_settings.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1452164 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_1_features_settings.png" sizes="(max-width: 1200px) 100vw, 1200px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_1_features_settings.png 1200w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_1_features_settings.png?resize=550,405 550w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_1_features_settings.png?resize=768,565 768w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_1_features_settings.png?resize=950,699 950w" alt="" width="1200" height="883" /></a><figcaption id="caption-attachment-1452164" class="wp-caption-text">$0 Initial Checkout Setting – Disabled</figcaption></figure>
<div class="woo-sc-box note   ">To remain compatible with the past behavior, after upgrading to 2.5 this option will be disabled by default.</div>
<div class="woo-sc-box info   ">Using AutomateWoo, you can create a Subscriptions Onboarding flow to encourage subscribers to add a payment method so that their subscription will automatically renew.</div>
<h3 id="section-3">Add payment method</h3>
<p>For customers who have signed up for subscriptions without entering their payment details, or for customers who have had a <a href="https://help.codibu.com/blog/kb/manually-add-or-edit-a-subscription/">subscription created for them manually</a>, adding an automatic payment method to their subscription is an important step.</p>
<p>With 2.5, customers will be able to add a payment method in a similar way to how they have changed their subscription payment methods in the past.</p>
<figure id="attachment_1452182" class="wp-caption aligncenter" aria-describedby="caption-attachment-1452182"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_2_features_AP.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1452182 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_2_features_AP.png" sizes="(max-width: 1096px) 100vw, 1096px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_2_features_AP.png 1096w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_2_features_AP.png?resize=550,378 550w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_2_features_AP.png?resize=768,528 768w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_2_features_AP.png?resize=950,654 950w" alt="" width="1096" height="754" /></a><figcaption id="caption-attachment-1452182" class="wp-caption-text">Add Payment Button – Customer Subscription View</figcaption></figure>
<p>For the Add Payment button to appear the following criteria must be met:</p>
<ol>
<li>The subscription must be <a href="https://help.codibu.com/blog/kb/subscription-renewal-process/">manual renewal</a>. Manual renewal subscriptions include those which:
<ul>
<li>don’t have a payment method</li>
<li>were purchased with a manual payment gateway like Cheque, or</li>
<li>have been set to require manual renewal in the case where the store has <a href="https://help.codibu.com/blog/kb/subscriptions-store-manager-guide/#turn-off-automatic-payments">turned off automatic payments</a></li>
</ul>
</li>
<li>The subscription must have a recurring amount and therefore require payment.</li>
<li>The subscription must be active and have a next payment date.</li>
<li>The store must have at least one payment method that can <a href="https://help.codibu.com/blog/kb/subscription-payment-methods-gateways/#section-3">support payment method changes.</a></li>
</ol>
<p>As part of this new feature, store managers can now also generate a link directly from the <strong>WooCommerce &gt; Subscriptions &gt; Edit Subscription</strong> screen that can be used by customers to add or change a subscription’s payment method. To get this link:</p>
<ol>
<li>Go to <strong>WooCommerce &gt; Subscriptions</strong>.</li>
<li>Click on the subscription you want to get the link for.</li>
<li>The link will be displayed at the bottom of the billing details section.</li>
</ol>
<figure id="attachment_1452273" class="wp-caption aligncenter" aria-describedby="caption-attachment-1452273"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_3_features_CPL.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1452273 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_3_features_CPL.png" sizes="(max-width: 1563px) 100vw, 1563px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_3_features_CPL.png 1563w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_3_features_CPL.png?resize=550,260 550w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_3_features_CPL.png?resize=768,363 768w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_3_features_CPL.png?resize=950,449 950w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_3_features_CPL.png?resize=1536,726 1536w" alt="" width="1563" height="739" /></a><figcaption id="caption-attachment-1452273" class="wp-caption-text">Link to Add or Change Subscription Payment Method</figcaption></figure>
<h3 id="section-4">Auto-renew toggle</h3>
<p>For stores that <a href="https://help.codibu.com/blog/kb/subscriptions-store-manager-guide/#renewal-settings">accept both manual and automatic payments</a>, the payment method the customer uses to sign up for their subscription determines if a subscription is renewed manually or automatically. In 2.5 there is a new option that will allow your customers to switch between automatic and manual renewals whenever they choose.</p>
<figure id="attachment_1452275" class="wp-caption aligncenter" aria-describedby="caption-attachment-1452275"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_4_features_settings.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1452275 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_4_features_settings.png" sizes="(max-width: 1250px) 100vw, 1250px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_4_features_settings.png 1250w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_4_features_settings.png?resize=550,261 550w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_4_features_settings.png?resize=768,364 768w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_4_features_settings.png?resize=950,451 950w" alt="" width="1250" height="593" /></a><figcaption id="caption-attachment-1452275" class="wp-caption-text">Auto Renewal Toggle Setting – Enabled</figcaption></figure>
<p>This feature will be off by default. To enable it:</p>
<ol>
<li>Go to the <strong>WooCommerce &gt; Settings &gt; Subscriptions</strong> screen.</li>
<li>Scroll down to the <strong>Renewals</strong> section.</li>
<li>Check the option to <strong>Display the auto renewal toggle</strong>.</li>
<li>Save.</li>
</ol>
<p>Enabling this feature will display an auto-renew toggle on the customer’s View Subscription page. Clicking this will switch their subscription between manual and automatic renewals.</p>
<figure id="attachment_1452276" class="wp-caption aligncenter" aria-describedby="caption-attachment-1452276"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_5_features_toggle.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1452276 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_5_features_toggle.png" sizes="(max-width: 1099px) 100vw, 1099px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_5_features_toggle.png 1099w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_5_features_toggle.png?resize=550,323 550w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_5_features_toggle.png?resize=768,451 768w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_5_features_toggle.png?resize=950,558 950w" alt="" width="1099" height="646" /></a><figcaption id="caption-attachment-1452276" class="wp-caption-text">Auto Renewal Toggle – Customer View, Disabled (Manual Renewal)</figcaption></figure>
<p>If the customer chooses to turn on automatic payments and the subscription doesn’t have an automatic payment method set, the customer will be asked to add one by following the <a href="https://help.codibu.com/blog/kb/whats-new-in-subscriptions-2-5/#section-3">Add Payment method flow</a>. This process is similar to the existing change payment method process.</p>
<h2 id="section-5">Enhancements</h2>
<h3 id="section-6">Update all subscription payment methods</h3>
<p>In 2.5, when a customer adds or changes a subscription’s payment method, they will be given the option to update all their subscriptions to use this new payment method. This will be useful for customers who have multiple subscriptions with your store.</p>
<figure id="attachment_1452348" class="wp-caption aligncenter" aria-describedby="caption-attachment-1452348"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_6_enhancements_USPM.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1452348 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_6_enhancements_USPM.png" sizes="(max-width: 662px) 100vw, 662px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_6_enhancements_USPM.png 662w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_6_enhancements_USPM.png?resize=436,550 436w" alt="Update All Subscription's Payment Method Option" width="662" height="836" /></a><figcaption id="caption-attachment-1452348" class="wp-caption-text">Update All Subscription’s Payment Method Option</figcaption></figure>
<p>For this checkbox to appear the customer will need to:</p>
<ul>
<li>Have more than one subscription.</li>
<li>Select a payment method which supports this feature. Payment gateways that support admin payment method changes and update the payment method immediately on the change payment page will work out of the box. Payment gateways can also declare direct support for this feature. More on this in the <a href="https://help.codibu.com/blog/kb/whats-new-in-subscriptions-2-5/#section-18">developer section</a> below.</li>
</ul>
<h3 id="section-7">Improved payment method display</h3>
<p>It’s important for your customers to know what payment method will be used to process upcoming renewal orders for their subscriptions. In 2.5, we’ve moved the subscription’s payment method details out of the subscription totals table and up into the subscription details table.</p>
<p>We’ve also tried to make sure that customers have as much information as possible. Depending on the payment gateway, the customer will see more details about which card will be charged.</p>
<figure id="attachment_1452350" class="wp-caption aligncenter" aria-describedby="caption-attachment-1452350"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_7_enhancements_IPMD.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1452350 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_7_enhancements_IPMD.png" sizes="(max-width: 1106px) 100vw, 1106px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_7_enhancements_IPMD.png 1106w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_7_enhancements_IPMD.png?resize=550,392 550w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_7_enhancements_IPMD.png?resize=768,548 768w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_7_enhancements_IPMD.png?resize=950,678 950w" alt="Payment Method Display - Customer View" width="1106" height="789" /></a><figcaption id="caption-attachment-1452350" class="wp-caption-text">Payment Method Display – Customer View</figcaption></figure>
<div class="woo-sc-box note   ">What is displayed is dependent on the payment gateway and what is available, some payment methods don’t have access to specific card details and so the payment method will be displayed by default, e.g. “Via PayPal.”</div>
<h3 id="section-8">Reactivate pending-cancellation subscriptions</h3>
<p>Sometimes store managers and customers can accidentally cancel a subscription. In 2.5 customers and store managers will be able to reactivate subscriptions that have the <a href="https://help.codibu.com/blog/kb/subscription-status-guide/#section-4">Pending-Cancellation</a> status.</p>
<p>A cancelled subscription can only be reactivated if it:</p>
<ul>
<li>has a pending-cancellation status,</li>
<li>is <a href="https://help.codibu.com/blog/kb/subscription-renewal-process/#section-4">manual renewal</a>, or</li>
<li>has a payment gateway that:
<ul>
<li>isn’t gateway scheduled (for example, PayPal Standard is gateway scheduled),</li>
<li><a href="https://help.codibu.com/blog/kb/subscription-payment-methods-gateways/#feature-explanation">supports payment date changes</a>, and</li>
<li><a href="https://help.codibu.com/blog/kb/subscription-payment-methods-gateways/#feature-explanation">supports subscription reactivation</a></li>
</ul>
</li>
</ul>
<p>Store managers can reactivate pending-cancelled subscriptions by:</p>
<ol>
<li>Going to the <strong>WooCommerce &gt; Subscriptions</strong> administration page.</li>
<li>Find the subscription with a Pending-Cancellation status you would like to reactivate.</li>
<li>Hover over the subscription status.</li>
<li>Click <strong>Uncancel</strong>.</li>
</ol>
<figure id="attachment_1457265" class="wp-caption aligncenter" aria-describedby="caption-attachment-1457265"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_13_UCS-admin.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-full wp-image-1457265" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_13_UCS-admin.png" sizes="(max-width: 980px) 100vw, 980px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_13_UCS-admin.png 1248w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_13_UCS-admin.png?resize=550,193 550w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_13_UCS-admin.png?resize=768,270 768w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_13_UCS-admin.png?resize=950,333 950w" alt="Uncancel Subscription - Store Manager View" width="980" height="344" /></a><figcaption id="caption-attachment-1457265" class="wp-caption-text">Uncancel Subscription – Store Manager View</figcaption></figure>
<p>Customers can reactivate pending-cancelled subscriptions by:</p>
<ol>
<li>Going to their <strong>My Account &gt; Subscriptions</strong> page.</li>
<li>Find the subscription with a Pending-Cancellation status they would like to reactivate.</li>
<li>Click <strong>View</strong></li>
<li>Click <strong>Reactivate</strong></li>
</ol>
<figure id="attachment_1457278" class="wp-caption aligncenter" aria-describedby="caption-attachment-1457278"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_14_UCS-customer.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-full wp-image-1457278" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_14_UCS-customer.png" sizes="(max-width: 980px) 100vw, 980px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_14_UCS-customer.png 1082w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_14_UCS-customer.png?resize=550,350 550w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_14_UCS-customer.png?resize=768,488 768w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_14_UCS-customer.png?resize=950,604 950w" alt="Reactivate Subscription – Customer View" width="980" height="623" /></a><figcaption id="caption-attachment-1457278" class="wp-caption-text">Reactivate Subscription – Customer View</figcaption></figure>
<div class="woo-sc-box note   ">Subscriptions which have been completely <a href="https://help.codibu.com/blog/kb/subscription-status-guide/#section-5">cancelled</a> or don’t support the required payment gateway features cannot be reactivated – the customer will need to <a href="https://help.codibu.com/blog/kb/subscribers-view/#section-17" target="_blank" rel="noopener noreferrer">resubscribe</a>.</div>
<h3 id="section-9">Filter subscriptions by manual renewal</h3>
<p>On top of filtering subscriptions in the <strong>WooCommerce &gt; Subscriptions administration</strong> table by specific payment gateways or no payment gateway, you can now filter subscriptions which are manual renewal.</p>
<p>To filter by manual subscriptions:</p>
<ol>
<li>Go to <strong>WooCommerce &gt; Subscriptions</strong>.</li>
<li>From the payment method filter drop-down, select <strong>Manual Renewal</strong>.</li>
<li>Click <strong>Filter</strong>.</li>
</ol>
<figure id="attachment_1452351" class="wp-caption aligncenter" aria-describedby="caption-attachment-1452351"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_8_enhancements_MSF.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1452351 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_8_enhancements_MSF.png" sizes="(max-width: 1296px) 100vw, 1296px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_8_enhancements_MSF.png 1296w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_8_enhancements_MSF.png?resize=550,198 550w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_8_enhancements_MSF.png?resize=768,276 768w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_8_enhancements_MSF.png?resize=950,342 950w" alt="Filter Option for Manual Renewal Subscriptions" width="1296" height="466" /></a><figcaption id="caption-attachment-1452351" class="wp-caption-text">Filter Option for Manual Renewal Subscriptions</figcaption></figure>
<h3 id="section-10">Payment gateway feature support tooltip</h3>
<p>To make it easier to see what features your payment gateways support we’ve added a tooltip in the <strong>WooCommerce &gt; Settings &gt; Payments</strong> table. By hovering over this tooltip — marked with a <strong>?</strong> — you will see a list of features each payment gateway supports.</p>
<figure id="attachment_1452352" class="wp-caption aligncenter" aria-describedby="caption-attachment-1452352"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_9_enhancements_PGFT.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1452352 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_9_enhancements_PGFT.png" sizes="(max-width: 1600px) 100vw, 1600px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_9_enhancements_PGFT.png 1600w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_9_enhancements_PGFT.png?resize=550,245 550w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_9_enhancements_PGFT.png?resize=768,342 768w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_9_enhancements_PGFT.png?resize=950,423 950w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_9_enhancements_PGFT.png?resize=1536,684 1536w" alt="Payment Gateway Tooltip - Supported Features" width="1600" height="713" /></a><figcaption id="caption-attachment-1452352" class="wp-caption-text">Payment Gateway Tooltip – Supported Features</figcaption></figure>
<h3 id="section-11">New information added to the dashboard status widget</h3>
<p>In 2.5 we’ve added some new Subscriptions-related stats to the WooCommerce Status widget to help you get a quick overview of how your store is running. The new stats we’ve added include the total number of signups, renewals and cancellations for the current month. As well as the signup and renewal revenue for the current month.</p>
<figure id="attachment_1452699" class="wp-caption aligncenter" aria-describedby="caption-attachment-1452699"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_12_SW.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1452699 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_12_SW.png" sizes="(max-width: 1040px) 100vw, 1040px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_12_SW.png 1040w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_12_SW.png?resize=550,401 550w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_12_SW.png?resize=768,560 768w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_12_SW.png?resize=950,693 950w" alt="Subscriptions Information in WooCommerce Status Widget" width="1040" height="759" /></a><figcaption id="caption-attachment-1452699" class="wp-caption-text">Subscriptions Information in WooCommerce Status Widget</figcaption></figure>
<p>To view the status widget:</p>
<ol>
<li>Go to the <strong>Dashboard</strong> tab on your WordPress dashboard.</li>
<li>Scroll down to the <strong>WooCommerce status widget</strong>.</li>
</ol>
<h2 id="section-12">Other changes</h2>
<h3 id="section-13">PayPal Standard for subscriptions</h3>
<p>In 2.5 you will now be able to disallow PayPal Standard for subscription purchases. If you have subscriptions already using PayPal Standard, it is safe to disable this setting. Processing renewals and other events for existing PayPal Standard subscriptions will continue as normal.</p>
<figure id="attachment_1454821" class="wp-caption aligncenter" aria-describedby="caption-attachment-1454821"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_11_PPSS.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1454821 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_11_PPSS.png" alt="PayPal Standard for Subscriptions Setting - Disabled" width="1600" height="407" /></a><figcaption id="caption-attachment-1454821" class="wp-caption-text">PayPal Standard for Subscriptions Setting – Disabled</figcaption></figure>
<p>When this setting is disabled, PayPal Standard won’t appear as an option on the checkout when:</p>
<ul>
<li>Adding or changing a subscription’s payment method</li>
<li>Signing up to a new subscription</li>
<li>Paying for manual or failed renewal or initial payment orders</li>
<li>Resubscribing</li>
</ul>
<p>To ensure continued support without any interruption, this setting will be automatically enabled for stores that had PayPal Standard enabled prior to 2.5.</p>
<p>If you’re setting up a new store or if you had disabled PayPal Standard prior to upgrading to 2.5, PayPal Standard for Subscriptions will automatically be disabled.</p>
<p><a href="https://help.codibu.com/blog/kb/limitations-of-paypal-standard-with-subscriptions/">PayPal Standard has many limitations</a> and due to its nature, can lead to complications with keeping your store in sync with PayPal. Because of this, it is not recommended as a payment method for Subscriptions unless it is the only available option for your country.</p>
<p>If you’re looking for a payment method to replace PayPal Standard, please see WooCommerce’s guide on <a href="https://help.codibu.com/blog/kb/which-payment-option-is-right-for-me/">Which Payment Option is Right for Me?</a></p>
<p>To disable PayPal for Subscriptions:</p>
<ol>
<li>Go to <strong>WooCommerce &gt; Settings &gt; Payments</strong>.</li>
<li>Click <strong>PayPal</strong>.</li>
<li>Under the <strong>Enable/Disable</strong> heading, uncheck the <strong>Enable PayPal Standard for Subscriptions</strong> option.</li>
<li>Save.</li>
</ol>
<div class="woo-sc-box note   ">Don’t see this setting? Don’t worry, this setting will only appear when PayPal is enabled and if your PayPal account hasn’t been approved to accept Reference Transactions.</div>
<h3 id="section-14">PayPal Standard and $0.01 transactions</h3>
<p>In 2.5, Subscriptions will now ignore all PayPal IPNs which are for $0.01. Prior to 2.5, Subscriptions would ignore $0.01 IPNs if the subscription had exactly one completed payment. You can read more about $0.01 IPNs <a href="https://help.codibu.com/blog/kb/subscription-payment-methods-gateways/#paypal-limitations">here</a>.</p>
<h3 id="section-15">Changes to the customer’s view subscription page (downloads)</h3>
<p>On the <a href="https://help.codibu.com/blog/kb/subscribers-view/#section-2">customer’s View Subscription page</a>, we’ve improved the way downloads are displayed so they appear all in one table.</p>
<figure id="imgsrc" class="wp-caption aligncenter size-full wp-image-1454821" aria-describedby="caption-imgsrc"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2-5_11_CVSP.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1452403 size-full" src="https://help.codibu.com/wp-content/uploads/2020/11/2-5_11_CVSP.png" sizes="(max-width: 845px) 100vw, 845px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2-5_11_CVSP.png 845w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_11_CVSP.png?resize=539,550 539w, https://help.codibu.com/wp-content/uploads/2020/11/2-5_11_CVSP.png?resize=768,783 768w" alt="Downloads Table - Customer View" width="845" height="862" /></a><figcaption id="caption-imgsrc" class="wp-caption-text">Downloads Table – Customer View</figcaption></figure>
<h2 id="section-16">For developers and store builders</h2>
<h3 id="section-17">Subscription order key changes</h3>
<p>In WooCommerce 3.5.4, WooCommerce changed the way order keys are generated in order to make them more unique. In 2.5, Subscriptions will follow and use the same method WooCommerce uses to generate subscription order keys.</p>
<h3 id="section-18"><code>WC_Subscription::get_change_payment_method_url()</code></h3>
<p>This new function can be used to generate an add or change subscription payment method URL. This will be useful if you’re creating an onboarding flow and want to include this link in an email sent to customers.</p>
<h3 id="section-19">Payment gateway support for the new Update all Subscription Payment Methods feature</h3>
<p>While working on the <strong><a href="https://help.codibu.com/blog/kb/whats-new-in-subscriptions-2-5/#section-6">Update all Subscription Payment Methods</a></strong> feature, we recognized there are two types of payment gateways that will need to support this new feature. These two types of gateways include:</p>
<ul>
<li>Payment gateways that process the change payment request directly on the change payment page.</li>
<li>Payment gateways that update the payment method sometime after the customer has clicked the Change Payment Method button.</li>
</ul>
<p>A payment gateway can be identified as either one of these using the existing <small><code>woocommerce_subscriptions_update_payment_via_pay_shortcode</code></small> filter. Payment gateways that return <small><code>true</code></small> to this filter (the default), update the payment method directly on the change payment method page, immediately. Whereas, payment gateways that return <small><code>false</code></small> to this filter update the payment method sometime after the change payment request has been completed. PayPal Reference Transactions is an example of the latter type of payment gateway as it will send customers to PayPal and then needs PayPal to respond with a new Billing Agreement before it can update the subscription’s payment method.</p>
<p>This section will explain how the <strong><a href="https://help.codibu.com/blog/kb/whats-new-in-subscriptions-2-5/#section-6">Update all Subscription Payment Methods</a></strong> feature, will work for both types of payment gateways.</p>
<h4 id="out-of-the-box-support-using-existing-payment-gateway-features">Out of the box support using existing payment gateway features</h4>
<p>Your payment gateway will automatically support the Update all Subscription Payment Methods feature if it:</p>
<ul>
<li>Supports the <small><code>subscription_payment_method_change_admin</code></small> feature and</li>
<li>Returns <small><code>true</code></small> to the <small><code>woocommerce_subscriptions_update_payment_via_pay_shortcode</code></small> filter. <i>Note: the default value for this filter is <small><code>true</code></small>.</i></li>
</ul>
<p>These two features give Subscriptions access to how the payment gateway stores payment meta, and tells Subscriptions that the payment gateway updates the payment method immediately on the change payment page.</p>
<p>When processing the Update all Subscriptions request for these payment gateways Subscriptions will:</p>
<ol>
<li>Update the subscription’s payment method, as has been done in the past.</li>
<li>After the subscription’s payment method is updated, Subscriptions will get a copy of payment meta on the subscription using the <small><code>subscription_payment_method_change_admin</code></small> filter.</li>
<li>Subscriptions then applies this updated payment meta to all the customer’s other subscriptions.</li>
</ol>
<h4 id="support-via-a-new-subscription_payment_method_delayed_change-payment-gateway-feature">Support via a new <small><code>subscription_payment_method_delayed_change</code></small> payment gateway feature</h4>
<p>If your payment gateway returns <small><code>false</code></small> to the <small><code>woocommerce_subscriptions_update_payment_via_pay_shortcode</code></small> filter, and therefore updates the payment method sometime after the customer has clicked the Change Payment Method button, your payment gateway won’t support this feature out of the box. To support this feature your payment gateway will need to declare that it supports <small><code>subscription_payment_method_delayed_change</code></small>.</p>
<p>You can register support for this new feature using the <small><code>WC_Payment_Gateway::supports()</code></small> API. This can be done by setting the supports property of your gateway to an array containing <small><code>subscription_payment_method_delayed_change</code></small>. For more information about this, see our <a href="https://help.codibu.com/blog/kb/subscriptions-payment-gateway-integration-guide/#register-support">Subscriptions Payment Gateway Integration Guide</a>.</p>
<p>For payment gateways that declare support for this new feature, your plugin will be required to handle the request to update all the customer’s subscriptions once it has updated the subscription’s payment meta.</p>
<p>When processing the Update all Subscriptions request for payment gateways that return <small><code>false</code></small> to <small><code>woocommerce_subscriptions_update_payment_via_pay_shortcode</code></small> but do support the <small><code>subscription_payment_method_delayed_change</code></small> feature, Subscriptions will:</p>
<ol>
<li>Set <small><code>_delayed_update_payment_method_all</code></small> meta on the subscription which is being changed by the customer.</li>
<li>Once the payment gateway which supports delayed changes has handled the request and updated this subscription’s payment method, the payment gateway should update all the other customer’s subscriptions to use this new method.</li>
</ol>
<p>To achieve this there are a few new helper functions.</p>
<p><strong><small><code>WC_Subscriptions_Change_Payment_Gateway::will_subscription_update_all_payment_methods()</code></small></strong><br />
This function accepts one parameter, a <small><code>WC_Subscription</code></small> object, and will return <small><code>true</code></small> if <small><code>_delayed_update_payment_method_all</code></small> meta is set on the subscription and therefore has been flagged as requiring an update to all the other customer’s subscriptions.</p>
<p>Once your plugin has changed a subscription’s payment method, you can use this function to check if further action is needed.</p>
<p><strong><small><code>WC_Subscriptions_Change_Payment_Gateway::update_all_payment_methods_from_subscription()</code></small></strong><br />
This function accepts 2 parameters, a <small><code>WC_Subscription</code></small> object and the payment method ID.</p>
<p>If your payment gateway supports the <small><code>subscription_payment_method_change_admin</code></small> filter you can use this function to copy payment meta from one subscription to all the customer’s other subscriptions. If your payment gateway doesn’t support the <small><code>subscription_payment_method_change_admin</code></small> filter, you will need to update the payment meta on all the customer’s subscriptions manually.</p>
<p>To see an example of how to use this new <small><code>subscription_payment_method_delayed_change</code></small> feature, please take a look at how we have implemented it for PayPal Reference Transactions.</p>
<h3 id="section-20">Template changes</h3>
<p>templates/admin/html-failed-scheduled-action-notice.php<br />
templates/checkout/form-change-payment-method.php<br />
templates/myaccount/my-subscriptions.php<br />
templates/myaccount/related-orders.php<br />
templates/myaccount/subscription-details.php<br />
templates/myaccount/subscription-totals.php</p>
<h3 id="section-21">Deprecated functions, classes, actions and filters</h3>
<h4 id="functions">Functions</h4>
<p><small><code>WCS_My_Account_Payment_Methods::get_subscriptions_by_token()</code></small><br />
<small><code>WCS_My_Account_Payment_Methods::get_customer_tokens()</code></small><br />
<small><code>WCS_My_Account_Payment_Methods::get_customers_alternative_token()</code></small><br />
<small><code>WCS_My_Account_Payment_Methods::customer_has_alternative_token()</code></small><br />
<small><code>WC_Subscriptions_Upgrader::maybe_update_subscription_post_author()</code></small><br />
<small><code>wcs_display_item_downloads()</code></small><br />
<small><code>WC_Subscriptions_Cart::pre_get_refreshed_fragments()</code></small></p>
<h4 id="classes">Classes</h4>
<p><small><code>WCS_Upgrade_Subscription_Post_Author</code></small></p>
<h4 id="actions-and-filters">Actions and filters</h4>
<p><small><code>Woocommerce_subscriptions_by_payment_token</code></small></p>
<p>For a complete list of the changes coming in 2.5, see the changelog.</p><p>The post <a href="https://help.codibu.com/blog/whats-new-in-subscriptions-2-5/">What’s New in Subscriptions 2.5</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/whats-new-in-subscriptions-2-5/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What’s New in Subscriptions 2.3</title>
		<link>https://help.codibu.com/blog/whats-new-in-subscriptions-2-3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=whats-new-in-subscriptions-2-3</link>
					<comments>https://help.codibu.com/blog/whats-new-in-subscriptions-2-3/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 14:57:05 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/whats-new-in-subscriptions-2-3/</guid>

					<description><![CDATA[<p>This new version includes four main new features, performance enhancements, and other fixes and updates. 2.3 is a “minor” release and should be backwards compatible with<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/whats-new-in-subscriptions-2-3/">What’s New in Subscriptions 2.3</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>This new version includes four main new features, performance enhancements, and other fixes and updates. 2.3 is a “minor” release and should be backwards compatible with sites running WooCommerce Subscriptions 2.0 and above.</p>
<p>In order to ensure a smooth update process, please refer to the <a href="https://help.codibu.com/blog/kb/woocommerce-subscriptions-upgrade-instructions/">Subscriptions Upgrade Guide</a>.</p>
<h2 id="section-1">Required WooCommerce Version</h2>
<p>This version of WooCommerce Subscriptions requires WooCommerce version 2.6 or newer.</p>
<p>If your site is not running WooCommerce 2.6 or newer, please <a href="https://help.codibu.com/blog/kb/how-to-update-woocommerce/">update WooCommerce</a> before updating Subscriptions.</p>
<h2 id="section-2">New Features</h2>
<h3 id="section-3">Charge full price at time of sign up for synchronized products</h3>
<p>On the <strong>WooCommerce &gt; Settings &gt; Subscriptions</strong> screen, under the <em>Synchronization</em> heading there is an option to “Prorate First Renewal”. There is a new option in this dropdown that allows store managers to set their store to charge the full amount of the product at sign-up, no matter the date.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/subscription-synchronisation-settings.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-large wp-image-1086555" src="https://help.codibu.com/wp-content/uploads/2020/11/subscription-synchronisation-settings.png" sizes="(max-width: 993px) 100vw, 993px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/subscription-synchronisation-settings.png 993w, https://help.codibu.com/wp-content/uploads/2020/11/subscription-synchronisation-settings.png?resize=550,506 550w, https://help.codibu.com/wp-content/uploads/2020/11/subscription-synchronisation-settings.png?resize=768,707 768w, https://help.codibu.com/wp-content/uploads/2020/11/subscription-synchronisation-settings.png?resize=950,874 950w" alt="Subscription Synchronization Full Price at Sign Up Setting" width="993" height="914" /></a></p>
<div class="woo-sc-box info   ">To read more about subscription synchronization and to learn about other renewal synchronization settings, take a look at our <a href="https://help.codibu.com/blog/kb/subscription-renewal-synchronization-guide/">Subscription Renewal Synchronization Guide</a>.</div>
<h3 id="section-4">Create limited subscription payment coupons</h3>
<p>When <a href="https://help.codibu.com/blog/kb/subscriptions-store-manager-guide/#section-6">creating a coupon for recurring products</a>, a field labeled “<em>Active for x payments</em>” will be displayed. The default will be blank, meaning that the coupon will be active for the duration of the subscription.</p>
<p>Filling in this field with a number will ensure that the coupon is only active for that number of payments, including the initial payment. <strong>Once the coupon has reached its limited number of payments, it will be automatically removed from the subscription.</strong></p>
<p>For more information on limited coupons, see the <a href="https://help.codibu.com/blog/kb/limited-subscription-payment-coupons/">Limited Subscription Payment Coupon guide</a>.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/limited-subscription-payment-coupon-setting.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-large wp-image-1086635" src="https://help.codibu.com/wp-content/uploads/2020/11/limited-subscription-payment-coupon-setting.png" sizes="(max-width: 1436px) 100vw, 1436px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/limited-subscription-payment-coupon-setting.png 1436w, https://help.codibu.com/wp-content/uploads/2020/11/limited-subscription-payment-coupon-setting.png?resize=550,193 550w, https://help.codibu.com/wp-content/uploads/2020/11/limited-subscription-payment-coupon-setting.png?resize=768,270 768w, https://help.codibu.com/wp-content/uploads/2020/11/limited-subscription-payment-coupon-setting.png?resize=950,333 950w" alt="Limited Subscription Payment Coupon Setting" width="1436" height="504" /></a></p>
<h3 id="section-5">Allow customers to renew early</h3>
<p>On the <a href="https://help.codibu.com/blog/kb/subscribers-view/#section-2">customer’s <strong>View Subscription</strong> page</a>, there will be a button labeled “Renew Now”. After pressing this button, customers will be taken through the checkout process to pay for their renewal immediately. Upon successfully completing the early renewal, the subscription’s next payment date will be pushed forward the appropriate amount of time.</p>
<p>For example, if a subscription renews monthly on the 5th and the next payment date is August 5th. On the 26th of July, if the customer decides to renew early, the next payment date will account for this renewal and be changed to September 5th.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/renew-subscription-early-button.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-large wp-image-1086750" src="https://help.codibu.com/wp-content/uploads/2020/11/renew-subscription-early-button.png" sizes="(max-width: 1078px) 100vw, 1078px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/renew-subscription-early-button.png 1078w, https://help.codibu.com/wp-content/uploads/2020/11/renew-subscription-early-button.png?resize=550,319 550w, https://help.codibu.com/wp-content/uploads/2020/11/renew-subscription-early-button.png?resize=768,445 768w, https://help.codibu.com/wp-content/uploads/2020/11/renew-subscription-early-button.png?resize=950,551 950w" alt="Renew Subscription Early Button" width="1078" height="625" /></a></p>
<p><strong>For the <em>renew now</em> button to be displayed:</strong></p>
<ul>
<li>the early renewal feature will need to be enabled from the <strong>WooCommerce &gt; Settings &gt; Subscriptions</strong> screen.</li>
<li>the subscription will need to have an <em>active</em> status.</li>
<li>the subscription will need a recurring price <em>(excludes subscriptions which are free)</em>.</li>
<li>there must be a next payment date.</li>
<li>the payment gateway used to purchase the subscription must support <a href="https://help.codibu.com/blog/kb/subscription-payment-methods-gateways/#section-3">subscription date changes</a>.</li>
<li>the subscription will need to not contain any synchronized products.</li>
<li>the subscription must not currently be in a trial period, if one exists.</li>
</ul>
<div class="woo-sc-box note   ">This feature can be enabled or disabled on the <strong>WooCommerce &gt; Settings &gt; Subscriptions</strong> screen under the “Renewals” section. Early renewal will be disabled on existing stores and enabled on new stores by default.</div>
<h3 id="section-6">Link a subscription to a parent order</h3>
<p>On the <a href="https://help.codibu.com/blog/kb/manually-add-or-edit-a-subscription/"><strong>Edit Subscription</strong> screen</a>, below the subscription status, there is now a field that lists the parent order number or an empty dropdown field.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/subscription-parent-order-display1.png" rel="prettyPhoto"><img decoding="async" class="size-large wp-image-1086768" src="https://help.codibu.com/wp-content/uploads/2020/11/subscription-parent-order-display1.png" alt="Subscription Parent Order Display" /></a></p>
<p>If the field is empty, you may click on the dropdown in order to search for and choose an order to become the parent order for the subscription. While searching, only orders which belong to the subscription customer will be listed. The orders are listed by number.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/select-subscription-parent-order1.png" rel="prettyPhoto"><img decoding="async" class="size-large wp-image-1086791" src="https://help.codibu.com/wp-content/uploads/2020/11/select-subscription-parent-order1.png" alt="Select Subscription Parent Order" /></a></p>
<p>A pending parent order can also be created from a subscription. An invoice for this order could then be sent to a customer, which will activate the subscription when paid.</p>
<p>In the “Subscription actions” box on the right side of the <a href="https://help.codibu.com/blog/kb/manually-add-or-edit-a-subscription/"><strong>Edit Subscription</strong> screen</a>, there is an option in the dropdown to “Create pending parent order.”</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/add-pending-subscription-parent.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-large wp-image-1086822" src="https://help.codibu.com/wp-content/uploads/2020/11/add-pending-subscription-parent.png" sizes="(max-width: 1024px) 100vw, 1024px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/add-pending-subscription-parent.png 1024w, https://help.codibu.com/wp-content/uploads/2020/11/add-pending-subscription-parent.png?resize=550,274 550w, https://help.codibu.com/wp-content/uploads/2020/11/add-pending-subscription-parent.png?resize=768,383 768w, https://help.codibu.com/wp-content/uploads/2020/11/add-pending-subscription-parent.png?resize=950,474 950w" alt="Add Pending Subscription Parent Order" width="1024" height="511" /></a></p>
<h2 id="section-7">Performance</h2>
<p>Subscriptions strives to meet the needs of a broad range of businesses, including those who grow to large scales. These performance changes reduce the potential for growing pains and improves Subscriptions for everyone.</p>
<h3 id="section-8">A persistent cache of subscription related order IDs</h3>
<p>When retrieving a list of related orders for a subscription, there sometimes has to be a query to the database to get these related orders. This can be slow, especially on large sites. Subscriptions 2.3 adds a <a href="https://help.codibu.com/blog/kb/subscription-caches/">persistent cache of related orders</a> that updates without having to query the raw data to avoid this performance bottleneck.</p>
<h3 id="section-9">A persistent cache of customer subscriptions</h3>
<p>Similar to the above, running a query to find a customer’s subscriptions can be slow, especially on large-scale sites. By creating a <a href="https://help.codibu.com/blog/kb/subscription-caches/">persistent cache of a customer’s subscriptions</a>, performance is improved for retrieving a list of customer subscriptions.</p>
<div class="woo-sc-box info   ">The result of these changes will vary between stores, however, in our testing, removing these queries can reduce the time taken to process a renewal by as much as 20%.</div>
<h3 id="section-10">Update Action Scheduler</h3>
<p>Action Scheduler is a library used by Subscriptions to run actions at certain times. Many updates have been made to Action Scheduler, especially to enhance performance on a large scale. Action Scheduler 2.0 will be included as part of Subscriptions 2.3</p>
<div class="woo-sc-box info   ">To learn more about the changes coming with Action Scheduler 2.0, take a look at our Action Scheduler 2.0 wiki post.</div>
<h3 id="section-11">Boost performance of admin subscription search</h3>
<p>When searching subscriptions from the admin screen, the billing and shipping addresses are included in the fields searched. Prior to WooCommerce 3.0, these fields were many and separate.</p>
<p>The billing and shipping addresses have since had a field added that is a combination of the other fields to allow for better search performance. WooCommerce Subscriptions 2.3 takes advantage of those fields to improve admin subscription search performance.</p>
<h2 id="section-12">But wait there’s more!</h2>
<ul>
<li>Repair subscriptions that have been suspended in PayPal but not in WooCommerce. This problem persisted from Subscriptions version 2.1.4 until version 2.2.8, when this bug was fixed. While the root issue was fixed, the already affected subscriptions would still be out of sync with PayPal. This script will align the WooCommerce subscription statuses with the PayPal statuses.</li>
<li>Remove one-time fees from renewals. This especially applies in cases when fees are added by third parties.</li>
<li>Improve subscription report accuracy by excluding trashed subscriptions from report calculations.</li>
<li>When a recurring coupon type is applied to a cart which only contains synced subscription products or products with a free trial, hide the coupon in the initial cart since it doesn’t apply any perceivable discount.</li>
<li>Only allow switching between products which are visible to the customer.</li>
<li>Improved the performance of getting a variable subscription product’s min and max price data. This should reduce the time it takes to load shop product archive pages.</li>
<li>We’ve added new sections to the system status including an overview of the site’s subscriptions statuses, whether the store has been connected to a WooCommerce account, whether the site has custom retry rules, and a payment gateways section.</li>
</ul>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/new-system-status-sections-subscriptions-2-3.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-large wp-image-1087582" src="https://help.codibu.com/wp-content/uploads/2020/11/new-system-status-sections-subscriptions-2-3.png" sizes="(max-width: 603px) 100vw, 603px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/new-system-status-sections-subscriptions-2-3.png 603w, https://help.codibu.com/wp-content/uploads/2020/11/new-system-status-sections-subscriptions-2-3.png?resize=406,550 406w" alt="Subscriptions 2.3 New System Status Sections" width="603" height="816" /></a></p>
<h2 id="section-13">For Developers</h2>
<ul>
<li>Ensure pre-WooCommerce 3.0 subscriptions have billing and shipping address indexes.</li>
<li>Change <code>created_via</code> meta on renewal orders to remove possible conflict between hold stock setting and retry system order cancellation.</li>
<li>Add <code>$cart</code> and <code>$order</code> arguments to <code>woocommerce_checkout_create_subscription</code> filter.</li>
<li>Remove TLC transients library and cache manager in favor of using WordPress transients.</li>
<li>Refactor code for date columns on subscriptions table.</li>
<li>Requires PHP 5.6 or newer.</li>
<li>Add a filter to allow third-parties to filter orders by custom order types.</li>
<li>Add filter to control automatic single subscription redirect on customer account page.</li>
<li>Deprecated the <code>wcs_pre_get_users_subscriptions</code> filter.</li>
</ul>
<p>For a complete list of the changes coming in 2.3, see the changelog.</p><p>The post <a href="https://help.codibu.com/blog/whats-new-in-subscriptions-2-3/">What’s New in Subscriptions 2.3</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/whats-new-in-subscriptions-2-3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What’s New in Subscriptions 2.1</title>
		<link>https://help.codibu.com/blog/whats-new-in-subscriptions-2-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=whats-new-in-subscriptions-2-1</link>
					<comments>https://help.codibu.com/blog/whats-new-in-subscriptions-2-1/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 14:56:20 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/whats-new-in-subscriptions-2-1/</guid>

					<description><![CDATA[<p>WooCommerce Subscriptions version 2.1 has been in development for more than a year. This major new version introduced two big features as well as many smaller<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/whats-new-in-subscriptions-2-1/">What’s New in Subscriptions 2.1</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>WooCommerce Subscriptions version 2.1 has been in development for more than a year. This major new version introduced two big features as well as many smaller features and improvements. This guide covers everything that is new and improved in WooCommerce Subscriptions version 2.1.</p>
<p>If you are a store manager looking for instructions to help ensure you have a smooth upgrade to version 2.1, please refer to the <a href="https://help.codibu.com/blog/kb/woocommerce-subscriptions-upgrade-instructions/">Subscriptions Upgrade Guide</a>.</p>
<figure id="attachment_165256" class="wp-caption aligncenter" aria-describedby="caption-attachment-165256"><a href="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-1-welcome-banner.png"><img loading="lazy" decoding="async" class="size-large wp-image-165256" src="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-1-welcome-banner.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-1-welcome-banner.png 1269w, https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-1-welcome-banner.png?resize=550,126 550w, https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-1-welcome-banner.png?resize=768,176 768w, https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-1-welcome-banner.png?resize=950,217 950w" alt="Subscriptions 2.1 Welcome Banner Screenshot" width="950" height="217" /></a><figcaption id="caption-attachment-165256" class="wp-caption-text">Subscriptions 2.1 Welcome Banner</figcaption></figure>
<h2 id="section-1">Required WooCommerce Version</h2>
<p>The first major change being introduced with Subscriptions 2.1 is the WooCommerce dependency. <strong>Subscriptions 2.1 requires WooCommerce 2.4 or newer</strong>.</p>
<p>If your site is not running WooCommerce 2.4 or newer, please <a href="https://help.codibu.com/blog/kb/how-to-update-woocommerce/">update WooCommerce</a> before updating Subscriptions.</p>
<h2 id="section-2">Subscription Reports</h2>
<p>How many customers stay subscribed to your store for more than 6 months? What is the average lifetime value of your subscribers? How much renewal revenue will your store earn next year?</p>
<p>These are important questions for any subscription commerce business. Prior to Subscriptions 2.1, they were not easy to answer. Subscriptions 2.1 introduces new reports to answer these questions, and many more. The reports cover:</p>
<ul>
<li><strong>Subscription events and revenue</strong>, like sign-ups, cancellations and upgrades and downgrades.</li>
<li><strong>Upcoming recurring revenue</strong>, to help forecast the revenue you can expect from existing subscriptions.</li>
<li><strong>Retention rate</strong>, to find any churn hotspots and increase the length of time customers remain subscribed with your store.</li>
<li><strong>Subscription product</strong> popularity and lifetime value, to help you find your best performing products.</li>
<li><strong>Subscription data by customer</strong>, including subscription count, subscription orders and lifetime value.</li>
</ul>
<p>Learn more in the <a href="https://help.codibu.com/blog/kb/subscription-reports/">Guide to Subscription Reports</a>.</p>
<figure id="attachment_165160" class="wp-caption aligncenter" aria-describedby="caption-attachment-165160"><a href="https://help.codibu.com/wp-content/uploads/2020/11/report-subscription-events-by-date.png"><img loading="lazy" decoding="async" class="aligncenter wp-image-165160 size-large" src="https://help.codibu.com/wp-content/uploads/2020/11/report-subscription-events-by-date.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/report-subscription-events-by-date.png 1920w, https://help.codibu.com/wp-content/uploads/2020/11/report-subscription-events-by-date.png?resize=550,309 550w, https://help.codibu.com/wp-content/uploads/2020/11/report-subscription-events-by-date.png?resize=768,432 768w, https://help.codibu.com/wp-content/uploads/2020/11/report-subscription-events-by-date.png?resize=950,534 950w, https://help.codibu.com/wp-content/uploads/2020/11/report-subscription-events-by-date.png?resize=1536,864 1536w" alt="Subscription Report Screenshot: Subscription Events by Date " width="950" height="534" /></a><figcaption id="caption-attachment-165160" class="wp-caption-text">Subscription Events by Date Report</figcaption></figure>
<h2 id="section-3">Failed Recurring Payment Retry System</h2>
<p>Failed recurring payments can now be retried automatically. This helps recover revenue that would otherwise be lost due to payments that are declined only temporarily.</p>
<p>By default, Subscriptions will retry a failed payment 5 times over 7 days. It will also periodically email the customer to let them know their payment has failed, that payment will be automatically retried, and that they can login to complete payment.</p>
<p>But the rules that control the retry process can also be customized to change:</p>
<ul>
<li>the total number of retry attempts</li>
<li>how long to wait between retry attempts</li>
<li>emails sent to the customer and store manager</li>
<li>the status applied to the renewal order and subscription</li>
</ul>
<p>The retry system is disabled by default. To enable it, visit the Subscriptions settings administration screen.</p>
<p>Learn more in the <a href="https://help.codibu.com/blog/kb/developer-guide-to-failed-recurring-payment-retry-system/">Store Manager Guide to Failed Recurring Payment Retry System</a> and <a href="https://help.codibu.com/blog/kb/developer-guide-to-failed-recurring-payment-retry-system/">Developer Guide to Failed Recurring Payment Retry System</a>.</p>
<h3 id="section-4">Manual Payment Retry</h3>
<p>In addition to the automatic retry system, Subscriptions 2.1 introduces a new action to manually retry a failed payment from the <strong>Edit Order</strong> screen.</p>
<p>To use this action:</p>
<ol>
<li>Go to <strong>WooCommerce &gt; Edit Order</strong> for an order with the <em>failed </em>status</li>
<li>Click <strong>Actions</strong></li>
<li>Click the <em><strong>Retry Renewal Payment</strong></em> action</li>
<li>Click <strong>Save Order</strong></li>
</ol>
<p>This will attempt to process the order’s payment again with the payment gateway.</p>
<figure id="attachment_165855" class="wp-caption aligncenter" aria-describedby="caption-attachment-165855"><a href="https://help.codibu.com/wp-content/uploads/2020/11/retry-action-on-failed-renewal-order.png"><img loading="lazy" decoding="async" class="size-large wp-image-165855" src="https://help.codibu.com/wp-content/uploads/2020/11/retry-action-on-failed-renewal-order.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/retry-action-on-failed-renewal-order.png 1283w, https://help.codibu.com/wp-content/uploads/2020/11/retry-action-on-failed-renewal-order.png?resize=550,171 550w, https://help.codibu.com/wp-content/uploads/2020/11/retry-action-on-failed-renewal-order.png?resize=768,239 768w, https://help.codibu.com/wp-content/uploads/2020/11/retry-action-on-failed-renewal-order.png?resize=950,296 950w" alt="Retry Action on Failed Renewal Order Screen" width="950" height="296" /></a><figcaption id="caption-attachment-165855" class="wp-caption-text">Retry Action on Failed Renewal Order Screen</figcaption></figure>
<h2 id="section-5">New Subscription Emails</h2>
<p>Subscriptions 2.1 also introduces a number of new emails to notify store owners when:</p>
<ul>
<li>a customer suspends a subscription</li>
<li>an automatic payment fails and will be <a href="https://help.codibu.com/blog/kb/developer-guide-to-failed-recurring-payment-retry-system/">automatically retried</a></li>
<li>a subscription expires</li>
</ul>
<p>These emails can be enabled, disabled and customized under the <strong>WooCommerce &gt; Settings &gt; Emails</strong> administration screen.</p>
<p>Learn more in the <strong>Subscription Emails</strong> section of the <a href="https://help.codibu.com/blog/kb/subscriptions-store-manager-guide/#section-8">Subscriptions Store Manager Guide</a>.</p>
<figure id="attachment_165263" class="wp-caption aligncenter" aria-describedby="caption-attachment-165263"><a href="https://help.codibu.com/wp-content/uploads/2020/11/subscription-suspended-email.jpg"><img loading="lazy" decoding="async" class="size-large wp-image-165263" src="https://help.codibu.com/wp-content/uploads/2020/11/subscription-suspended-email.jpg?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/subscription-suspended-email.jpg 1180w, https://help.codibu.com/wp-content/uploads/2020/11/subscription-suspended-email.jpg?resize=550,308 550w, https://help.codibu.com/wp-content/uploads/2020/11/subscription-suspended-email.jpg?resize=768,430 768w, https://help.codibu.com/wp-content/uploads/2020/11/subscription-suspended-email.jpg?resize=950,531 950w" alt="Subscription Suspended Email Screenshot" width="950" height="531" /></a><figcaption id="caption-attachment-165263" class="wp-caption-text">Subscription Suspended Email</figcaption></figure>
<h2 id="section-6">New Cancellation Date</h2>
<p>In prior versions of Subscriptions, the end date of a subscription was recorded on the subscription. But if the subscription was <em>cancelled</em>, either by the customer or store owner, this date would be different to the end date, and was not recorded.</p>
<p>Subscriptions 2.1 now keeps a record of the cancellation date. This date is used for Subscription reports, especially the <strong>Retention Rate</strong> and <strong>Events by Date</strong> report. It is also displayed on the <strong>WooCommerce &gt; Edit Subscription</strong> screen.</p>
<p>For existing subscriptions, the cancellation date will also be set when you upgrade your store to Subscriptions 2.1. For subscriptions with the <em>cancelled</em> or <em>pending cancellation</em> status, it will be set to the date the subscription was last modified.</p>
<figure id="attachment_165262" class="wp-caption aligncenter" aria-describedby="caption-attachment-165262"><a href="https://help.codibu.com/wp-content/uploads/2020/11/cancellation-date-on-edit-subscription-screen.png"><img loading="lazy" decoding="async" class="size-large wp-image-165262" src="https://help.codibu.com/wp-content/uploads/2020/11/cancellation-date-on-edit-subscription-screen.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/cancellation-date-on-edit-subscription-screen.png 1958w, https://help.codibu.com/wp-content/uploads/2020/11/cancellation-date-on-edit-subscription-screen.png?resize=550,286 550w, https://help.codibu.com/wp-content/uploads/2020/11/cancellation-date-on-edit-subscription-screen.png?resize=768,399 768w, https://help.codibu.com/wp-content/uploads/2020/11/cancellation-date-on-edit-subscription-screen.png?resize=950,494 950w, https://help.codibu.com/wp-content/uploads/2020/11/cancellation-date-on-edit-subscription-screen.png?resize=1536,799 1536w" alt="Cancellation Date on Edit Subscription Screen" width="950" height="494" /></a><figcaption id="caption-attachment-165262" class="wp-caption-text">Cancellation Date on Edit Subscription Screen</figcaption></figure>
<h2 id="section-7">Small Enhancements</h2>
<h3 id="section-8">Additional Order Type Filters</h3>
<p>The order type filter on the <strong>WooCommerce &gt; Orders</strong> screen is a handy way to show specific order types. Unfortunately it didn’t include switch, parent or resubscribe order types as options. The <em>Original</em> order concept it did offer was also lacking as it mixed in parent, resubscribe and non-subscription order types.</p>
<p>Subscriptions 2.1 addresses this by introducing the following new filter options:</p>
<ul>
<li>Parent: to show only orders in which subscription products were purchased, creating new subscriptions.</li>
<li>Resubscribe: to show only <a href="https://help.codibu.com/blog/kb/subscription-renewal-process/#section-9">orders to renew an expired or cancelled subscription</a>.</li>
<li>Switch: to show only <a href="https://help.codibu.com/blog/kb/subscription-switching-guide/">orders placed to upgrade or downgrade</a> subscriptions.</li>
<li>Non-subscription: to show only orders that are not related to a subscription at all. This is orders for non-subscription products and includes orders that are not subscription parent, renewal, resubscribe or switch orders.</li>
</ul>
<p>To use the new order types filter:</p>
<ol>
<li>Go to the <strong>WooCommerce &gt; Orders</strong> screen</li>
<li>Click the <em>All order types</em> select box</li>
<li>Change to the desired subscription or non-subscription order type</li>
<li>Click Filter</li>
</ol>
<figure id="attachment_170535" class="wp-caption aligncenter" aria-describedby="caption-attachment-170535"><a href="https://help.codibu.com/wp-content/uploads/2020/11/subscription-order-types-filter.png"><img loading="lazy" decoding="async" class="size-large wp-image-170535" src="https://help.codibu.com/wp-content/uploads/2020/11/subscription-order-types-filter.png?w=831" sizes="(max-width: 831px) 100vw, 831px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/subscription-order-types-filter.png 831w, https://help.codibu.com/wp-content/uploads/2020/11/subscription-order-types-filter.png?resize=550,133 550w, https://help.codibu.com/wp-content/uploads/2020/11/subscription-order-types-filter.png?resize=768,186 768w" alt="New Subscription Order Types Filter Screenshot" width="831" height="201" /></a><figcaption id="caption-attachment-170535" class="wp-caption-text">New Subscription Order Types Filter</figcaption></figure>
<h3 id="section-9">Resubscribe to Subscriptions Pending Cancellation</h3>
<p>In Subscriptions 2.0, it was not possible to <a href="https://help.codibu.com/blog/kb/subscribers-view/#section-7">resubscribe</a> to a subscription with the <em>pending cancellation</em> status. Instead, the customer needed to wait until the end of the prepaid term before being able to resubscribe.</p>
<p>Subscriptions 2.1 makes it possible for your customers to resubscribe to subscriptions <em>pending cancellation</em>. The existing subscription will immediately be transitioned to the <em>cancelled</em> status. The first payment date for the new subscription will be set to the end of the prepaid term date on the old subscription to account for the prepaid time.</p>
<h3 id="section-10">Edit Product Interface Improvements</h3>
<p>The responsiveness and grid layout of the subscription pricing fields on the <strong>WooCommerce &gt; Edit Product</strong> screen have been updated to match other WooCommerce fields.</p>
<p>The subscription length field has also been moved to its own line to reduce confusion between the product length and billing interval.</p>
<figure id="attachment_165258" class="wp-caption aligncenter" aria-describedby="caption-attachment-165258"><a href="https://help.codibu.com/wp-content/uploads/2020/11/edit-subscription-product-screen.png"><img loading="lazy" decoding="async" class="size-large wp-image-165258" src="https://help.codibu.com/wp-content/uploads/2020/11/edit-subscription-product-screen.png?w=950" sizes="(max-width: 950px) 100vw, 950px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/edit-subscription-product-screen.png 1588w, https://help.codibu.com/wp-content/uploads/2020/11/edit-subscription-product-screen.png?resize=550,220 550w, https://help.codibu.com/wp-content/uploads/2020/11/edit-subscription-product-screen.png?resize=768,307 768w, https://help.codibu.com/wp-content/uploads/2020/11/edit-subscription-product-screen.png?resize=950,379 950w, https://help.codibu.com/wp-content/uploads/2020/11/edit-subscription-product-screen.png?resize=1536,613 1536w" alt="Edit Subscription Product Screenshot" width="950" height="379" /></a><figcaption id="caption-attachment-165258" class="wp-caption-text">Edit Subscription Product Screen</figcaption></figure>
<h3 id="section-11">Renewal Orders Always Used for Renewal Data</h3>
<p>One of the big changes introduced with Subscriptions 2.0 was the <a href="https://help.codibu.com/blog/kb/whats-new-in-woocommerce-subscriptions-v2-0/">creation of renewal orders <em>before</em> renewal payment</a>. However, when this change was introduced, not all renewal features were updated to take advantage of the renewal order being available, and instead, they continued to use the data from the subscription.</p>
<p>Subscriptions 2.1 now uses renewal order data as the source for:</p>
<ul>
<li>the order items, totals and other data used when <a href="https://help.codibu.com/blog/kb/subscription-renewal-process/">manually renewing a subscription via the cart</a>; and</li>
<li>the amount passed to payment gateways as the amount to charge for automatic renewal payments.</li>
</ul>
<p>This change makes it easier for 3rd party code to add one time fees or discounts to specific renewal payments. It also paves the way for such a feature to be added to Subscriptions itself.</p>
<h3 id="section-12">Process Upgrades and Downgrades on Order Status Change</h3>
<p>In previous versions of Subscriptions, when a customer <a href="https://help.codibu.com/blog/kb/subscription-switching-guide/">switched a subscription</a>, the switch would be processed when they completed checkout. This could cause issues with PayPal and other payment gateways where payment happens after checkout, and may not be completed.</p>
<p>Subscriptions 2.1 addresses this by processing switches when the status of the switch order is transitioned to <em>processing</em> or <em>completed</em> (or a custom payment complete order status).</p>
<h3 id="section-13">Use Renewal Order or Subscription Address on Checkout</h3>
<p>In prior versions of Subscriptions, when the customer paid for a <a href="https://help.codibu.com/blog/kb/subscribers-view/#section-3">manual renewal order</a>, <a href="https://help.codibu.com/blog/kb/subscribers-view/#section-6">subscription upgrade/downgrade</a> or <a href="https://help.codibu.com/blog/kb/customers-view/#section-7">resubscribe</a>, the customer’s default billing and shipping address would be loaded into the checkout address fields. This could cause issues if the customer had multiple addresses on their account for different subscriptions.</p>
<p>For example, a customer may gift a subscription that ships to a family member and also have one that ships to their own home. The default address on their account is their home address. When they manually pay for the renewal of the gifting subscription, if they did not change the shipping address, after checkout, the renewal order’s address would be changed to their home address instead of the gift recipient’s address.</p>
<p>Subscriptions 2.1 changes this and loads the renewal order or subscription addresses as the default addresses on checkout when paying for a subscription renewal, resubscribe or switch.</p>
<h3 id="section-14">Performance Improvements</h3>
<p>Subscriptions 2.0 made a large amount of code obsolete. To avoid breaking compatibility with 3rd party code, it continued to call some of that obsolete code.</p>
<p>Now that it has been more than a year since Subscriptions 2.0 was released, this code is no longer being called by default. This will help your store run faster.</p>
<p>Subscriptions is also now caching some expensive queries and other redundant operations to help speed up the Subscriptions administration page and subscription product pages for limited products.</p>
<h2 id="section-15">Notes for Developers</h2>
<h3 id="section-16">WP REST API Endpoints</h3>
<p>WooCommerce 2.6 added support for <a href="https://woocommerce.github.io/woocommerce-rest-api-docs/">REST API endpoints</a> built on the REST API infrastructure in WordPress core.</p>
<p>Subscriptions 2.1 adds support for subscription data to this infrastructure.</p>
<p>Your applications can now create, read, update or delete subscriptions via RESTful API endpoints with the same design as the latest version of WooCommerce’s REST API endpoints.</p>
<p>Want to list all the subscriptions on a site?</p>
<p>Get <code>/wp-json/wc/v1/subscriptions</code>.</p>
<p>Want the details of a specific subscription?</p>
<p>Get <code>/wp-json/wc/v1/subscriptions/&lt;id&gt;/</code>.</p>
<p>Learn more in the Subscriptions REST API documentation.</p>
<h3 id="section-17">Deprecated Hooks are No Longer Called</h3>
<p>Subscriptions 2.0 deprecated a large number of hooks for 3rd party code. It continued to call these hooks to avoid breaking compatibility. Now that it has been more than a year since these hooks were deprecated, they are no longer being called by default.</p>
<p>For more information, including a list of all hooks that were deprecated in version 2.0, see the <a href="https://help.codibu.com/blog/kb/subscriptions-2-0-deprecated-hooks-query-monitor-warning/">guide on deprecated hooks</a>.</p>
<p>If you need to continue to call deprecated hooks, install the WooCommerce Subscriptions Load Deprecation Handlers plugin.</p>
<h3 id="section-18">Deprecated Functions Removed</h3>
<p>All functions which were deprecated prior to Subscriptions 2.0 have now been removed completely from the codebase as the functions have been deprecated for over 2 years.</p>
<h3 id="section-19">Add-to-cart Validation Applied to Renewal &amp; Resubscribe Process</h3>
<p>WooCommerce’s <code>'woocommerce_add_to_cart_validation'</code> filter is now applied when a customer <a href="https://help.codibu.com/blog/kb/customers-view/#section-3">renews</a> or <a href="https://help.codibu.com/blog/kb/customers-view/#section-7">resubscribes</a> to a subscription via the cart. This helps improve compatibility with 3rd party code that has special validation on products that should not be renewed.</p>
<h3 id="section-20"><code>'pay_for_order'</code> Capability Usage</h3>
<p>In previous versions of subscriptions, to determine whether the logged in user could pay for a renewal or resubscribe, the user’s ID was checked against the customer ID on the subscription or order directly. Subscriptions 2.1 changes this to use the <code>'pay_for_order'</code> in the background, which falls back to the same checked but makes it possible for 3rd party code to customise whether a user should be able to pay for a specific order.</p><p>The post <a href="https://help.codibu.com/blog/whats-new-in-subscriptions-2-1/">What’s New in Subscriptions 2.1</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/whats-new-in-subscriptions-2-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PayPal Reference Transactions for Subscriptions FAQ</title>
		<link>https://help.codibu.com/blog/paypal-reference-transactions-for-subscriptions-faq/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=paypal-reference-transactions-for-subscriptions-faq</link>
					<comments>https://help.codibu.com/blog/paypal-reference-transactions-for-subscriptions-faq/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 14:55:27 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/paypal-reference-transactions-for-subscriptions-faq/</guid>

					<description><![CDATA[<p>WooCommerce Subscriptions comes with built-in support for two different PayPal payment methods: PayPal Standard PayPal Reference Transactions via Express Checkout By default Subscriptions uses the first<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/paypal-reference-transactions-for-subscriptions-faq/">PayPal Reference Transactions for Subscriptions FAQ</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>WooCommerce Subscriptions comes with built-in support for two different PayPal payment methods:</p>
<ul>
<li>PayPal Standard</li>
<li>PayPal Reference Transactions via Express Checkout</li>
</ul>
<p>By default Subscriptions uses the first of these – <strong>PayPal Standard</strong>. This is the easiest to configure. You can sell subscription products with PayPal Standard straight away with a PayPal business account. You do not need any further setup to start receiving recurring payments from your customers with PayPal Standard.</p>
<p>If you need to be use any of Subscriptions <a href="https://help.codibu.com/blog/kb/subscription-payment-methods-gateways/">advanced features</a> with PayPal, including <a href="https://help.codibu.com/blog/kb/subscription-switching-guide/">upgrades/downgrades</a> or need to workaround some of <a href="https://help.codibu.com/blog/kb/limitations-of-paypal-standard-with-subscriptions/">PayPal Standard’s limitations</a>, then you will need to apply with PayPal for Reference Transactions. These are required both when using PayPal built-in to Subscriptions, and the PayPal Checkout extension with Subscriptions.</p>
<p><strong>Reference Transactions is not a standard product and approval is subject to a fully underwritten application</strong>. This can include reviewing your business model and finances to determine your suitability.</p>
<p>This FAQ answers common questions about getting your PayPal account approved for Reference Transactions, and how PayPal Reference Transactions work with WooCommerce Subscriptions.</p>
<h2 id="section-1">How do I get Reference Transactions Enabled with PayPal?</h2>
<p>To request that PayPal turn on Reference Transactions, call your local PayPal Support Help Center. Find the phone number at Contact.</p>
<p>Tell PayPal that you are specifically calling so a PayPal Specialist can enable <strong>Reference Transactions</strong> on your account. They may try to help you set up recurring payments with a button — that is <em>not</em> want you want. They need to transfer you to a specialist who will ask you for your PayPal account information (email address), and then tell you that they filed a ticket, and you will hear back from PayPal via email on whether Reference Transactions have been enabled or not.</p>
<h3 id="section-2">Email Application</h3>
<p>You can also contact PayPal via email.</p>
<ol>
<li>Log into your PayPal account.</li>
<li>Go to the Email Contact Form.</li>
<li>Choose topic: <strong>Business solutions.</strong></li>
<li>Choose sub-topic:<strong> PayPal payment solutions.</strong></li>
<li>Choose sub-topic: <strong>PayPal Express Checkout.</strong></li>
<li>Copy and paste the message below, inserting your PayPal email address and name.</li>
<li>Wait for a reply.</li>
</ol>
<figure id="attachment_1296150" class="wp-caption aligncenter" aria-describedby="caption-attachment-1296150"><a href="https://help.codibu.com/wp-content/uploads/2020/11/paypal_contact.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-full wp-image-1296150" src="https://help.codibu.com/wp-content/uploads/2020/11/paypal_contact.png" alt="" width="980" height="1258" /></a><figcaption id="caption-attachment-1296150" class="wp-caption-text">PayPal Contact Form</figcaption></figure>
<h3 id="section-3">Example Message to send to PayPal</h3>
<pre>Hello,

Could you please enable Reference Transactions on my PayPal account (email: paypal@example.com)?

I need this feature to sell recurring subscription products via WooCommerce.

Kind regards,

Your Name
</pre>
<h3 id="section-4">Gotcha: Respond to the Autoresponder</h3>
<p>In an effort to reduce support, PayPal may send you a response from an auto-response message with some links to documentation.</p>
<p>Hidden in this auto-response is the following:</p>
<blockquote><p>If we haven’t answered your question, please reply to this email and our team will answer you as soon as possible.</p></blockquote>
<p><strong>You also need to respond to the auto-response before your support ticket is submitted to PayPal</strong>.</p>
<h2 id="section-5">Will My Account Qualify for Reference Transactions?</h2>
<p>PayPal does have a set a requirements that need to be met before they enable support for Reference Transactions on your account.</p>
<p>Unfortunately, PayPal does not publish these requirements and based on anecdotes from customers, the requirements can be different for different businesses.</p>
<p>Some things that store owners have mentioned PayPal require are:</p>
<ul>
<li>High personal credit (FICO) score for US based PayPal Business accounts</li>
<li>Business plan</li>
<li>Average transaction price</li>
<li>Number of repeat customers</li>
<li>Number of Reference Transactions per customer</li>
<li>Revenue forecast and/or projected total revenue volume from Reference Transactions</li>
<li>Demonstrate a clear business rationale behind the request</li>
<li>Show the signup flow for customers in regards to Reference Transactions.</li>
<li>Proof that you will show clear terms and conditions for customers in regards to Reference Transactions and how to cancel once they sign up.</li>
<li>Written statement as to why you need Reference Transactions and how you will use it for your business.</li>
</ul>
<p>In terms of revenue forecasts, we have had reports that UK based PayPal accounts may require minimum forecast of £6,000 month or more revenue.</p>
<h2 id="section-6">How do I Enable Reference Transactions in Subscriptions?</h2>
<p>WooCommerce Subscriptions takes advantage of Reference Transactions when possible.</p>
<p>If your PayPal account does not have Reference Transactions enabled, Subscriptions automatically checks with PayPal once a week when loading the <strong>WooCommerce &gt; Settings &gt; Payments</strong> screen to see if support has since been enabled.</p>
<p>If you wish to run the check manually:</p>
<ol>
<li>Go to <strong>WooCommerce &gt; Settings &gt; Payments &gt; PayPal</strong>.</li>
<li>Ensure PayPal is enabled and your credentials are set.</li>
<li>Select <strong>Check PayPal Account</strong> when the Reference Transaction notice appears.</li>
</ol>
<figure id="attachment_2425253" class="wp-caption alignnone" aria-describedby="caption-attachment-2425253"><a href="https://help.codibu.com/wp-content/uploads/2020/11/reference-transactions-check.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="size-large wp-image-2425253" src="https://help.codibu.com/wp-content/uploads/2020/11/reference-transactions-check.png?w=950" alt="reference-transactions-check-paypal-subscriptions" width="950" height="371" /></a><figcaption id="caption-attachment-2425253" class="wp-caption-text">Reference Transactions Notice on PayPal Settings Screen</figcaption></figure>
<h2 id="section-7">Will Existing Subscriptions use Reference Transactions?</h2>
<p>No. Any existing subscriptions continue to be PayPal Standard subscriptions.</p>
<p>PayPal Reference Transactions are only used for future subscriptions. This means that <a href="https://help.codibu.com/blog/kb/subscription-payment-methods-gateways/#advanced-features">advanced subscription management features</a>, such as recurring amount changes, are only possible on newly purchased subscriptions, not existing ones.</p>
<p>However, enabling Reference Transactions makes it possible to <a href="https://help.codibu.com/blog/kb/subscription-switching-guide/">upgrade or downgrade</a> existing subscriptions.</p>
<p>The only way to have existing PayPal Standard subscriptions changed to use PayPal Reference Transactions is to have customers sign-up again with PayPal by <a href="https://help.codibu.com/blog/kb/subscribers-view/#section-5">changing the payment method on their subscription(s)</a>.</p>
<h2 id="section-8">Why are billing agreements not cancelled at PayPal when a subscription is cancelled in WooCommerce?</h2>
<p>When a PayPal <em>Standard</em> Subscription is canceled or suspended in your WooCommerce store, status of the corresponding subscription at PayPal is also changed.</p>
<p>However, when a subscription created using PayPal Reference Transactions is canceled or suspended in your WooCommerce store, the corresponding <em>Billing Agreement</em> at PayPal does not have its status changed. It remains <em>active</em>.</p>
<p>This is normal behavior because Billing Agreements are fundamentally different to PayPal Standard subscriptions.</p>
<p>A <em>PayPal Standard Subscription</em> needs to be suspended or canceled because future payments would be processed on that subscription if it were to remain active. For a <em>Billing Agreement</em>, this is not the case. Once a subscription purchased using Reference Transactions has been canceled in your WooCommerce store, no future payments are processed against that billing agreement because Subscriptions no longer requests any payments.</p>
<p>The Billing Agreement is left active at PayPal because:</p>
<ul>
<li>Billing Agreements are <em>per store</em> not <em>per subscription</em>. Meaning if your customer has purchased multiple different subscriptions with your store, the same <em>Billing Agreement ID</em> is shared between all of those subscriptions. If it were to be canceled when one subscription is canceled, all other subscriptions would be unable to continue.</li>
<li>Billing Agreements can be <a href="https://help.codibu.com/blog/kb/manually-add-or-edit-a-subscription/#section-8">manually added to a manually created subscription</a> or even used to <em>undo cancellation</em> of a canceled subscription (impossible to do with PayPal Standard Subscriptions), but only if the billing agreement remains active in PayPal.</li>
</ul>
<p>For these reasons, <strong>it is recommended that you do not cancel Billing Agreements manually at PayPal<em>. </em></strong>If your customer chooses to cancel their Billing Agreement at PayPal, Subscriptions handles that and cancels all subscriptions in your store using that Billing Agreement. But to give you maximum flexibility in working with customers, it is recommended you do not cancel the Billing Agreement.</p>
<h2 id="section-9">Why has the initial payment changed in Subscriptions v2.0.10?</h2>
<p>PayPal provide two options for charging an initial payment when creating a billing agreement with reference transactions:</p>
<ul>
<li>Charge the initial payment alongside the request to create the billing agreement.</li>
<li>Charge the initial payment against the billing agreement after it has been created in a separate request.</li>
</ul>
<p>There is little difference in terms of when the customer pays or the store receives the payment between these options. Both result in a payment almost immediately. However, there are many differences in terms of how PayPal presents and stores details of the payment.</p>
<p>Prior to WooCommerce Subscriptions version 2.0.10, the second of these methods was used. This meant, regardless of whether the initial order was for $0 or more, no initial payment was charged alongside transaction details the customer agrees to at PayPal. This method has the following downsides:</p>
<ul>
<li>No details about the initial payment are displayed to the customer when agreeing to the transaction at PayPal. Instead a billing agreement description would be displayed, and PayPal only allow one 127-character string to be used to describe the billing agreement (this description is also used on all future payments against that agreement, including for new subscription purchases and recurring payments, so it needs to be generic to avoid confusion).</li>
<li>No line item details — individual product, tax and shipping costs — about initial payment are included in emails sent from PayPal to the customer and store owner, only total of payment.</li>
<li>No line item details for recurring payments are included in the PayPal side of the transaction, so they are not displayed in the PayPal interface or emails sent to the customer or store owners.</li>
</ul>
<p>A number of store owners complained about this behavior. As a result, Subscriptions version 2.0.10 switched to the alternative method of charging an initial payment in the same request that creates the billing agreement. This helps ensure that line items are displayed to the customer when agreeing to the transaction at PayPal and alongside the transaction at PayPal.</p>
<p>But this method also has a downside: PayPal appears to treat this initial payment as a separate transaction to the billing agreement, even though they are processed in the same transaction. So the amount charged for any initial payment is no longer included in the recurring total for a billing agreement in the PayPal dashboard.</p>
<p>PayPal does not provide a way to ensure that both the initial payment information is presented to the customer on checkout and that initial payment on subscriptions products is accounted for in the total amount charged for a billing agreement/recurring amount at PayPal. There is no way to get the best of both options.</p>
<p>Because better information is provided to the customer on PayPal Checkout with the new method, this was chosen as the best method to use in WooCommerce Subscriptions.</p>
<h3 id="section-10">Screenshots of Differences</h3>
<p>Screenshots help demonstrate the differences between the two methods.</p>
<div id="gallery-1" class="gallery galleryid-160863 gallery-columns-2 gallery-size-medium">
<figure class="gallery-item">
<div class="gallery-icon landscape"><a href="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-9-paypal-checkout.png"><img loading="lazy" decoding="async" class="attachment-medium size-medium" src="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-9-paypal-checkout.png?w=550" alt="PayPal Checkout with Subscriptions 2.0.9: Transaction Details are not Displayed" width="550" height="303" aria-describedby="gallery-1-160868" /></a></div><figcaption id="gallery-1-160868" class="wp-caption-text gallery-caption">PayPal Checkout with Subscriptions 2.0.9: Transaction Details are not Displayed</figcaption></figure>
<figure class="gallery-item">
<div class="gallery-icon landscape"><a href="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-10-paypal-checkout.png"><img loading="lazy" decoding="async" class="attachment-medium size-medium" src="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-10-paypal-checkout.png?w=550" alt="PayPal Checkout with Subscriptions 2.0.10: Transaction Details are Displayed" width="550" height="303" aria-describedby="gallery-1-160870" /></a></div><figcaption id="gallery-1-160870" class="wp-caption-text gallery-caption">PayPal Checkout with Subscriptions 2.0.10: Transaction Details are Displayed</figcaption></figure>
<figure class="gallery-item">
<div class="gallery-icon landscape"><a href="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-9-paypal-billing-agreement-details.png"><img loading="lazy" decoding="async" class="attachment-medium size-medium" src="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-9-paypal-billing-agreement-details.png?w=550" alt="PayPal Billing Agreement Details with Subscriptions 2.0.9: Initial Amount Shown as Billed this Cycle" width="550" height="196" aria-describedby="gallery-1-160867" /></a></div><figcaption id="gallery-1-160867" class="wp-caption-text gallery-caption">PayPal Billing Agreement Details with Subscriptions 2.0.9: Initial Amount Shown as Billed this Cycle</figcaption></figure>
<figure class="gallery-item">
<div class="gallery-icon landscape"><a href="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-10-paypal-billing-agreement-details.png"><img loading="lazy" decoding="async" class="attachment-medium size-medium" src="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-10-paypal-billing-agreement-details.png?w=550" alt="PayPal Billing Agreement Details with Subscriptions 2.0.10" width="550" height="194" aria-describedby="gallery-1-160869" /></a></div><figcaption id="gallery-1-160869" class="wp-caption-text gallery-caption">PayPal Billing Agreement Details with Subscriptions 2.0.10: No Amount Billed this Cycle</figcaption></figure>
<figure class="gallery-item">
<div class="gallery-icon landscape"><a href="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-9-paypal-transaction-details.png"><img loading="lazy" decoding="async" class="attachment-medium size-medium" src="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-9-paypal-transaction-details.png?w=550" alt="PayPal Initial Payment Transaction Details with Subscriptions 2.0.9: No line items are displayed, but billing agreement details are included" width="550" height="508" aria-describedby="gallery-1-160872" /></a></div><figcaption id="gallery-1-160872" class="wp-caption-text gallery-caption">PayPal Initial Payment Transaction Details with Subscriptions 2.0.9: No line items are displayed, but billing agreement details are included</figcaption></figure>
<figure class="gallery-item">
<div class="gallery-icon landscape"><a href="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-10-paypal-transaction-details.png"><img loading="lazy" decoding="async" class="attachment-medium size-medium" src="https://help.codibu.com/wp-content/uploads/2020/11/subscriptions-2-0-10-paypal-transaction-details.png?w=550" alt="PayPal Initial Payment Transaction Details with Subscriptions 2.0.10: Line items are displayed, but no billing agreement is displayed" width="550" height="535" aria-describedby="gallery-1-160873" /></a></div><figcaption id="gallery-1-160873" class="wp-caption-text gallery-caption">PayPal Initial Payment Transaction Details with Subscriptions 2.0.10: Line items are displayed, but no billing agreement is displayed</figcaption></figure>
<figure class="gallery-item">
<div class="gallery-icon landscape"><a href="https://help.codibu.com/wp-content/uploads/2020/11/paypal-recurring-payments-dashboard.png"><img loading="lazy" decoding="async" class="attachment-medium size-medium" src="https://help.codibu.com/wp-content/uploads/2020/11/paypal-recurring-payments-dashboard.png?w=550" alt="PayPal Recurring Payments Dashboard: Subscription Created with 2.0.9 shows initial amount in &quot;Billed this Cycle&quot; column, Subscription created with 2.0.10 show no amount" width="550" height="352" aria-describedby="gallery-1-160866" /></a></div><figcaption id="gallery-1-160866" class="wp-caption-text gallery-caption">PayPal Recurring Payments Dashboard: Subscription created with 2.0.9 shows initial amount in “Billed this Cycle” column, subscription created with 2.0.10 does not</figcaption></figure>
</div>
<h2 id="section-11">Is Guest Checkout Possible with PayPal Reference Transactions?</h2>
<p>No, PayPal provides no way for customers to check out without a PayPal account when using PayPal Reference Transactions.</p>
<p>If you wish to allow your customers to check out without a PayPal account, there are many other <a href="https://help.codibu.com/blog/kb/subscription-payment-methods-gateways/#section-1">payment gateways that support automatic recurring payments</a>. Stripe or Braintree are good options.</p>
<p>PayPal does provide a premium feature to U.S. based companies to offer <a href="https://help.codibu.com/blog/kb/subscriptions-faq/#section-31">Guest Checkout with PayPal Standard</a>; but this is not available for transactions that use PayPal Reference Transactions.</p>
<p>PayPal Express Checkout, the PayPal product that Subscriptions uses to process Reference Transactions, also offers a guest checkout option that can be set in the API request or your PayPal account. However, this option <em>is not supported for Reference Transactions</em>. PayPal explained this via support request; it is not published publicly in the Express Checkout documentation.</p>
<h2 id="section-12">Are Payment Authorizations Supported when using PayPal Reference Transactions with Subscriptions?</h2>
<p>No. WooCommerce Subscriptions always captures payment immediately for subscription transactions. That includes both the initial and recurring payments. If you would like authorization then capture to be supported in a future version, please <a href="http://ideas.woocommerce.com/forums/133476-woocommerce">submit it as a feature request</a> on the Ideas board.</p>
<h2 id="section-13">Do Reference Transactions use PayPal Standard or Express Checkout?</h2>
<p>Reference Transactions use the PayPal Express Checkout product. The full name for the product is PayPal Reference Transactions via Express Checkout.</p>
<p>To simplify setup of Reference Transactions with WooCommerce Subscriptions, once Reference Transactions are enabled by PayPal on your PayPal account, Subscriptions will use the PayPal account details already entered on the <strong>WooCommerce &gt; Settings &gt; Checkout &gt; PayPal</strong> administration screen. This avoids having to duplicate the same PayPal account settings, like API credentials, on an additional administration screen.</p>
<p>As the details on that PayPal settings screen are used for <strong>PayPal Standard</strong> purchases in WooCommerce core, and <strong>PayPal Standard Subscriptions</strong> prior to Reference Transactions being enabled, this can lead to confusion about which PayPal product Reference Transactions uses. Because of this, it will be changed in a future version of Subscriptions.</p><p>The post <a href="https://help.codibu.com/blog/paypal-reference-transactions-for-subscriptions-faq/">PayPal Reference Transactions for Subscriptions FAQ</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/paypal-reference-transactions-for-subscriptions-faq/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Why aren’t Subscriptions Cancelled or Suspended at PayPal?</title>
		<link>https://help.codibu.com/blog/why-arent-subscriptions-cancelled-or-suspended-at-paypal/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=why-arent-subscriptions-cancelled-or-suspended-at-paypal</link>
					<comments>https://help.codibu.com/blog/why-arent-subscriptions-cancelled-or-suspended-at-paypal/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 14:54:28 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/why-arent-subscriptions-cancelled-or-suspended-at-paypal/</guid>

					<description><![CDATA[<p>PayPal and WooCommerce Subscriptions both keep a record of your store’s subscriptions. As a result, the status of these subscriptions needs to be synchronised with PayPal.<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/why-arent-subscriptions-cancelled-or-suspended-at-paypal/">Why aren’t Subscriptions Cancelled or Suspended at PayPal?</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>PayPal and WooCommerce Subscriptions both keep a record of your store’s subscriptions. As a result, the status of these subscriptions needs to be synchronised with PayPal.</p>
<p>On occasion, store managers may find that when a customer or store manager <strong>suspends</strong> or <strong>cancels</strong> a subscription in the store the status change is not reflected at PayPal. Similarly, if a customer <a href="https://help.codibu.com/blog/kb/subscribers-view/#section-5"><strong>changes the payment method</strong></a> or <a href="https://help.codibu.com/blog/kb/subscription-switching-guide/"><strong>switches</strong></a> a subscription that was originally purchased at PayPal, the original subscription may not be cancelled at PayPal.</p>
<p>This guide covers potential issues that prevent Subscriptions from synchronising with PayPal.</p>
<h2 id="section-1">Incorrect PayPal API Signature</h2>
<p>To communicate with PayPal, WooCommerce Subscriptions needs your PayPal account’s API Signature. You can learn how to find and where to enter your credentials for this in the <a href="https://help.codibu.com/blog/kb/subscriptions-store-manager-guide/#paypal-credentials">PayPal configuration guide</a>.</p>
<p>You PayPal API credentials can be incorrect for a number of reasons:</p>
<ol>
<li>Your API Signature may be for a <strong><em>PayPal Sandbox</em></strong> account but the PayPal Sandbox is <em>disabled</em> in your WooCommerce settings. Or you may be using a live PayPal account’s API Signature with PayPal Sandbox <em>enabled</em>.</li>
<li>Missing characters – sometimes PayPal API Signatures include special characters which may be missed when it is copied. Be sure to check that all the characters are entered in your WooCommerce settings page.</li>
<li>PayPal provides two forms of API credentials – <strong><em>API Certificate</em></strong> and <strong><em>API Signature</em></strong>. You must use an API Signature with Subscriptions. An API Certificate will not work.</li>
</ol>
<h2 id="section-2">PayPal API credentials notice</h2>
<p>PayPal does not provide a way to verify you API Credentials when they are first entered into WooCommerce. Instead, if a request to <strong>suspend</strong> or <strong>cancel</strong> a subscription fails due to invalid credentials, it will keep a record of the profile ID that could not be changed and display this notice.</p>
<p>To hide the notice, you must <a href="https://help.codibu.com/blog/kb/subscriptions-store-manager-guide/#paypal-credentials">update your PayPal API Credentials</a>.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/paypalapicredentials.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-160601" src="https://help.codibu.com/wp-content/uploads/2020/11/paypalapicredentials.png" sizes="(max-width: 1024px) 100vw, 1024px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/paypalapicredentials.png 1612w, https://help.codibu.com/wp-content/uploads/2020/11/paypalapicredentials.png?resize=550,172 550w, https://help.codibu.com/wp-content/uploads/2020/11/paypalapicredentials.png?resize=768,240 768w, https://help.codibu.com/wp-content/uploads/2020/11/paypalapicredentials.png?resize=950,297 950w, https://help.codibu.com/wp-content/uploads/2020/11/paypalapicredentials.png?resize=1536,480 1536w" alt="paypalapicredentials" width="1024" height="320" /></a></p>
<h2 id="section-3">Old PayPal accounts</h2>
<p>Subscriptions created with PayPal accounts that were registered before 2009 can not be synchronised with your store. PayPal doesn’t publish documentation on this issue, but we have anecdotally discovered this via customer’s facing this issue, and information provided by PayPal Merchant Technical Services.</p>
<p>If you have an old PayPal account, check the <strong>PayPal Subscription ID</strong> value for your subscriptions. Normal IDs will start with an uppercase “<code>I</code>” followed by numbers and letters, e.g. <code>I-nnnnnnnnnnnnnn</code>. Subscriptions created with old PayPal accounts start with an uppercase “<code>S</code>” instead, e.g. <code>S-nnnnnnnnnnnnnn</code>.</p>
<p>To check the <strong>PayPal Subscription ID</strong> value for your subscriptions:</p>
<ol>
<li>Go to the <strong>WooCommerce &gt; Edit Subscription</strong> for a subscription using PayPal Standard as the payment method</li>
<li>Check the <strong>PayPal Subscription ID</strong> value displayed under the <strong>Subscription Data &gt; Billing Details</strong> section</li>
</ol>
<p>If your store’s PayPal Subscriber IDs start with an <strong>S</strong>, <strong>neither you nor your customers will be able to <a href="https://help.codibu.com/blog/kb/subscriptions-store-manager-guide/#section-8">cancel or suspend the subscription</a> in WooCommerce.</strong></p>
<p>To address this issue, you will need to contact PayPal Merchant Technical Services and notify them that your account is still using out of date subscription IDs and request they update your account.</p>
<figure id="attachment_167014" class="wp-caption aligncenter" aria-describedby="caption-attachment-167014"><a href="https://help.codibu.com/wp-content/uploads/2020/11/paypal-subscription-id.png"><img loading="lazy" decoding="async" class="size-large wp-image-167014" src="https://help.codibu.com/wp-content/uploads/2020/11/paypal-subscription-id.png?w=775" sizes="(max-width: 775px) 100vw, 775px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/paypal-subscription-id.png 775w, https://help.codibu.com/wp-content/uploads/2020/11/paypal-subscription-id.png?resize=550,390 550w, https://help.codibu.com/wp-content/uploads/2020/11/paypal-subscription-id.png?resize=768,544 768w" alt="Edit Subscriptions screen with old PayPal ID" width="775" height="549" /></a><figcaption id="caption-attachment-167014" class="wp-caption-text">Edit Subscriptions screen with old PayPal ID</figcaption></figure>
<h2 id="section-4">Out-of-date subscription ID notice</h2>
<p>If PayPal returns a subscription ID with an uppercase “S”, e.g. S-nnnnnnnnnnnnnn, then Subscriptions will display the out-of-date account notice at the top of the admin area.</p>
<p>Once you have followed the advice above and contacted PayPal Merchant Technical services, you can safely dismiss the notice and it will never be displayed again.<a href="https://help.codibu.com/wp-content/uploads/2020/11/paypal-out-of-date.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-160603" src="https://help.codibu.com/wp-content/uploads/2020/11/paypal-out-of-date.png" sizes="(max-width: 1024px) 100vw, 1024px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/paypal-out-of-date.png 1612w, https://help.codibu.com/wp-content/uploads/2020/11/paypal-out-of-date.png?resize=550,171 550w, https://help.codibu.com/wp-content/uploads/2020/11/paypal-out-of-date.png?resize=768,239 768w, https://help.codibu.com/wp-content/uploads/2020/11/paypal-out-of-date.png?resize=950,296 950w, https://help.codibu.com/wp-content/uploads/2020/11/paypal-out-of-date.png?resize=1536,478 1536w" alt="paypal-out-of-date" width="1024" height="319" /></a></p><p>The post <a href="https://help.codibu.com/blog/why-arent-subscriptions-cancelled-or-suspended-at-paypal/">Why aren’t Subscriptions Cancelled or Suspended at PayPal?</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/why-arent-subscriptions-cancelled-or-suspended-at-paypal/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Change PayPal email address with existing subscriptions</title>
		<link>https://help.codibu.com/blog/change-paypal-email-address-with-existing-subscriptions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=change-paypal-email-address-with-existing-subscriptions</link>
					<comments>https://help.codibu.com/blog/change-paypal-email-address-with-existing-subscriptions/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 14:53:47 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/change-paypal-email-address-with-existing-subscriptions/</guid>

					<description><![CDATA[<p>If you have existing subscriptions with PayPal, you can still change your PayPal email address; however, you need to change both the email used in WooCommerce<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/change-paypal-email-address-with-existing-subscriptions/">Change PayPal email address with existing subscriptions</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>If you have existing subscriptions with PayPal, you can still change your PayPal email address; however, you need to change both the email used in WooCommerce and the primary address with PayPal.</p>
<p>Please also note, <strong>you can not change to the email address in WooCommerce to use the email address of a different PayPal account. You must update the email address used on the PayPal account instead of using a new account</strong>. Changing the PayPal account email in WooCommerce will break the connection between PayPal and WooCommerce Subscriptions for all subscriptions created with the old PayPal account.</p>
<p>To change the email address used at PayPal, please follow PayPal’s article on changing your email address. Be sure to set the new email address as the <strong>primary</strong> email.</p>
<p>To make the change in WooCommerce:</p>
<ol>
<li>Go to: <strong>WooCommerce &gt; Settings &gt; Checkout &gt; PayPal</strong>.</li>
<li>Enter the new email in both the <strong>PayPal Email</strong> and <strong>Receiver Email</strong> fields.</li>
<li>Save the changes.</li>
</ol>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/new-paypal-email.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-10907" src="https://help.codibu.com/wp-content/uploads/2020/11/new-paypal-email.png" alt="" width="2048" height="891" /></a></p><p>The post <a href="https://help.codibu.com/blog/change-paypal-email-address-with-existing-subscriptions/">Change PayPal email address with existing subscriptions</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/change-paypal-email-address-with-existing-subscriptions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Change Subscription from Automatic to Manual Payments</title>
		<link>https://help.codibu.com/blog/change-subscription-from-automatic-to-manual-payments/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=change-subscription-from-automatic-to-manual-payments</link>
					<comments>https://help.codibu.com/blog/change-subscription-from-automatic-to-manual-payments/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 14:52:51 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/change-subscription-from-automatic-to-manual-payments/</guid>

					<description><![CDATA[<p>If a customer has created a subscription using a payment gateway with automatic recurring payment support, and the customer now wants to pay manually, the store manager can<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/change-subscription-from-automatic-to-manual-payments/">Change Subscription from Automatic to Manual Payments</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>If a customer has created a subscription using a payment gateway with <a href="https://help.codibu.com/blog/kb/payment-gateways/">automatic recurring payment</a> support, and the customer now wants to pay manually, the store manager can use this tutorial to switch their subscription to manual payments.</p>
<p>The first part of this guide is written for store owners and outlines the administration interface available for this purpose. The second part of the guide is written for developers and provides information on how to programmatically change a subscription’s payment method to manual.</p>
<div class="woo-sc-box normal   ">To change a subscription from Manual to Automatic payments, check out the guide to set up automatic payments on a manually added subscription.</div>
<h2 id="section-1">Store Manager Guide to Change a Subscription to Manual Payments</h2>
<p>To change a customer’s subscription via the administration interface:</p>
<ol>
<li>Go to the <strong>WooCommerce &gt; Subscriptions</strong> administration screen.</li>
<li>Click the ID of the subscription you want to change to open the <strong>Edit Subscriptions</strong> screen.</li>
<li>Click the pencil icon next to the <strong>Billing Details</strong> section.</li>
<li>Click the <strong>Payment Method</strong> select box at the bottom of <strong>Billing Details</strong>.</li>
<li>Choose <strong>Manual</strong>.</li>
<li>Click <strong>Save Subscription</strong>.</li>
</ol>
<figure id="attachment_167550" class="wp-caption aligncenter" aria-describedby="caption-attachment-167550"><a href="https://help.codibu.com/wp-content/uploads/2020/11/change-subscription-to-manual-renewal-payments.png"><img loading="lazy" decoding="async" class="aligncenter wp-image-167550 size-large" src="https://help.codibu.com/wp-content/uploads/2020/11/change-subscription-to-manual-renewal-payments.png?w=950" alt="Change subscription to use manual renewal payments" width="950" height="560" /></a><figcaption id="caption-attachment-167550" class="wp-caption-text">Change subscription to use manual renewal payments</figcaption></figure>
<h2 id="section-2">Developer Guide to Change a Subscription to Manual Payments</h2>
<p>If you need to switch a large number of subscriptions to use manual renewals, and you are proficient with PHP and/or MySQL, you can also programmatically change a subscription’s payment method to be manual.</p>
<h3 id="section-3">Change a Subscription to Manual Payments via Database</h3>
<p>To change a customer’s subscription via the database:</p>
<ol>
<li>Find the ID of the subscription – this will be displayed on the <a href="https://help.codibu.com/blog/kb/store-manager-guide/#section-8">Manage Subscription</a> table next to the subscription.</li>
<li>Open MySQL editor (like <a href="http://www.wpbeginner.com/beginners-guide/beginners-guide-to-wordpress-database-management-with-phpmyadmin/">PhpMyAdmin</a>).</li>
<li>Search the <code>wp_postmeta</code> table for a row where the <code>post_ID</code> is the ID found in step 1 and the <code>meta_key</code> is <code>'_requires_manual_renewal'</code>.</li>
<li>If a row is found, change the <code>meta_value</code> for that row to <code>true</code>.</li>
<li>If a row was not found in step 3, insert a row into the <code>wp_postmeta</code> table where the <code>post_ID</code> is the ID found in step 1, the <code>meta_key</code> is <code>'_requires_manual_renewal'</code> and the <code>meta_value</code> is <code>true</code>.</li>
</ol>
<p>You can also bulk insert or update this meta data via a custom MySQL query for a batch of subscription IDs.</p>
<h3 id="section-4">Change a Subscription to Manual Payments via PHP</h3>
<p>To change a customer’s subscription using PHP:</p>
<ol>
<li>Find the ID of the subscription – this will be displayed on the <a href="https://help.codibu.com/blog/kb/store-manager-guide/#section-8">Manage Subscription</a> table next to the subscription.</li>
<li>In you PHP code, instantiate an instance of that subscription using <code>wcs_get_subscription( $subscription_id )</code></li>
<li>Call <code>update_manual()</code> on the subscription instance with a value of <code>true</code> to set the subscription to require manual renewals.</li>
</ol><p>The post <a href="https://help.codibu.com/blog/change-subscription-from-automatic-to-manual-payments/">Change Subscription from Automatic to Manual Payments</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/change-subscription-from-automatic-to-manual-payments/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
