Paying for orders

Taking payment for an order is an important step for every store. It’s where multiple pieces come together to provide customers with a smooth experience that is also secure and privacy-friendly.

In the core WooCommerce plugin, orders can only be paid for using one payment method at a time.

  • Payment can be made upon order creation in the cart and checkout process. This is the standard flow, and will likely cover most orders.
  • With some payment gateways, payment can be made in person via a supported card reader or using Tap to Pay functionality in the Woo Mobile app. 
  • In addition, orders with Draft or Pending payment status can be paid for via other order payment flows:
    • The Pay for this order link, included in the order invoice email.
    • The Pay button in the customer’s account area in the Orders tab.
    • The Customer payment page link found on the order detail page in the admin area. You can manually copy and share this link with the customer.

Below, we’ll explore the different ways Pending payment and Draft status orders can be paid in more detail. We’ll also cover customer verification methods to protect customer privacy.

↑ Back to top

From the Edit order screen, select Order actions > Send order details to customer from the dropdown menu to email order details containing payment instructions to the customer.

The send order details to customer option from the Order actions dropdown.

There will be a Pay for this order link included in the invoice email your customer receives. They can follow the link to enter the order payment flow.

Pay action button in the Orders tab of the account area

↑ Back to top

If the customer is a registered user of your site, any unpaid orders assigned to them will display a Pay option in the Orders tab of their My account area.

If you are testing customer payment flows and wish to simulate paying as a customer, consider using a third-party plugin like User Switching (not made or endorsed by WooCommerce) to log in to the test customer’s account and complete the payment on their behalf.

↑ Back to top

On an individual order page in the WooCommerce dashboard in your WP Admin area, you’ll see a link titled Customer payment page. You can share this link with the customer for them to follow and complete payment. Sending an order note to your customer is a great way to share these payment links if you want to include a custom message along with it.

The payment link may be specific to a customer; see Customer verification for details.

Customer verification

↑ Back to top

WooCommerce has measures in place to ensure your shoppers’ orders are private. However, this behavior depends on whether an order belongs to a guest or a registered customer with an account on your site.

Note:

This payment-page check does not link guest orders to a customer account. For the WooCommerce 11.0 account-confirmation flow, see Customer email confirmation and guest order linking.

It works as follows:

  • If the order is assigned to a registered customer who follows a payment link while logged out, they will be prompted to log in to their account to continue to the payment form.
  • If the order is assigned to a guest customer (one without a registered account), anyone who follows a payment link more than 10 minutes after the order was created will be prompted to verify the email address used for the order to continue to the payment form.
    • If no email address is associated with a guest order, anyone with the payment link will be able to pay for the order.

Note for developers:

The length of this “grace period” where orders can be accessed without verification is 10 minutes by default. This time period can be altered using thewoocommerce_order_email_verification_grace_period filter — see the WooCommerce code reference on GitHub.

Disabling order email verification: developer-level instructions

↑ Back to top

Order email verification is in place as a privacy feature ​​to prevent malicious actors from viewing order details of guest orders. However, we acknowledge that custom use cases exist which may work best without this feature activated.

To deactivate guest order email verification, use the woocommerce_order_email_verification_required filter as demonstrated in the code snippet below:

add_filter( 'woocommerce_order_email_verification_required', '__return_false' );

Note:

If you are not comfortable using code snippets to modify your site, we recommend working with qualified developers such as Codeable, or a Woo Agency Partner.

Questions and support

↑ Back to top

Do you still have questions and need assistance? 

This documentation is about the free, core WooCommerce plugin, for which support is provided in our community forums on WordPress.org. By searching this forum, you’ll often find that your question has been asked and answered before.

If you haven’t created a WordPress.org account to use the forums, here’s how.

  • If you’re looking to extend the core functionality shown here, we recommend reviewing available extensions in the WooCommerce Marketplace.
  • Need ongoing advanced support or a customization built for WooCommerce? Hire a Woo Agency Partner.
  • Are you a developer building your own WooCommerce integration or extension? Check our Developer Resources.

If you weren’t able to find the information you need, please use the feedback thumbs below to let us know.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.