<?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>Managing Orders - CODIBU</title>
	<atom:link href="https://help.codibu.com/kbtopic/managing-orders/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:29:50 +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>Managing Orders - CODIBU</title>
	<link>https://help.codibu.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Managing Orders</title>
		<link>https://help.codibu.com/blog/managing-orders/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=managing-orders</link>
					<comments>https://help.codibu.com/blog/managing-orders/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Fri, 06 Nov 2020 10:53:11 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/managing-orders/</guid>

					<description><![CDATA[<p>Orders are created when a customer completes the checkout process, and they are visible to users with Admin and Shop Manager roles only. Each order is<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/managing-orders/">Managing Orders</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Orders are created when a customer completes the checkout process, and they are visible to users with Admin and Shop Manager roles only. Each order is given a unique <strong>Order ID.</strong></p>
<div class="woo-sc-box note   ">Order IDs are non-sequential as they use the default WordPress ID approach. For sequential order numbers, you can use <a href="https://help.codibu.com/blog/kb/sequential-order-numbers-pro/">Sequential Order Numbers Pro</a>.</div>
<h2 id="section-1">Order Statuses</h2>
<p>An order also has a <strong>Status</strong>. Order statuses let you know how far along the order is, starting with “Pending payment” and ending with “Completed.” The following order statuses are used:</p>
<ul>
<li><strong>Pending payment</strong> — Order received, no payment initiated. Awaiting payment (unpaid).</li>
<li><strong>Failed</strong> — Payment failed or was declined (unpaid) or requires authentication (SCA). Note that this status may not show immediately and instead show as <strong>Pending</strong> until verified (e.g., PayPal).</li>
<li><strong>Processing</strong> — Payment received (paid) and stock has been reduced; order is awaiting fulfillment. All product orders require processing, except those that only contain products which are both <a href="https://help.codibu.com/blog/kb/digital-downloadable-product-handling/">Virtual and Downloadable</a>.</li>
<li><strong>Completed</strong> — Order fulfilled and complete – requires no further action.</li>
<li><strong>On hold</strong> — Awaiting payment – stock is reduced, but you need to confirm payment.</li>
<li><strong>Canceled</strong> — Canceled by an admin or the customer – stock is increased, no further action required.</li>
<li><strong>Refunded</strong> — Refunded by an admin – no further action required.</li>
<li><strong>Authentication required</strong> — Awaiting action by the customer to authenticate the transaction and/or complete SCA requirements.</li>
</ul>
<h3 id="section-2">Visual Diagram to Illustrate Order Statuses</h3>
<p>This visual representation follows an order through its statuses from “Pending payment” to “Completed”, “Canceled” or “Refunded.”</p>
<div class="wp-block-image">
<figure class="aligncenter"><a href="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-order-process-diagram.png"><img fetchpriority="high" decoding="async" class="wp-image-971514" src="https://help.codibu.com/wp-content/uploads/2020/11/woocommerce-order-process-diagram.png?w=950" alt="" width="1837" height="505" /></a></figure>
</div>
<h3 id="section-3">Order Statuses and Payment Gateways</h3>
<p>More about how order statuses relate to payment gateways in the <a href="https://help.codibu.com/blog/kb/managing-orders/#section-20">Troubleshooting section</a>.</p>
<h3 id="section-4">Order Statuses and Emails</h3>
<p>More about the different emails that are automatically sent at <a href="https://help.codibu.com/blog/kb/configuring-woocommerce-settings/#email-settings">Email Settings</a>.</p>
<div class="woo-sc-box note   ">If you are using PayPal and orders are staying in Pending, you may have an IPN issue. See the troubleshooting section at <a href="https://help.codibu.com/blog/kb/paypal-standard/#section-23">Debugging IPN Issues</a>.</div>
<h2 id="section-5">Viewing and Managing Multiple Orders</h2>
<h3 id="section-6">Orders Overview</h3>
<p>When a shop starts taking orders, the <strong>Orders</strong> management page begins to fill up. Go to: <strong>WooCommerce &gt; Orders</strong>.</p>
<p>Each row displays several details. Some are there by default, others can be added. These are the available options:</p>
<ul>
<li>Order number and customer name,</li>
<li>Date of purchase,</li>
<li>Order status,</li>
<li>Billing address,</li>
<li>Shipping address,</li>
<li>Purchase total, and</li>
<li>Actions.</li>
</ul>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-1.png?w=950" rel="prettyPhoto"><img decoding="async" class="wp-image-2224010" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-1.png?w=950" alt="" width="1250" height="1091" /></a></figure>
</div>
<p>To change these columns:</p>
<ul>
<li>Go to: <strong>WooCommerce &gt; Orders</strong>.</li>
<li><strong>Select Screen Options</strong> in the top right corner.</li>
<li>Select which <strong>Columns </strong>to show.</li>
<li>Select how many <strong>Items</strong> you want to be displayed on each page.</li>
<li>Then <strong>Apply</strong>.</li>
</ul>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-2.png?w=950" rel="prettyPhoto"><img decoding="async" class="wp-image-2224011" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-2.png?w=950" alt="" width="1090" height="568" /></a></figure>
</div>
<h3 id="section-7">Filter and Arrange Orders</h3>
<p><strong>Filter</strong> orders by <strong>Date (month/year)</strong> or <strong>by registered customer</strong>.</p>
<ul>
<li>Select the <strong>month</strong>, or search for a <strong>customer</strong>.</li>
<li><strong>Select Filter</strong>.</li>
</ul>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-3.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224012" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-3.png?w=950" alt="" width="1090" height="112" /></a></figure>
</div>
<p><strong>Arrange</strong> orders in <strong>ascending</strong> or <strong>descending</strong> order by <strong>Order</strong> number, <strong>Date</strong> or <strong>Total</strong> by select the heading.</p>
<p>Note that the “Total” column does <strong>not</strong> take the refunded amount into consideration.</p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-4.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224027" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-4.png?w=950" alt="" width="1080" height="441" /></a></figure>
</div>
<p>Click the order number and customer name to see the <strong>Single Order page</strong>, where you can also <strong>Edit</strong> order details, <strong>Update Status</strong>, and <strong>Add Notes</strong>. More details on that in <a href="https://help.codibu.com/blog/kb/managing-orders/#section-11">Viewing and Editing Single Orders</a>.</p>
<h3 id="section-8">Previewing Orders</h3>
<p>Order rows have a <strong>Preview</strong> “eye.”</p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-5.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224028" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-5.png?w=950" alt="" width="1078" height="60" /></a></figure>
</div>
<p>Clicking <strong>Preview</strong> opens a <strong>Modal</strong>, containing the order number, order status, billing details, payment method, shipping details, shipping method, items ordered, and the option to change the order status.</p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-6-1.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224038" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-6-1.png?w=950" alt="" width="1120" height="894" /></a></figure>
</div>
<h3 id="section-9">Order Statuses in the Overview</h3>
<p><strong>Order Statuses</strong> are color-coded and descriptive.</p>
<ul>
<li>Canceled – Grey</li>
<li>Completed – Blue</li>
<li>Failed – Red</li>
<li>On Hold – Orange</li>
<li>Pending Payment – Grey</li>
<li>Processing – Green</li>
<li>Refunded – Grey</li>
</ul>
<h3 id="section-10">Order Actions</h3>
<p>Hovering over an order<strong> Status</strong> displays <strong>Notes</strong> made on the order.</p>
<div class="wp-block-image">
<figure class="aligncenter"><a href="https://help.codibu.com/wp-content/uploads/2020/11/hover-order-status.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-832805" src="https://help.codibu.com/wp-content/uploads/2020/11/hover-order-status.png" alt="" width="1486" height="292" /></a></figure>
</div>
<p>At the end of a row are shortcut buttons to quickly mark orders as <strong>Processing</strong> or <strong>Complete</strong>.</p>
<div class="wp-block-image">
<figure class="aligncenter"><a href="https://help.codibu.com/wp-content/uploads/2020/11/orders-shortcut-buttons.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-832788" src="https://help.codibu.com/wp-content/uploads/2020/11/orders-shortcut-buttons.png" alt="" width="4936" height="340" /></a></figure>
</div>
<h2 id="section-11">Viewing and Editing a Single Order</h2>
<p>From the <strong>Single Order</strong> page not only can you view all order data, but also edit and update.</p>
<ul>
<li>Change the order status.</li>
<li>Edit order items – modify the product, prices, and taxes.</li>
<li>Stock – Reduce and restore stock for an order</li>
<li>Order Actions – Email order details to customer (handy if manually creating an order for your customers) or Regenerate download permissions</li>
<li>Modify product <strong>Meta</strong> to edit product variations by removing and adding meta</li>
<li>Apply coupons. You will need to know the coupon code to apply to the order. Coupon usage counts are tracked, and coupons can also be removed from orders. Note: the order must be unpaid for coupons to have an affect</li>
<li>Add fee. You can enter an amount or percentage to add a fee to an order. Negative fees will apportion taxes between all other items, and will not make the cart total go below zero</li>
</ul>
<h3 id="section-12">Order Details</h3>
<h4 id="viewing-order-details">Viewing Order Details</h4>
<p>The <strong>Order Details</strong> panel you can view:</p>
<ul>
<li>Order number</li>
<li>Payment details</li>
<li>Order date and time</li>
<li>Order status</li>
<li>Customer details:
<ul>
<li>Username and email, together with a link to view their profile and other purchases the customer may have had in the past</li>
<li>Billing details</li>
<li>Shipping details</li>
</ul>
</li>
</ul>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/Screen-Shot-2015-02-06-at-14.54.12.png"><img loading="lazy" decoding="async" class="wp-image-2224085" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-7.png" alt="" width="748" height="592" /></a></figure>
</div>
<h4 id="editing-order-details">Editing Order Details</h4>
<p>Most of the details in this section can be updated and/or changes.</p>
<ul>
<li>To change the date and time, use the dropdown date selector and the quantity selectors for the time.</li>
<li>To change the status, choose the right status in the dropdown.</li>
<li>To change the customer, select the current customer and search for the new customer.</li>
</ul>
<p>Under “Billing” and “Shipping”, several other details can be changed. In order to do so, select the pencil icon next to each of them.</p>
<ul>
<li>Under “Billing”, the following things can be changed:
<ul>
<li>Billing address — this can also be loaded from the customer’s profile by selecting “Load billing address”</li>
<li>Email</li>
<li>Phone number</li>
<li>Payment method and details</li>
</ul>
</li>
<li>Under “Shipping”, the following things can be changed:
<ul>
<li>Shipping address — this can also be loaded from the customer’s profile or copied from the billing address</li>
<li>Customer provided note</li>
</ul>
</li>
</ul>
<figure class="wp-block-image size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-10.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224089" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-10.png" alt="" width="748" height="551" /></a></figure>
<p>Once you’ve made the necessary changes, select <strong>Update</strong> to update the order.</p>
<h3 id="section-13">Order Items and Totals</h3>
<h4 id="viewing-order-items">Viewing Order Items</h4>
<p>The next panel on the order page is the <strong>Order Items</strong> panel. This contains the product items, the shipping details, and the order summary.</p>
<ul>
<li>Each <strong>product item row</strong> lists:
<ul>
<li>Product image</li>
<li>Product name</li>
<li>Single product Cost</li>
<li>Quantity</li>
<li>Total (Cost x Quantity, with discounts taken into consideration)</li>
<li>Taxes</li>
</ul>
</li>
<li>Below that, the <strong>shipping details</strong> are displayed. This will include:
<ul>
<li>Shipping method</li>
<li>Boxed items</li>
<li>Total cost</li>
<li>Taxes</li>
</ul>
</li>
<li>The last section contains an <strong>overview of the order costs</strong>. This section will change if an order is refunded. By default, it will include:
<ul>
<li>Items subtotal — cost excluding tax</li>
<li>Coupon(s) — amount deducted based on the use of coupons; the coupons used are displayed left in this section</li>
<li>Shipping — the shipping cost for the order</li>
<li>Taxes — the amount of taxes for the whole order; this will be replaced by the tax code applied to the order</li>
<li>Order total — the total of the above costs</li>
<li>Finally, below the line, an overview of what is paid and the fees taken by payment gateways</li>
</ul>
</li>
</ul>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/Screen-Shot-on-2015-02-06-at-14-48-53.png"><img loading="lazy" decoding="async" class="wp-image-2224087" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-8-1.png" alt="" width="750" height="785" /></a></figure>
</div>
<h4 id="editing-or-adding-order-items">Editing or Adding Order Items</h4>
<p>Apart from refunding, order items can not be edited, unless the order status is “Pending payment”, or “On hold.”</p>
<p><strong>Product items. </strong>Select the <strong>pencil icon</strong> next to a product line to edit.</p>
<figure class="wp-block-image size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-11.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224090" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-11.png" alt="" width="763" height="208" /></a></figure>
<p>The following product items can be edited:</p>
<ul>
<li><strong>Add Meta</strong> — Add and remove meta to change product variable options.</li>
<li><strong>Quantity</strong> — Number of items the customer is purchasing.</li>
<li><strong>Total</strong> — Line price and line tax <strong>before</strong> pre-tax discounts.</li>
<li><strong>Tax </strong>— Tax cost. For example, if a customer is tax-exempt you may want to remove the taxes.</li>
</ul>
<p><strong>Other actions.</strong> Next, you can do four actions at the bottom of this window:</p>
<figure class="wp-block-image size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-9.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224088" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-9.png" alt="" width="748" height="70" /></a></figure>
<ul>
<li><strong>Add item(s)</strong> — this will show you six new options:
<ul>
<li>Add product(s) — Add additional products to the order.</li>
<li>Add fee — Add an additional fee, such as gift wrapping.</li>
<li>Add shipping — Add a shipping cost. When you’ve done this, select the pencil icon to update the name, the method, the cost, and the tax.</li>
<li>Add tax — Add an additional tax code to every section in the order.</li>
<li>Cancel — Cancel if you do not want to make any changes.</li>
<li>Save — Save once the changes are made.</li>
</ul>
</li>
<li>Once you’ve done this, select <strong>Recalculate</strong> to make sure all the changes are reflected in the order totals.</li>
</ul>
<figure class="wp-block-image size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-13.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224141" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-13.png" alt="" width="750" height="643" /></a></figure>
<ul>
<li><strong>Apply coupon</strong> — If your customer forgot to add the coupon could or you want to reward the customer before they pay, selecting this option will show a modal that allows you to apply a coupon code.</li>
<li><strong>Refund</strong> — to refund the customer. For more information about Manual and Automatic Refunds, see <a href="https://help.codibu.com/blog/kb/woocommerce-refunds/" target="_blank" rel="noreferrer noopener">WooCommerce Refunds</a>.</li>
</ul>
<h3 id="section-14">Custom Fields</h3>
<p>To add custom meta fields, use the <strong>Custom Fields</strong> metabox:</p>
<div class="wp-block-image">
<figure class="aligncenter"><a href="https://help.codibu.com/wp-content/uploads/2020/11/wc_2-1_custom_fields.png"><img loading="lazy" decoding="async" class="wp-image-153287" src="https://help.codibu.com/wp-content/uploads/2020/11/wc_2-1_custom_fields.png" alt="wc_2-1_custom_fields" width="862" height="288" /></a></figure>
</div>
<h3 id="section-15">Order Notes</h3>
<p>The <strong>Order Notes</strong> panel displays notes attached to the order and can be used for storing event details, such as payment results or reducing stock levels, or adding notes to the order for customers to view. Some payment gateways also add notes for debugging.</p>
<p>The following note types are possible:</p>
<ul>
<li><strong>Purple</strong>: System status notices, such as payment gateway details.</li>
<li><strong>Grey</strong>: General status updates, such as status changes or private notes. Customers do not see these notes but may receive notification of them, e.g., when the status changes from processing to completed, an email may be sent (depending on your settings).</li>
<li><strong>Blue</strong>: Notes to the customer. Customers receive notes via email but can view them by viewing an order, or using the WooCommerce order tracking page.</li>
</ul>
<p>Notes can be a powerful tool for communicating with customers or other store managers. Need to add a tracking number for shipping? Is stock delayed? Add a customer note, and they are automatically notified.</p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/2017-01-31_10-32-40.png"><img loading="lazy" decoding="async" class="wp-image-2224186" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-14.png?w=950" alt="" width="1090" height="1028" /></a></figure>
</div>
<p>To add a note,</p>
<ul>
<li>Use the textarea to <strong>add the content</strong> of the note.</li>
<li>Select <strong>Private note</strong> or <strong>Note to customer</strong> in the dropdown.</li>
<li>Select <strong>Add</strong>.</li>
</ul>
<h2 id="section-16">Manually Adding an Order</h2>
<p>To add an order:</p>
<ol>
<li>Go to: <strong>WooCommerce &gt; Orders</strong>.</li>
<li>Use <strong>Add New</strong> at the top of the page. The Single Order page appears.</li>
<li><strong>Input</strong> customer details, add line items, apply coupons, apply fees and calculate totals. These are the same as the <a href="https://help.codibu.com/blog/kb/managing-orders/#editing-or-adding-order-items">Editing or Adding Order Items</a>.</li>
<li><strong>Set a status</strong> for the new order, e.g., If it needs to be paid, use “Pending payment.”</li>
<li><strong>Save</strong>.</li>
</ol>
<p>Use the <strong>Order Actions</strong> dropdown to Email order details to the customer with payment instructions.</p>
<div class="wp-block-image">
<figure class="aligncenter"><a href="https://help.codibu.com/wp-content/uploads/2020/11/resend_order.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-650552" src="https://help.codibu.com/wp-content/uploads/2020/11/resend_order.png" alt="" width="293" height="132" /></a></figure>
</div>
<h2 id="section-17">Paying for an Order</h2>
<p>Orders that are “Pending payment” can be paid for through the payment link.</p>
<p>As the shop manager, you can find this link on the order overview:</p>
<figure class="wp-block-image size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-17.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224275" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-17.png" alt="" width="748" height="295" /></a></figure>
<ul>
<li>If the customer is a Guest, anyone with the right link will be able to view the payment page and pay for the order.</li>
<li>If the customer is registered on your site,
<ul>
<li>Only this customer will be able to see the payment link once they are logged in.</li>
<li>The customer can also find the order in: <strong>My Account &gt; Orders</strong>.</li>
</ul>
</li>
</ul>
<figure class="wp-block-image size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-16.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224274" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-16.png" alt="" width="871" height="485" /></a></figure>
<p>If the customer is assigned to the order, they will be asked to log in before paying:</p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-18.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224276" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-18.png?w=950" alt="" width="1250" height="545" /></a></figure>
</div>
<ul>
<li>If you are the store owner and wish to pay on behalf of the customer, consider using <a href="https://wordpress.org/plugins/user-switching/" target="_blank" rel="noreferrer noopener">User Switching</a> (not endorsed by WooCommerce.com) to log in to the customer’s account and complete the payment as them.</li>
</ul>
<h2 id="section-18">Removing Personal Data</h2>
<p>Starting with WooCommerce 3.4+, it is possible to remove customer data.</p>
<ul>
<li>Go to: <strong>WooCommerce &gt; Settings &gt; Accounts &amp; Privacy</strong>.</li>
<li>Enable <strong>Allow personal data to be removed in bulk from orders</strong>.</li>
<li><strong>Save changes.</strong></li>
</ul>
<figure class="wp-block-image size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-19.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224277" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-19.png?w=950" alt="" width="1250" height="697" /></a></figure>
<p>This option is now available for orders:</p>
<ul>
<li>Go to: <strong>WooCommerce &gt; Orders</strong>.</li>
<li><strong>Select the orders</strong> that need personal data removed.</li>
<li>Select <strong>Bulk Actions &gt; Remove personal data</strong>.</li>
<li>Select <strong>Apply</strong>.</li>
</ul>
<figure class="wp-block-image size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-20.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224278" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-20.png?w=950" alt="" width="1090" height="387" /></a></figure>
<p>Please note, that once you press Apply this will remove personal data with no further warning. Orders will appear on the Orders screen like this:</p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-21.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224279" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-21.png?w=950" alt="" width="1048" height="65" /></a></figure>
</div>
<p>On an individual order, data is updated like this:</p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-22.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224280" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-22.png" alt="" width="748" height="560" /></a></figure>
</div>
<ul>
<li><strong>Failed</strong>, <strong>pending</strong>, and <strong>canceled</strong> orders which get cleaned up will be moved to the <em>trash</em>.</li>
<li><strong>Completed</strong> orders which get cleaned up will be <em>anonymized</em> so sales stats are unaffected (as above).</li>
<li><strong>Inactive accounts</strong> will be <em>deleted</em>. An inactive account is one which has not been logged in to, or which has not placed orders, for the specified time.</li>
</ul>
<p><strong>Personal data removal</strong> can be automatically associated with account erasure requests. WordPress allows deleting user details upon request via <strong>Tools &gt; Erase Personal Data</strong>. This removal can now also be associated with the orders of this user.</p>
<ul>
<li>Go to: <strong>WooCommerce &gt; Settings &gt; Accounts &amp; Privacy</strong>.</li>
<li>Under <strong>Account erasure requests</strong>:
<ul>
<li>Enable <strong>Remove personal data from orders on request</strong>, if you also want to remove order data when this is done</li>
<li>Enable <strong>Remove access to downloads on request</strong>, if the customer should no longer access the download links once their personal details have been removed.</li>
</ul>
</li>
</ul>
<figure class="wp-block-image size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-24.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224282" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-24.png?w=950" alt="" width="1090" height="157" /></a></figure>
<p><strong>Personal data retention</strong> can also be automated.</p>
<ul>
<li>Go to: <strong>WooCommerce &gt; Settings &gt; Accounts &amp; Privacy</strong></li>
<li>Under <strong>Personal data retention</strong>, set thresholds for inactive accounts and for orders with different statuses.</li>
<li><strong>Save changes.</strong></li>
</ul>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/order-management-23.png?w=950" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2224281" src="https://help.codibu.com/wp-content/uploads/2020/11/order-management-23.png?w=950" alt="" width="1090" height="498" /></a></figure>
</div>
<p>If enabled, this cleanup will run via a daily cron job. Inactive accounts are tracked using metadata, and only subscribers/customer accounts are removed.</p>
<h2 id="section-19">Multi-Site Orders</h2>
<p>Starting with <em>WooCommerce 3.4</em>+ there is now a widget that appears under Dashboard that shows order information from across all sites. You can click on an order to be taken to the details of the order on that site.</p>
<div class="wp-block-image">
<figure class="aligncenter"><a href="https://help.codibu.com/wp-content/uploads/2020/11/multisite.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-1026710" src="https://help.codibu.com/wp-content/uploads/2020/11/multisite.png" alt="" width="512" height="472" /></a></figure>
</div>
<h2 id="section-20">Troubleshooting</h2>
<h3 id="section-21">Understanding Order Statuses in Relation to Payment Gateways</h3>
<figure class="wp-block-table">
<table>
<tbody>
<tr>
<th>STATUS</th>
<th>DESCRIPTION</th>
<th>PAYMENT GATEWAY COMMENTS</th>
</tr>
<tr>
<th>ON HOLD</th>
<td>Awaiting payment – stock is reduced, but you need to confirm payment</td>
<td>Usually seen with payment methods when you need to manually confirm, such as BACS (bank transfer) or cheque.</p>
<p>You’ll also see this when the gateway is set to authorize instead of capture a charge: the shop owner will need to manually switch the status to processing.</td>
</tr>
<tr>
<th>PENDING</th>
<td>Order received (unpaid).</td>
<td>Most gateways will report back and set the order status to <em>Processing</em> (payment successful) or <em>Failed</em> (payment unsuccessful).  If the shop never receives either signal, it keeps the status on <em>Pending</em>.</p>
<p>This tends to be a misconfiguration of payment notification URLs or a plugin conflict.</td>
</tr>
<tr>
<th>PROCESSING</th>
<td>Payment received and stock has been reduced- the order is awaiting fulfillment. All product orders require processing, except those with only products that are both digital and downloadable.</td>
<td>If the payment has been successful and the order does not contain Digital or Downloadable products, the order will be set to <em>Processing</em>.</p>
<p>This is the shop owner or warehouse’s cue to ship the order and manually mark it as <em>completed</em>.</td>
</tr>
<tr>
<th>COMPLETED</th>
<td>Order fulfilled and complete – requires no further action</td>
<td>These generally aren’t interesting because everything has gone correctly.</td>
</tr>
<tr>
<th>FAILED</th>
<td>Payment failed or was declined (unpaid).</td>
<td>The order can be manually canceled, but this status can come up if the payment window has expired. It can happen for a few reasons:</p>
<ul>
<li>order was abandoned  before payment was completeThe <a href="https://help.codibu.com/blog/kb/configuring-woocommerce-settings#inventory-options">hold stock</a> window expired without a response</li>
<li>Same reasons as <em>Pending</em></li>
</ul>
</td>
</tr>
<tr>
<th>AUTHENTICATION REQUIRED</th>
<td>Customer must complete requirements for SCA.</td>
<td>It can occur when:</p>
<ul>
<li>a new customer makes a purchase</li>
<li>an existing subscription renews</li>
</ul>
</td>
</tr>
</tbody>
</table>
</figure><p>The post <a href="https://help.codibu.com/blog/managing-orders/">Managing Orders</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/managing-orders/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Email FAQ</title>
		<link>https://help.codibu.com/blog/email-faq/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=email-faq</link>
					<comments>https://help.codibu.com/blog/email-faq/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Fri, 06 Nov 2020 10:52:17 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/email-faq/</guid>

					<description><![CDATA[<p>WooCommerce, and most plugins sending email, send mail by using the wp_mail() function that is a core function of WordPress. In most cases, if email is not being sent/received,<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/email-faq/">Email FAQ</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>WooCommerce, and most plugins sending email, send mail by using the wp_mail() function that is a core function of WordPress.</p>
<p>In most cases, if email is not being sent/received, then the issue is not with WooCommerce itself, but with the core email function on your web host. Read on for solutions to common issues.</p>
<h2 id="section-1">I am getting orders, but no emails are sending!</h2>
<p>There are multiple factors that can be the cause. Before explaining the actual mail side of the issue, please ensure that it’s not one described below.</p>
<h3 id="section-2">Check if orders are pending</h3>
<p>If your new orders have the status<strong> Pending</strong>, no email would have been sent yet. Pending orders are orders where the customer selected Place Order but abandoned the payment page (depending on the payment gateway, i.e., PayPal) or had their credit card transaction declined.</p>
<p>If you have pending orders <strong>but receive payment for them via a payment gateway such as PayPal</strong>, the orders are not being updated, and this could indicate a problem with the payment gateway. In this case, you are not looking at a email issue; you are looking at an issue with your payment gateway and may need to submit a support ticket.</p>
<p>For PayPal Standard, we have this troubleshooting page.</p>
<p>Plugins can also return errors before status changes occur. To find out what may be causing this, you can either rule out conflicts by disabling plugins/themes other than WooCommerce itself, or you can use the WP debug log to view errors. If there are ‘fatal errors,’ this may be the problem.</p>
<h3 id="section-3">Check your Email Settings</h3>
<p>Orders that are properly updating to <strong>Processing</strong> should generate an email.</p>
<p>Another possible issue is mistakenly disabling emails from sending. Double-check that “Enable this email notification” is ticked for order notifications at <strong>WooCommerce &gt; Settings &gt; Emails</strong> and select the <strong>Processing Order</strong> email template. An additional test should be setting the Email Type to <strong>plain text</strong>.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/email-process-order.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1027486" src="https://help.codibu.com/wp-content/uploads/2020/11/email-process-order.png" sizes="(max-width: 980px) 100vw, 980px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/email-process-order.png 1802w, https://help.codibu.com/wp-content/uploads/2020/11/email-process-order.png?resize=550,311 550w, https://help.codibu.com/wp-content/uploads/2020/11/email-process-order.png?resize=768,434 768w, https://help.codibu.com/wp-content/uploads/2020/11/email-process-order.png?resize=950,537 950w, https://help.codibu.com/wp-content/uploads/2020/11/email-process-order.png?resize=1536,868 1536w" alt="" width="980" height="554" /></a></p>
<h3 id="section-4">Check if emails are sent, but not received</h3>
<p>If emails are enabled and orders are updating to Processing, there could be an issue in the email delivery to a recipient. This could be a spam blocker that classified your emails are spam and stopped them. Installing a mail logging plugin can help.</p>
<p>Install WP Mail Logging plugin. This will log all outgoing mails so you can see what is being sent. Once installed:</p>
<ul>
<li>Generate a test order</li>
<li>Go to your admin dashboard &gt; WP Mail Log</li>
<li>Check that your test order generated an email, and if there are any sending errors reported</li>
</ul>
<p>After a successful send, the screen should look something like this:</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/2017-07-15-at-11-38.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-505439" src="https://help.codibu.com/wp-content/uploads/2020/11/2017-07-15-at-11-38.png" sizes="(max-width: 980px) 100vw, 980px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/2017-07-15-at-11-38.png 2876w, https://help.codibu.com/wp-content/uploads/2020/11/2017-07-15-at-11-38.png?resize=550,108 550w, https://help.codibu.com/wp-content/uploads/2020/11/2017-07-15-at-11-38.png?resize=768,151 768w, https://help.codibu.com/wp-content/uploads/2020/11/2017-07-15-at-11-38.png?resize=950,187 950w, https://help.codibu.com/wp-content/uploads/2020/11/2017-07-15-at-11-38.png?resize=1536,302 1536w, https://help.codibu.com/wp-content/uploads/2020/11/2017-07-15-at-11-38.png?resize=2048,403 2048w" alt="" width="980" height="193" /></a></p>
<p><strong>If the email was sent, but not received,</strong> there are a few steps that can be taken:</p>
<ul>
<li>Make sure you’re using an email address attached to your own domain in the “From” Address field in <strong>WooCommerce &gt; Settings &gt;Emails</strong>. Using your @gmail.com, @yahoo.com or similar public domain email address will likely cause emails to land in spam folders due to mismatch between the declared sender (servers of Gmail or Yahoo) and the actual sender (your server).</li>
<li>Sign up for an account with a <strong>dedicated SMTP provider</strong> (an average site can usually stay within free usage) that will send the email for you. This should be more reliable than your own server’s mail-sending function.</li>
</ul>
<p><strong>If the email was not sent</strong>, this could indicate a plugin conflict blocking the send by, for example, erring before they are generated. To find out what is causing this, you can either rule out conflicts by disabling plugins/themes other than WooCommerce itself, or you can use the WP debug log to view errors. If there are ‘fatal errors,’ this may be the problem.</p>
<h2 id="section-5">What is a dedicated SMTP provider? Is that like my Gmail account?</h2>
<p>A dedicated SMTP provider is similar to a web host in that you have an account and use their servers. The difference is instead of hosting websites, you use their servers to send emails. Gmail is an email provider where you send and receive emails; a dedicated SMTP provider is similar to having half of Gmail, where you only send emails and not receive them.</p>
<h3 id="section-6">Can I use Gmail as my SMTP provider?</h3>
<p>Yes, but it is not ideal. Gmail will disable your account if you send emails to more than 500 unique recipients in an 24-hour period. This includes emails you send yourself and all emails your website is sending. More at: Google Support: Gmail Answers.</p>
<h2 id="section-7">Suggested Dedicated SMTP Providers</h2>
<p>There are dedicated SMTP providers that work for most websites. All have their own plugin on WordPress.org, can be installed from your WordPress dashboard, and have support available to help you get started.</p>
<ul>
<li>Mailjet (Plugin) – Send 6,000 emails free per month.</li>
<li>Sendinblue (Plugin) – Send 300 emails free per day.</li>
<li>SendWP (Plugin) – it costs $9/ month for an account.</li>
<li>Amazon SES (Plugin) – Send 62,000 emails free per month if your website is hosted on AWS or pricing starts at $0.10 for every 1,000 emails.</li>
</ul>
<h2 id="section-8">How does email work?</h2>
<p>Comparing a path an email takes to reach its destination vs. driving a car on a road trip, emails do not travel directly from point A to point B. The final destination is more like point W, and the email is bouncing from one server to another at the speed of light while being filtered at each step.</p>
<p>Google has compiled this representation of the path an email follows. This story is specific to Gmail and delivering to a mobile device but helps explain how email works. More at: Story of Send.</p>
<h3 id="section-9">How does email work with WordPress?</h3>
<p>WooCommerce, and most plugins sending email, send mail by using the wp_mail() function that is a core function of WordPress.</p>
<h3 id="section-10">Does that mean WordPress sends my email? Is WooCommerce sending the email?</h3>
<p>Neither are sending the email. What happens is WooCommerce calls the wp_mail() function, which then requests WordPress to send the email. Because WordPress is not an email server, it typically asks PHP to send the email for it. PHP then checks for a local email server within the web server and tells that email server to send the email. Your email takes three steps before reaching your web server.</p>
<h3 id="section-11">If email is passed to my web server to be sent, how does a dedicated SMTP provider fit in?</h3>
<p>By using a plugin the SMTP provider has available or the Post SMTP plugin, the wp_mail() function reroutes the email from PHP to your SMTP provider. From there, the SMTP provider receives the request and adds your email to a queue to be sent.</p>
<h2 id="section-12">If emails are being blocked by spam filters, why is it not in my spam folder?</h2>
<p>The spam filter is the last and final spam filter your email is filtered through, at which point it is going to spam based on your email client settings or how you mark other emails as spam. If your emails are denied by another spam filter before that, it simply is not delivered.</p>
<h2 id="section-13">My contact form emails work, so why do WooCommerce emails get blocked?</h2>
<p>Without deep investigation into server logs and tracking exact email paths, this is not a simple question to answer.</p>
<ul>
<li>The short version is there is a lot more to spam filters than scanning for typical spam. Spam filters check the IP address of origin, the sending user and domain, the amount of email that IP/sender has sent, how many times emails from that sender have been marked as spam, and the wording of emails.</li>
<li>The most common factor is where the email originates, which brings your overall score with spam filters down low enough that even minor differences in wording and formatting of WooCommerce emails may be flagged as spam and not sent.</li>
</ul>
<h2 id="section-14">Can I send purchased downloadable files as attachments in the Order Completed and Invoice emails?</h2>
<p>Yes! Add this snippet to the end of your theme’s <code>functions.php</code> file:</p>
<div class="woo-sc-box note   "><b>Note:</b> We are unable to provide support for customizations under our <a href="https://help.codibu.com/blog/kb/support-policy/"><span class="s2">Support Policy</span></a>. If you are unfamiliar with code/templates and resolving potential conflicts, select a <span class="s2">WooExpert or Developer</span>  for assistance.</div>
<div id="gist25315988" class="gist">
<div class="gist-file">
<div class="gist-data">
<div class="js-gist-file-update-container js-task-list-container file-box">
<div id="file-woocommerce_emails_attach_downloadables-php" class="file my-2">
<div class="Box-body p-0 blob-wrapper data type-php  ">
<table class="highlight tab-size js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L1" class="blob-num js-line-number" data-line-number="1"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC1" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">&lt;?php</span></td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L2" class="blob-num js-line-number" data-line-number="2"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC2" class="blob-code blob-code-inner js-file-line"><span class="pl-c">// Add Downloadable Products to Woocommerce Completed Order &amp; Invoice Emails as Attachments</span></td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L3" class="blob-num js-line-number" data-line-number="3"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC3" class="blob-code blob-code-inner js-file-line"><span class="pl-k">function</span> <span class="pl-en">woocommerce_emails_attach_downloadables</span>(<span class="pl-s1"><span class="pl-c1">$</span>attachments</span>, <span class="pl-s1"><span class="pl-c1">$</span>status</span>, <span class="pl-s1"><span class="pl-c1">$</span>order</span>) {</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L4" class="blob-num js-line-number" data-line-number="4"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC4" class="blob-code blob-code-inner js-file-line"> </td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L5" class="blob-num js-line-number" data-line-number="5"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC5" class="blob-code blob-code-inner js-file-line"><span class="pl-k">if</span> ( ! <span class="pl-en">is_object</span>( <span class="pl-s1"><span class="pl-c1">$</span>order</span> ) || ! <span class="pl-en">isset</span>( <span class="pl-s1"><span class="pl-c1">$</span>status</span> ) ) {</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L6" class="blob-num js-line-number" data-line-number="6"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC6" class="blob-code blob-code-inner js-file-line"><span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>attachments</span>;</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L7" class="blob-num js-line-number" data-line-number="7"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC7" class="blob-code blob-code-inner js-file-line">}</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L8" class="blob-num js-line-number" data-line-number="8"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC8" class="blob-code blob-code-inner js-file-line"> </td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L9" class="blob-num js-line-number" data-line-number="9"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC9" class="blob-code blob-code-inner js-file-line"><span class="pl-k">if</span> ( <span class="pl-en">empty</span>( <span class="pl-s1"><span class="pl-c1">$</span>order</span> ) ) {</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L10" class="blob-num js-line-number" data-line-number="10"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC10" class="blob-code blob-code-inner js-file-line"><span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>attachments</span>;</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L11" class="blob-num js-line-number" data-line-number="11"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC11" class="blob-code blob-code-inner js-file-line">}</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L12" class="blob-num js-line-number" data-line-number="12"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC12" class="blob-code blob-code-inner js-file-line"> </td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L13" class="blob-num js-line-number" data-line-number="13"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC13" class="blob-code blob-code-inner js-file-line"><span class="pl-k">if</span> ( ! <span class="pl-s1"><span class="pl-c1">$</span>order</span>-&gt;<span class="pl-en">has_downloadable_item</span>() ) {</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L14" class="blob-num js-line-number" data-line-number="14"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC14" class="blob-code blob-code-inner js-file-line"><span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>attachments</span>;</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L15" class="blob-num js-line-number" data-line-number="15"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC15" class="blob-code blob-code-inner js-file-line">}</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L16" class="blob-num js-line-number" data-line-number="16"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC16" class="blob-code blob-code-inner js-file-line"> </td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L17" class="blob-num js-line-number" data-line-number="17"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC17" class="blob-code blob-code-inner js-file-line"><span class="pl-s1"><span class="pl-c1">$</span>allowed_statuses</span> = <span class="pl-en">array</span>( <span class="pl-s">&#8216;customer_invoice&#8217;</span>, <span class="pl-s">&#8216;customer_completed_order&#8217;</span> );</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L18" class="blob-num js-line-number" data-line-number="18"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC18" class="blob-code blob-code-inner js-file-line"> </td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L19" class="blob-num js-line-number" data-line-number="19"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC19" class="blob-code blob-code-inner js-file-line"><span class="pl-k">if</span> ( <span class="pl-en">isset</span>( <span class="pl-s1"><span class="pl-c1">$</span>status</span> ) &amp;&amp; <span class="pl-en">in_array</span>( <span class="pl-s1"><span class="pl-c1">$</span>status</span>, <span class="pl-s1"><span class="pl-c1">$</span>allowed_statuses</span> ) ) {</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L20" class="blob-num js-line-number" data-line-number="20"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC20" class="blob-code blob-code-inner js-file-line"><span class="pl-k">foreach</span> ( <span class="pl-s1"><span class="pl-c1">$</span>order</span>-&gt;<span class="pl-en">get_items</span>() <span class="pl-k">as</span> <span class="pl-s1"><span class="pl-c1">$</span>item_id</span> =&gt; <span class="pl-s1"><span class="pl-c1">$</span>item</span> ) {</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L21" class="blob-num js-line-number" data-line-number="21"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC21" class="blob-code blob-code-inner js-file-line"><span class="pl-k">foreach</span> ( <span class="pl-s1"><span class="pl-c1">$</span>order</span>-&gt;<span class="pl-en">get_item_downloads</span>( <span class="pl-s1"><span class="pl-c1">$</span>item</span> ) <span class="pl-k">as</span> <span class="pl-s1"><span class="pl-c1">$</span>download</span> ) {</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L22" class="blob-num js-line-number" data-line-number="22"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC22" class="blob-code blob-code-inner js-file-line"><span class="pl-s1"><span class="pl-c1">$</span>attachments</span>[] = <span class="pl-en">str_replace</span>( <span class="pl-en">content_url</span>(), <span class="pl-c1">WP_CONTENT_DIR</span>, <span class="pl-s1"><span class="pl-c1">$</span>download</span>[<span class="pl-s">&#8216;file&#8217;</span>] );</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L23" class="blob-num js-line-number" data-line-number="23"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC23" class="blob-code blob-code-inner js-file-line">}</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L24" class="blob-num js-line-number" data-line-number="24"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC24" class="blob-code blob-code-inner js-file-line">}</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L25" class="blob-num js-line-number" data-line-number="25"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC25" class="blob-code blob-code-inner js-file-line">}</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L26" class="blob-num js-line-number" data-line-number="26"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC26" class="blob-code blob-code-inner js-file-line"> </td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L27" class="blob-num js-line-number" data-line-number="27"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC27" class="blob-code blob-code-inner js-file-line"><span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>attachments</span>;</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L28" class="blob-num js-line-number" data-line-number="28"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC28" class="blob-code blob-code-inner js-file-line">}</td>
</tr>
<tr>
<td id="file-woocommerce_emails_attach_downloadables-php-L29" class="blob-num js-line-number" data-line-number="29"> </td>
<td id="file-woocommerce_emails_attach_downloadables-php-LC29" class="blob-code blob-code-inner js-file-line"><span class="pl-en">add_filter</span>( <span class="pl-s">&#8216;woocommerce_email_attachments&#8217;</span>, <span class="pl-s">&#8216;woocommerce_emails_attach_downloadables&#8217;</span>, <span class="pl-c1">10</span>, <span class="pl-c1">3</span>);</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<p>&nbsp;</p>
</div>
</div>
<h2 id="section-15">Resources</h2>
<h3 id="section-16">SenderScore by ReturnPath</h3>
<p>Check and monitor the reputation of your websites IP address for sending emails, if you have your own dedicated server for sending emails. You can also use this for shared and virtual hosting environments, but it is better to get a dedicated SMTP provider instead because those environments are not recommended for sending emails. Visit Senderscore.org to learn more.</p><p>The post <a href="https://help.codibu.com/blog/email-faq/">Email FAQ</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/email-faq/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WooCommerce Refunds</title>
		<link>https://help.codibu.com/blog/woocommerce-refunds/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=woocommerce-refunds</link>
					<comments>https://help.codibu.com/blog/woocommerce-refunds/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Fri, 06 Nov 2020 10:51:43 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/woocommerce-refunds/</guid>

					<description><![CDATA[<p>Summary In WooCommerce itself you can process refunds in two ways: Automatic: Refunds change the WooCommerce order status and also reverse the charge so your customer<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/woocommerce-refunds/">WooCommerce Refunds</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<h2 id="section-1">Summary</h2>
<p>In WooCommerce itself you can process refunds in two ways:</p>
<ul>
<li><strong>Automatic</strong>: Refunds change the WooCommerce order status and also reverse the charge so your customer gets their money (<a href="https://help.codibu.com/blog/kb/woocommerce-refunds/#section-2">jump to section</a>).</li>
<li><strong>Manual</strong>: Refunds change the WooCommerce order status, but you need to return the money manually to your customer (<a href="https://help.codibu.com/blog/kb/woocommerce-refunds/#section-4">jump to section</a>).</li>
</ul>
<h2 id="section-2">Automatic Refunds</h2>
<p>These are called Automatic refunds as when you process refunds that are connected to your payment gateway. Once you’ve processed this type of refund in your WooCommerce Admin, no further actions are necessary.</p>
<ol>
<li><strong>Check</strong>: Review the documentation or support of your payment gateway on whether automatic refunds are available. Most automatic payments fully support this.</li>
<li><strong>Scope</strong>: Refunds normally extend to products, taxes, and shipping fees. However, transaction fees charged by the payment gateway will likely be lost and not refunded.</li>
<li><strong>Setup</strong>: Make sure that your API settings are set and test your payment gateway and refunds while in sandbox or test mode:<br />
<a href="https://help.codibu.com/wp-content/uploads/2020/11/refunds-1.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2223662" src="https://help.codibu.com/wp-content/uploads/2020/11/refunds-1.png" sizes="(max-width: 1250px) 100vw, 1250px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/refunds-1.png 1250w, https://help.codibu.com/wp-content/uploads/2020/11/refunds-1.png?resize=550,334 550w, https://help.codibu.com/wp-content/uploads/2020/11/refunds-1.png?resize=768,466 768w, https://help.codibu.com/wp-content/uploads/2020/11/refunds-1.png?resize=950,577 950w" alt="" width="1250" height="759" /></a></li>
<li><strong>WooCommerce</strong>: Refunds can be processed through the Orders:
<ol>
<li>Go to: <strong>WooCommerce &gt; Orders</strong>.</li>
<li>Select the order to refund.</li>
<li>Go to the order summary, and select “Refund” to start.</li>
<li>Specify the <strong>quantity of the product(s)</strong> to be refunded in the text box(es) that appear for each line item. The refund amount will automatically adjust based on the products refunded. If inventory levels are not managed, you can also enter the Refund amount, without adjusting the product quantity.</li>
<li>If the quantities of items are not set when issuing a refund then the order is not marked as refunded and the email that is sent will say “partial refund.”</li>
<li><strong>Add refund notes</strong>, if desired.</li>
<li><strong>Select </strong>“Refund $XX.XX via [your gateway]”.<br />
<a href="https://help.codibu.com/wp-content/uploads/2020/11/refunds-2.gif" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2223663" src="https://help.codibu.com/wp-content/uploads/2020/11/refunds-2.gif" alt="" width="1256" height="594" /></a></li>
</ol>
</li>
</ol>
<h3 id="section-3">How Do I Know It Worked?</h3>
<p>Order Notes in the right sidebar will log refunds. Keep an eye on the order notes to learn if it’s been logged or if there’s an error message. A successful “Refunded” message in order notes concludes the refund.</p>
<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://help.codibu.com/wp-content/uploads/2020/11/refunds-3.png"><img loading="lazy" decoding="async" class="wp-image-2223664" src="https://help.codibu.com/wp-content/uploads/2020/11/refunds-3.png" sizes="(max-width: 1090px) 100vw, 1090px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/refunds-3.png 1090w, https://help.codibu.com/wp-content/uploads/2020/11/refunds-3.png?resize=418,550 418w, https://help.codibu.com/wp-content/uploads/2020/11/refunds-3.png?resize=768,1010 768w, https://help.codibu.com/wp-content/uploads/2020/11/refunds-3.png?resize=722,950 722w" alt="" width="1090" height="1434" /></a></figure>
</div>
<h2 id="section-4">Manual Refunds</h2>
<ol>
<li><strong>Check</strong>: Consult the documentation or support of your payment gateway on whether manual refunds are available. You will either need to:
<ul>
<li>Log in to your payment method account and process the refund there.</li>
<li>Transfer the money from your bank account manually.</li>
</ul>
</li>
<li><strong>Scope</strong>: Refunds normally extend to products, taxes, and shipping fees. However, transaction fees charged by the payment gateway will likely be lost and not refunded.</li>
<li><strong>WooCommerce</strong>: Refunds can be processed through your Orders page. To manually refund an order:
<ol>
<li>Go to: <strong>WooCommerce &gt; Orders.</strong></li>
<li>Select the order to refund.</li>
<li>Go to the order summary, and select “Refund” to start.</li>
<li>Specify the <strong>quantity of the product(s)</strong> to be refunded in the text box(es) that appear for each line item. The refund amount will automatically adjust based on the products refunded. If inventory levels are not managed, you can also enter the Refund amount, without adjusting the product quantity.</li>
<li>If the quantities of items are not set when issuing a refund then the order is not marked as refunded and the email that is sent will say “partial refund.”</li>
<li><strong>Add refund notes</strong>, if desired.</li>
<li><strong>Select </strong>“Refund $XX.XX manually”.<br />
<a href="https://help.codibu.com/wp-content/uploads/2020/11/refunds-4.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2223701" src="https://help.codibu.com/wp-content/uploads/2020/11/refunds-4.png" sizes="(max-width: 750px) 100vw, 750px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/refunds-4.png 750w, https://help.codibu.com/wp-content/uploads/2020/11/refunds-4.png?resize=550,351 550w" alt="" width="750" height="478" /></a></li>
</ol>
</li>
</ol>
<p>Items selected for a refund will be noted as refunded. Once the refund has been applied to the order, it will look like this:</p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/refunds-5.png"><img loading="lazy" decoding="async" class="wp-image-2223702" src="https://help.codibu.com/wp-content/uploads/2020/11/refunds-5.png" sizes="(max-width: 750px) 100vw, 750px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/refunds-5.png 750w, https://help.codibu.com/wp-content/uploads/2020/11/refunds-5.png?resize=550,447 550w" alt="" width="750" height="609" /></a></figure>
</div>
<div class="woo-sc-box note   "><strong>Note:</strong> This <strong>does not</strong> refund the customer via the payment gateway. Continue on to your payment gateway’s dashboard to start the refund process there, or transfer the money manually back to them.</div>
<h2 id="section-5">Restocking Products Based on Refunds</h2>
<p>When processing a refund, you have the option to restock products by ticking the “Restock refunded items” box:</p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://help.codibu.com/wp-content/uploads/2020/11/refunds-6.png" rel="prettyPhoto"><img loading="lazy" decoding="async" class="wp-image-2223703" src="https://help.codibu.com/wp-content/uploads/2020/11/refunds-6.png" sizes="(max-width: 748px) 100vw, 748px" srcset="https://help.codibu.com/wp-content/uploads/2020/11/refunds-6.png 748w, https://help.codibu.com/wp-content/uploads/2020/11/refunds-6.png?resize=550,183 550w" alt="" width="748" height="249" /></a></figure>
</div>
<h2 id="faq">FAQs</h2>
<h3 id="section-7">How do I find out if my payment gateway is refund-compatible?</h3>
<ul>
<li>Check the documentation of the payment gateway.</li>
<li>Buy the plugin and give it a try. We have a 30-day Money Back Guarantee and can refund you with no hassle.</li>
<li>Check with the payment gateway provider.</li>
<li>Ask us.</li>
</ul>
<h3 id="refund-policy-howto">How do I inform my customers about the refund policy?</h3>
<p>The best starting point is to create a page describing your policy and how a customer can request a refund (you can use <a href="https://help.codibu.com/blog/kb/refund-policy/">our policy</a> for inspiration).</p>
<p>The next step is to share it with customers. There are different options you might want to consider:</p>
<ul>
<li>Option 1: adding the policy link into a menu in your store</li>
<li>Option 2: adding the policy link into orders confirmation emails (the emails can be customized)</li>
</ul>
<h3 id="section-9">I am a developer. How do I find out if my payment gateway is refund-compatible?</h3>
<p>Go to How to check if your payment gateway supports refunds and look up class constructor class properties.</p><p>The post <a href="https://help.codibu.com/blog/woocommerce-refunds/">WooCommerce Refunds</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/woocommerce-refunds/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
