# WooCommerce Order Fees

**URL:** <https://community.brevo.com/t/woocommerce-order-fees/219>\
**Category:** Integrations\
**Created:** [Novembre 8, 2023, 1:30 UTC](https://community.brevo.com/t/woocommerce-order-fees/219 "2023-11-08T01:30:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShakesMcQuakes](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@ShakesMcQuakes](https://community.brevo.com/u/ShakesMcQuakes)\
**Post date:** [Novembre 8, 2023, 1:30 UTC](https://community.brevo.com/t/woocommerce-order-fees/219/1 "2023-11-08T01:30:43Z")

</div>

I am attempting to create WooCommerce Order Notification emails in Brevo via the Brevo WooCommerce Plug-in. I can’t figure out how to display WooCommerce Order Fees in the email template.

Has anybody figured out how to display order fees?

---

<div class="post-metadata">

**Author:** ![ahudavert](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/ahudavert/32/14_2.png) [@ahudavert](https://community.brevo.com/u/ahudavert)\
**Post date:** [Novembre 8, 2023, 8:12 UTC](https://community.brevo.com/t/woocommerce-order-fees/219/2 "2023-11-08T08:12:33Z")

</div>

Thanks @ShakesMcQuakes , what do you mean by order fees? Which parameter is it in the event that you’re receiving from the tracker?

---

<div class="post-metadata">

**Author:** ![ShakesMcQuakes](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@ShakesMcQuakes](https://community.brevo.com/u/ShakesMcQuakes)\
**Post date:** [Novembre 8, 2023, 6:21 UTC](https://community.brevo.com/t/woocommerce-order-fees/219/3 "2023-11-08T18:21:31Z")

</div>

What I mean by Order Fees is the WooCommerce Order Fees Items «&nbsp;get\_fees()&nbsp;». I add a credit card processing fee to my orders and would like that printed out in the email. I looked through the Brevo plugin code and don’t see any reference to the WooCommerce Order Fees only shipping, billing, items, order totals, nothing referring to the get\_fees().

Fees in WooCommerce are separate from Order Items as they are not linked to products in the WooCommerce database. Some stores may add multiple fees to orders depending on certain order criteria.

Is there a way for me to find the full payload data that is being sent from my woo commerce site to Brevo? To see if there is more data being included than what is hinted at in the help articles. I am unsure what the Fees parameter would be in the event data as I don’t see it in the event data logs in my Brevo account.

---

<div class="post-metadata">

**Author:** ![Fibo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/fibo/32/105_2.png) [@Fibo](https://community.brevo.com/u/Fibo)\
**Post date:** [Novembre 14, 2023, 9:56 UTC](https://community.brevo.com/t/woocommerce-order-fees/219/4 "2023-11-14T09:56:17Z")

</div>

Hi @ShakesMCQuakes you are correct we do not send order fees from the plugin and do not offer such a placeholder for the order confirmation template yet.

I see that « get\_fees() » returns a collection of individual fees in WooCommerce. How would you like to use this date in your mailing? Is a sum of all fees as `ORDER_FEE` sufficient or do you want a html render of a table listing fees similar to the `ORDER_PRODUCTS` value?

---

<div class="post-metadata">

**Author:** ![Fibo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/fibo/32/105_2.png) [@Fibo](https://community.brevo.com/u/Fibo)\
**Post date:** [Novembre 14, 2023, 11:29 UTC](https://community.brevo.com/t/woocommerce-order-fees/219/5 "2023-11-14T11:29:19Z")

</div>

Here is a list of all currently supported placeholders for WooCommerce order confirmation template:

```auto
"{NAME}",
"{SURNAME}",
"{ORDER_ID}",
"{ORDER_KEY}",
"{ORDER_DISCOUNT}",
"{ORDER_TAX}",
"{ORDER_SHIPPING_TAX}",
"{ORDER_SHIPPING}",
"{ORDER_PRICE}",
"{ORDER_DATE}",
"{ORDER_SUBTOTAL}",
"{ORDER_DOWNLOAD_LINK}",
"{ORDER_PRODUCTS}",
"{BILLING_FIRST_NAME}",
"{BILLING_LAST_NAME}",
"{BILLING_COMPANY}",
"{BILLING_ADDRESS_1}",
"{BILLING_ADDRESS_2}",
"{BILLING_CITY}",
"{BILLING_STATE}",
"{BILLING_POSTCODE}",
"{BILLING_COUNTRY}",
"{BILLING_PHONE}",
"{BILLING_EMAIL}",
"{SHIPPING_FIRST_NAME}",
"{SHIPPING_LAST_NAME}",
"{SHIPPING_COMPANY}",
"{SHIPPING_ADDRESS_1}",
"{SHIPPING_ADDRESS_2}",
"{SHIPPING_CITY}",
"{SHIPPING_STATE}",
"{SHIPPING_POSTCODE}",
"{SHIPPING_COUNTRY}",
"{SHIPPING_METHOD_TITLE}",
"{CART_DISCOUNT}",
"{CART_DISCOUNT_TAX}",
"{CUSTOMER_USER}",
"{PAYMENT_METHOD}",
"{PAYMENT_METHOD_TITLE}",
"{CUSTOMER_IP_ADDRESS}",
"{CUSTOMER_USER_AGENT}",
"{USER_LOGIN}",
"{USER_PASSWORD}",
"{USER_EMAIL}",
"{REFUNDED_AMOUNT}",
"{DOUBLEOPTIN}"

```

These should be all listed here: [https://help.brevo.com/hc/en-us/articles/209840305-WooCommerce-plugin-Create-an-order-confirmation-email-to-send-through-WooCommerce](https://help.brevo.com/hc/en-us/articles/209840305-WooCommerce-plugin-Create-an-order-confirmation-email-to-send-through-WooCommerce) already.

The Plugin does not send any other data you could use in the template yet.

---

<div class="post-metadata">

**Author:** ![ShakesMcQuakes](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@ShakesMcQuakes](https://community.brevo.com/u/ShakesMcQuakes)\
**Post date:** [Novembre 14, 2023, 3:39 UTC](https://community.brevo.com/t/woocommerce-order-fees/219/6 "2023-11-14T15:39:28Z")

</div>

Hi @Fibo ,

For my use case, listing the fees similar to the Order\_Products value would be preferred. I also use WooCommerce for invoicing and quoting of services that don’t require a specific product record in woocommerce, so listing them out is a requirement for me.

Essentially, I treat order fees as one-off products.

---

<div class="post-metadata">

**Author:** ![Fibo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/fibo/32/105_2.png) [@Fibo](https://community.brevo.com/u/Fibo)\
**Post date:** [Novembre 17, 2023, 9:48 UTC](https://community.brevo.com/t/woocommerce-order-fees/219/7 "2023-11-17T09:48:32Z")

</div>

Thanks for the insight @ShakesMcQuakes !

I have already prepared the backend for this addition.  
The required plugin update with ORDER\_FEES data in the payload may be release only after Blackfriday though.  
If you are willing to try out a pre-release plugin.zip, i can share it next week probably.

---

<div class="post-metadata">

**Author:** ![ShakesMcQuakes](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@ShakesMcQuakes](https://community.brevo.com/u/ShakesMcQuakes)\
**Post date:** [Novembre 18, 2023, 3:35 UTC](https://community.brevo.com/t/woocommerce-order-fees/219/8 "2023-11-18T03:35:32Z")

</div>

Thank you @Fibo for making this improvement so quickly.

I will surely give the pre-release plugin.zip a try and see what I can accomplish with my email templates.

---

<div class="post-metadata">

**Author:** ![Fibo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/fibo/32/105_2.png) [@Fibo](https://community.brevo.com/u/Fibo)\
**Post date:** [Décembre 5, 2023, 3:53 UTC](https://community.brevo.com/t/woocommerce-order-fees/219/9 "2023-12-05T15:53:50Z")

</div>

From version 4.0.6 on everyone can now use the `{ORDER_FEES}` placeholder in the order confirmation template.

> **[Brevo (formely Sendinblue) for WooCommerce](https://wordpress.org/plugins/woocommerce-sendinblue-newsletter-subscription/#developers)**
>
> The all-in-one marketing add-on for your WooCommerce store that helps you power up the marketing funnels in minutes.
> Email marketing, marketing automa …

---

<div class="post-metadata">

**Author:** ![Brexor](https://avatars.discourse-cdn.com/v4/letter/b/b3f665/32.png) [@Brexor](https://community.brevo.com/u/Brexor)\
**Post date:** [Janvier 28, 2024, 9:52 UTC](https://community.brevo.com/t/woocommerce-order-fees/219/10 "2024-01-28T09:52:56Z")

</div>

Thanks Fibo for the quick fix

by the way all the social links at the end of the text on this page are broken :

> **[Brevo for WooCommerce](https://wordpress.org/plugins/woocommerce-sendinblue-newsletter-subscription/#description)**
>
> The all-in-one marketing add-on for your WooCommerce store that helps you power up the marketing funnels in minutes.
> Email marketing, marketing automa …
