# WooCommerce Integration Addon

> Sell MEC tickets through the WooCommerce cart and checkout, sync order and booking statuses, and handle offline payments.

Source: https://webnus.net/dox/modern-events-calendar/woocommerce-integration-addon/
Last updated: 2026-11-16

The Modern Events Calendar (MEC) WooCommerce Integration Addon is a professional solution for streamlining the event purchase process. It allows attendees to treat event tickets as virtual products, enabling them to add multiple tickets for various events to a single WooCommerce cart and checkout alongside other products on your website.

<div class="wd-addon-info" data-addon="mec-woocommerce"></div>

## Initial Setup {#Initial\_Setup}

Before you begin, ensure you have the following requirements:

<aside class="wd-read-also"><span>Read Also:</span> <a href="/dox/modern-events-calendar/installation/">How to install MEC and Addons?</a></aside>

-   **MEC Pro**: This addon utilizes the booking feature exclusive to the Pro version and is unavailable in MEC Lite.
-   **Installation**: Ensure both MEC and the WooCommerce Integration Addon are installed and activated.

<aside class="wd-read-also"><span>Read Also:</span> <a href="/dox/modern-events-calendar/add-a-booking-system/">How to add a booking system?</a></aside>

[Image: MEC Booking settings with the Enable booking module option highlighted]

**Payment Gateway Activation**: Go to **MEC Settings > Booking > Payment Gateways** and activate the **Add to WooCommerce Cart** payment method.

[Image: MEC WooCommerce Integration Add to WooCommerce Cart option]

## Configuration Settings {#Configuration\_Settings}

Once activated, find the customization options under **MEC Settings > Booking > Payment Gateways > Add to WooCommerce Cart**.

[Image: MEC WooCommerce Integration settings for payment versus booking status, offline payments and cart tax handling]

-   **Title**: Change the “Add to Cart” button text to your preferred phrase.
-   **Comment**: Add a description for the gateway (HTML is allowed).
-   **After Add to Cart**: Choose the automated action when the button is clicked:
    -   **Redirect to Cart**: Directs users immediately to the WooCommerce Cart page.
    -   **Redirect to Checkout**: Sends users straight to the Checkout page.
    -   **Optional View Cart Button**: Displays a message with a “View Cart” button.
    -   **Optional Checkout Button**: Displays a message with a “View Checkout” button.
-   **Position**: Set the display order of this gateway in the booking section compared to other payment methods (default: 6).
-   **Ticket Product Type in WC**: Under the **Woocommerce** tab (**Woocommerce Integration Options**) of MEC Settings, choose whether tickets are created as **Physical** or **Virtual** WooCommerce products (default: **Virtual**).

### Payment and Booking Status {#Payment\_and\_Booking\_Status}

WooCommerce payment status and MEC booking confirmation status represent two different aspects of the order:

-   **Payment:** Indicates whether WooCommerce has received the payment, such as **Paid** or **Awaiting payment**.
-   **Booking:** Indicates whether the MEC reservation is confirmed, such as **Confirmed** or **Pending**.

A WooCommerce order can therefore create an MEC booking before payment is completed. For example, an order placed using a manual payment method may be placed **On hold**, while the corresponding MEC booking is created and remains **Pending** until payment is received.

This separation allows the booking record and payment state to be handled independently.

## Syncing Booking Statuses {#Syncing\_Booking\_Statuses}

The **Sync The Booking Confirmation Status With The Corresponding Woo Order** feature automatically updates MEC booking statuses according to WooCommerce order changes.

[Image: MEC WooCommerce Integration sync of booking confirmation status with WooCommerce order statuses]

Map your WooCommerce statuses to the three MEC categories using the **Pending Statuses**, **Confirmed Statuses** and **Rejected Statuses** fields. By default, **Pending Statuses** contains `pending`, `failed`, `on-hold` and `processing`; **Confirmed Statuses** contains `completed`; and **Rejected Statuses** contains `cancelled` and `refunded`.

Recommended status mapping (if you want paid `processing` orders to confirm the booking, move `processing` to **Confirmed Statuses**):

-   **Pending Statuses:** `pending`, `on-hold`
-   **Confirmed Statuses:** `processing`, `completed`
-   **Rejected Statuses:** `cancelled`, `refunded`

With this configuration:

-   **Pending / On hold:** The MEC booking is created while payment is still awaiting completion, and the booking remains **Pending**.
-   **Processing:** The MEC booking is created or updated and becomes **Confirmed**. The payment is treated as **Paid**.
-   **Completed:** The MEC booking remains **Confirmed**, and the payment remains **Paid**.
-   **Cancelled / Refunded:** The MEC booking is moved to the corresponding rejected state.

**Pro Tip:** Enabling this feature will override any auto-confirmation settings previously established in the general MEC Booking settings.

### Offline and Invoice Payments {#Offline\_and\_Invoice\_Payments}

[Image: MEC WooCommerce Integration note explaining payment status versus booking status]

The integration supports offline payment workflows where WooCommerce creates an order before the payment has been received.

Supported offline methods include:

-   Direct Bank Transfer (BACS)
-   Cheque
-   Cash on Delivery (COD)
-   Invoice / Rechnung
-   Other configured offline payment methods

For invoice-based or custom gateways, the integration can recognize a payment method when its gateway ID or title contains **Invoice**, **Rechnung** or **Purchase Order** (only enabled WooCommerce gateways are checked).

If a custom offline payment method is not detected automatically, its gateway ID can be added manually under **Extra offline payment method IDs**.

### Confirm Offline Bookings Before Payment {#Confirm\_Offline\_Bookings\_Before\_Payment}

[Image: MEC WooCommerce Integration option to confirm offline bookings before payment is received]

The **Confirm offline bookings before payment is received (BACS / Cheque / COD / Invoice)** option (off by default) controls whether an offline booking should be confirmed before payment is received.

When this option is **disabled**:

-   An eligible WooCommerce order can create the MEC booking while the order is **On hold**.
-   The MEC booking remains **Pending**.
-   The payment remains **Awaiting payment** until WooCommerce records the payment.
-   When the order reaches **Processing** or **Completed**, the booking becomes **Confirmed** according to the synchronization settings.

When this option is **enabled**:

-   An eligible offline or invoice order can create the MEC booking while the order is **On hold**.
-   The booking is **Confirmed before payment is received**.

For most invoice and bank-transfer workflows, keeping this option disabled prevents an unpaid ticket from being treated as a confirmed reservation.

### Extra Offline Payment Method IDs {#Extra\_Offline\_Payment\_Method\_IDs}

If a custom payment gateway is not automatically recognized as an offline or invoice payment method, enter its gateway ID in **Extra offline payment method IDs**.

Multiple gateway IDs can be entered as a comma-separated list.

For example:

```
my_invoice_gateway
```

## Taxes and Fees Management {#Taxes\_and\_Fees\_Management}

[Image: MEC WooCommerce Integration cart tax handling options for MEC taxes or WooCommerce taxes]

You can choose how to handle financial details between the two systems:

You can choose how taxes and fees are handled between MEC and WooCommerce. Under **Cart Tax Handling**, select one of two options; MEC fees and WooCommerce tax cannot be applied at the same time. **Add WooCommerce Taxes for Tickets** is the default.

**Add MEC Taxes/Fees to Cart**: Adds the taxes and fees configured in **MEC Settings > Booking > Taxes / Fees** to the WooCommerce cart as separate line items. If Taxes / Fees are not enabled in MEC, WooCommerce tax handling is used instead.

[Image: MEC checkout with tax, fees and total before selecting a payment method]

[Image: MEC booking payment and billing details with WooCommerce gateway and taxes highlighted]

In the **Tax/Fee** settings, you can use **Tax Method** to determine whether the ticket price is treated as **Tax Included** or **Tax Excluded**. The ticket price is then calculated according to the selected method when it is added to the WooCommerce cart.

[Image: MEC WooCommerce Integration tax method dropdown set to Tax Excluded]

**Tax Included:** The configured ticket price already includes the applicable tax.

**Tax Excluded:** The applicable tax is calculated separately and added to the configured ticket price.

**Add WooCommerce Taxes for Tickets**: Lets WooCommerce calculate its standard product tax on tickets. If ticket prices already include VAT (MEC Tax Inclusion set to Included) but the WooCommerce “Prices entered with tax” setting is No, the addon stores the net amount so WooCommerce does not add VAT again on top of the gross price.

[Image: WooCommerce standard tax rates table with country, rate and tax name]

[Image: WooCommerce order summary for an MEC event ticket with WooTax and total]

[Image: MEC booking details showing payment via WooCommerce add to cart, attendee and billing totals]

## Advanced Features & Management {#Advanced\_Features\_Management}

Also, users can use WooCommerce coupons on the cart page.

-   **Categories**: Assign specific WooCommerce product categories to your tickets by navigating to the **Tickets** tab in your event settings and using the **Select Ticket Product Categories** field.

[Image: MEC event ticket settings with an arrow pointing to the WooCommerce product categories field]

[Image: WooCommerce cart with an MEC event ticket, applied coupon and cart totals]

-   **Coupons**: Attendees can use standard WooCommerce coupons on the cart page to receive discounts on their tickets.
-   **Emails**: MEC and WooCommerce send emails separately. MEC booking notifications follow your **Booking and Notifications** configurations, while WooCommerce handles order-specific status emails.

### Legacy Orders and Booking Backfill {#Legacy\_Orders\_and\_Booking\_Backfill}

The integration also handles eligible older WooCommerce orders that do not have a corresponding MEC booking.

While a user who can edit shop orders is browsing the WordPress admin, the addon scans for eligible orders at most once per hour (up to 50 orders per pass) and creates the missing MEC booking. This helps recover bookings for **On hold**, **Processing**, or **Completed** orders (older than one hour) that were created by the MEC core WooCommerce module, or ticket orders of this addon that never received a booking.

## Use Cases (When This Addon is Useful) {#Use\_Cases\_When\_This\_Addon\_is\_Useful}

-   **Unified Shopping Experience**: Perfect for sites selling merchandise (like t-shirts or books) alongside event tickets in one transaction.
-   **Standardized Payment Management**: Ideal for businesses that want to use a familiar WooCommerce checkout flow and existing payment gateways.
-   **Complex Tax Compliance**: Useful for international sellers needing to apply specific tax rules supported by the WooCommerce tax engine.

## Situations This Addon May Not Be Ideal {#Situations\_This\_Addon\_May\_Not\_Be\_Ideal}

-   **MEC Lite Users**: This addon requires MEC Pro to function.
-   **Pre-filled Forms**: It cannot currently use WooCommerce customer data to pre-fill participant registration fields.
-   **Dynamic Cart Edits**: Users cannot change the *quantity* of tickets on the WooCommerce Cart page; they must delete the item and restart the selection.
-   **Protected Content**: It does not inherently hide page elements (like videos) based on whether a user has purchased a ticket.

## Troubleshooting for Beginners {#Troubleshooting\_for\_Beginners}

-   **“Add to Cart” Option Missing**: Ensure the gateway is enabled under **MEC Settings > Booking > Payment Gateways**.
-   **“Sorry, this ticket just sold out or is reserved by other customers. Please try again shortly.”**: Seats in a customer’s cart are held for 30 minutes (60 minutes once checkout has started), so other customers cannot book them. Try again after the hold expires, or when seats are released.
-   **500 Errors at Checkout**: This is typically a server-side error; check your server logs or follow standard WordPress troubleshooting for internal server errors.

## FAQ {#FAQ}

### I use the WooCommerce Integration Addon but don’t see the Add to Cart option. What’s the issue here? {#I\_use\_the\_WooCommerce\_Integration\_Addon\_but\_dont\_see\_the\_Add\_to\_Cart\_option\_Whats\_the\_issue\_here}

Go to **MEC Settings > Booking > Payment Gateways** and make sure **Add to WooCommerce Cart** is enabled.

### I want to translate the WooCommerce Integration Addon. How can I do that? {#I\_want\_to\_translate\_the\_WooCommerce\_Integration\_Addon\_How\_can\_I\_do\_that}

Please refer to the MEC translation documentation for information about translating MEC and its addons.

### Does the WooCommerce Integration Addon work with MEC Lite? {#Does\_the\_WooCommerce\_Integration\_Addon\_work\_with\_MEC\_Lite}

No. The WooCommerce Integration Addon requires MEC Pro because it uses the booking functionality available in the Pro version.

### How can I synchronize the WooCommerce order status with the MEC booking status? {#How\_can\_I\_synchronize\_the\_WooCommerce\_order\_status\_with\_the\_MEC\_booking\_status}

Go to **MEC Settings > Booking > Payment Gateways**, enable **Sync The Booking Confirmation Status With The Corresponding Woo Order**, and configure the WooCommerce statuses under the Pending, Confirmed, and Rejected status settings.

### Can an MEC booking be created before the WooCommerce payment is completed? {#Can\_an\_MEC\_booking\_be\_created\_before\_the\_WooCommerce\_payment\_is\_completed}

Yes. For supported offline and invoice payment methods, the MEC booking can be created while the WooCommerce order is **on hold**. When **Confirm offline bookings before payment is received** is disabled, the booking remains Pending until the order reaches a Confirmed status.

### Can an offline booking be confirmed before payment? {#Can\_an\_offline\_booking\_be\_confirmed\_before\_payment}

Yes. Enable **Confirm offline bookings before payment is received (BACS / Cheque / COD / Invoice)**. This allows supported offline and invoice bookings to be confirmed when the order is created, even though payment has not yet been received.

### Do I need to manually change an on hold order to Processing to create the MEC booking? {#Do\_I\_need\_to\_manually\_change\_an\_on\_hold\_order\_to\_Processing\_to\_create\_the\_MEC\_booking}

No. For supported offline and invoice payment methods, the MEC booking can be created while the WooCommerce order is **on hold**. Manually changing the order to Processing is not required just to create the booking.

### What happens when an on-hold order changes to Processing? {#What\_happens\_when\_an\_on-hold\_order\_changes\_to\_Processing}

The MEC booking is created or updated and becomes **Confirmed**, provided **Processing** is configured as a Confirmed WooCommerce status. The payment is treated as Paid.

### Can I use a custom invoice or offline payment gateway? {#Can\_I\_use\_a\_custom\_invoice\_or\_offline\_payment\_gateway}

Yes. If the gateway is not automatically recognized, add its gateway ID under **Extra offline payment method IDs**.
