How we checked: We re-read Meta’s pricing page and its EUR and USD rate-card files, cell by cell, on 20.11.2026. The app and plugin listings were read the same day. Kroner use the ECB rate of 20.11.2026, €1 = DKK 7.47, excluding VAT (moms). Nobody named here pays us a commission.
Why an order confirmation counts as “utility”
Meta sorts templates into three categories, and the category sets the price. Order confirmations, delivery updates and cancellation notices are utility: messages triggered by something the customer did, about that one order. Meta’s rules say such messages must not promote, recommend, upsell or cross-sell products.
This is where shops slip. Add “use code THANKS10 on your next order” to the bottom and the template is no longer utility. Since 9 April 2025, a template submitted as utility that Meta judges to be marketing is approved as marketing, at the marketing price. Repeat offenders can see utility messages rate-limited across the whole account. Keep the confirmation boring on purpose: first name, order number, total, and what happens next.
Most shops get by with two templates:
ordre_bekraeftet(Danish): “Hi {{1}}, thanks for order {{2}} of {{3}}. We’ll message you again when it ships.”ordre_afsendt(Danish): “Hi {{1}}, order {{2}} has shipped. Track it here: {{3}}”
Each language is its own template and must be APPROVED before you can send it. If part of your customer base is English-speaking, create an English version too and pick the language from the order. The legal line between service messages and marketing is covered on our opt-in and templates page; this page sticks to order messages.
Consent belongs in the checkout
Meta requires that the customer has agreed to hear from you on WhatsApp and recommends a separate yes for each type of message. In a shop the obvious place is the checkout: a box that is never pre-ticked, with a plain label such as “Send my order confirmation and shipping update on WhatsApp”. That is a different thing from a newsletter sign-up, so the two must never share one box.
Store the time of the yes on the order. Then you can show later when and where consent was given, and your code only has to check one field. Customers who said nothing still get the e-mail. One of the plugins we looked at stores both the timestamp and the IP address and opts the customer out automatically when they reply STOP. That is a good baseline even if you build your own.
Phone numbers are the next snag. Danish customers usually type eight digits without a country code, some type 0045, and foreign customers type +380 or +49. WhatsApp needs the full international number. The code further down turns an eight-digit Danish number into 45XXXXXXXX and refuses anything else that lacks a country code.
The 24-hour window and the 1 October 2026 change
Templates can go out at any time. What changed is the price inside the customer service window. Until 1 October 2026, a utility template was free if the customer had messaged you in the previous 24 hours. From that date it is billed as a regular message. So a confirmation to a shopper who just asked about sizes in the chat now costs the same as any other.
For most shops the change matters less than the headline suggests. Shoppers rarely message right before buying, so confirmations have mostly gone out with no window open and have always been billed. What is genuinely free are messages inside a window opened from a Click-to-WhatsApp ad: Meta charges nothing for utility while that window is open. If the customer replies to the confirmation (“can you ship to my office instead?”), a window opens and your answers are service messages, with 1,000 free per number per month.
Six routes from the shop to WhatsApp
Order messages on WhatsApp – routes for Shopify and WooCommerce
| Route | Good for | Cost on top of Meta | Consent and logging | Weak spot |
|---|---|---|---|---|
| Meta’s own WhatsApp app in the Shopify App Store | Shopify shops that want to start fast | free to install; Meta bills messages separately | cart reminders only to shoppers who opted in | you get what the app offers, no more |
| Facebook for WooCommerce (Meta) | WooCommerce shops already on Meta’s plugin | free plugin | check the plugin settings | the listing does not say which statuses it covers |
| A wordpress.org plugin with your own Meta keys | WooCommerce without a developer | free core, paid add-ons | e.g. a box in both checkouts with timestamp and STOP | low install counts; some need a number without the app |
| Shopify Flow → Cloud API | Shopify Grow, Advanced or Plus | no app | you build it | the action is missing on the smaller plans |
| n8n between shop and Cloud API | shops with a CRM or several systems | server and upkeep | you build it, one place for every channel | you must watch delivery yourself |
| Your own WooCommerce hook (code below) | WooCommerce with a developer | developer time | full control | you own the maintenance |
Meta’s own app in the Shopify App Store launched on 11 July 2025. It sends order updates such as confirmations and tracking, plus abandoned-cart messages to opted-in shoppers. It is free to install, and Meta bills the messages separately from your Shopify invoice. On the WooCommerce side, Meta’s plugin says it can update customers about their order “at every step” on WhatsApp. It has more than 400,000 active installs, but the WhatsApp part is described in two lines, so try it on a test order first.
Among the smaller plugins, CodeAtoZ Cloud Messaging and Notiqoo both call Meta’s Cloud API directly with your own credentials, with no middleman. CodeAtoZ has 40+ installs and covers processing, shipped, completed, cancelled and refunded among others. Notiqoo has 1,000+ installs but needs a number that is not connected to the WhatsApp apps, and shipping updates sit in its Pro version. That matters, because Meta’s coexistence otherwise lets you keep the Business app on the same number.
Shopify Flow can post straight to the Cloud API with its Send HTTP request action, but only on the Grow, Advanced and Plus plans. Flow waits up to 30 seconds for an answer, can retry for up to 24 hours, and keeps keys as hidden secrets.
Our pick
Shopify: Meta’s own app. WooCommerce: your own hook or n8n, if you want to own consent and logs.
On Shopify, if all you want is confirmations going out, Meta’s app is the shortest path, since it comes from the company that delivers the messages. On WooCommerce, owning the code is a real advantage: consent, number format and log sit on the order, and you can see what was sent.
In favour
- Meta’s Shopify app: free to install, invoice straight from Meta
- Own hook: a few dozen lines, no extra subscription, your wording
- n8n: one engine for WhatsApp, SMS and CRM if you already run it
Watch out for
- Every route: Meta’s per-message price comes on top
- Small plugins: check install count and last update date
Recipe: a WooCommerce hook that sends the template
The code below is a small plugin. It adds a consent box to both the classic and the block checkout, puts the send into WooCommerce’s own queue (Action Scheduler) when an order moves to Processing, and calls the Cloud API endpoint /{phone-number-id}/messages with type: template. The token is read from wp-config.php, which reads an environment variable – never from the database. We moved bot tokens out of URLs into environment variables ourselves, in 36 HTTP nodes across 12 n8n workflows, so this is not a rule we only preach. The Graph API version was v27.0 on 20.11.2026.
<?php
/**
* Plugin Name: BC WhatsApp order confirmation
* Description: Sends an approved utility template through the WhatsApp Cloud API when an order moves to "Processing".
*/
defined( 'ABSPATH' ) || exit;
// wp-config.php: define( 'BC_WA_TOKEN', getenv( 'WA_TOKEN' ) ); – never store the token in the database or in git.
const BC_WA_GRAPH = 'v27.0'; // check the latest version in Meta's changelog
const BC_WA_TEMPLATE = 'ordre_bekraeftet'; // utility template, status APPROVED, language da
// 1) Consent in the classic checkout – never pre-ticked.
add_action( 'woocommerce_review_order_before_submit', function (): void {
woocommerce_form_field( 'bc_wa_optin', array(
'type' => 'checkbox',
'label' => 'Send my order confirmation and shipping update on WhatsApp',
), 0 );
} );
add_action( 'woocommerce_checkout_create_order', function ( WC_Order $order ): void {
if ( ! empty( $_POST['bc_wa_optin'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification
$order->update_meta_data( '_bc_wa_optin', gmdate( 'c' ) ); // when the yes was given
}
} );
// 2) Consent in the block checkout (WooCommerce stores it as _wc_other/bc/wa_optin).
add_action( 'woocommerce_init', function (): void {
if ( function_exists( 'woocommerce_register_additional_checkout_field' ) ) {
woocommerce_register_additional_checkout_field( array(
'id' => 'bc/wa_optin',
'label' => 'Send my order confirmation and shipping update on WhatsApp',
'location' => 'order',
'type' => 'checkbox',
) );
}
} );
// 3) Order paid: queue the send so the checkout never waits for Meta.
add_action( 'woocommerce_order_status_processing', function ( int $order_id ): void {
as_enqueue_async_action( 'bc_wa_send_confirmation', array( 'order_id' => $order_id ), 'bc-whatsapp' );
} );
add_action( 'bc_wa_send_confirmation', 'bc_wa_send_confirmation' );
function bc_wa_send_confirmation( int $order_id ): void {
$order = wc_get_order( $order_id );
if ( ! $order || $order->get_meta( '_bc_wa_sent' ) ) {
return; // missing or already sent – never twice
}
if ( ! $order->get_meta( '_bc_wa_optin' ) && ! $order->get_meta( '_wc_other/bc/wa_optin' ) ) {
return; // no consent = no WhatsApp, the e-mail goes out as usual
}
$to = bc_wa_msisdn( $order->get_billing_phone(), $order->get_billing_country() );
if ( null === $to ) {
$order->add_order_note( 'WhatsApp: phone number not usable – not sent.' );
return;
}
$body = array(
'messaging_product' => 'whatsapp',
'to' => $to,
'type' => 'template',
'template' => array(
'name' => BC_WA_TEMPLATE,
'language' => array( 'code' => 'da' ),
'components' => array( array(
'type' => 'body',
'parameters' => array(
array( 'type' => 'text', 'text' => $order->get_billing_first_name() ),
array( 'type' => 'text', 'text' => $order->get_order_number() ),
// Danish customers: always two decimals, 1.234,50 kr. – not 1234.5000
array( 'type' => 'text', 'text' => number_format( (float) $order->get_total(), 2, ',', '.' ) . ' kr.' ),
),
) ),
),
);
$res = wp_remote_post(
sprintf( 'https://graph.facebook.com/%s/%s/messages', BC_WA_GRAPH, BC_WA_PHONE_NUMBER_ID ),
array(
'timeout' => 10,
'headers' => array(
'Authorization' => 'Bearer ' . BC_WA_TOKEN,
'Content-Type' => 'application/json',
),
'body' => wp_json_encode( $body ),
)
);
$code = (int) wp_remote_retrieve_response_code( $res );
$data = json_decode( (string) wp_remote_retrieve_body( $res ), true );
$wamid = $data['messages'][0]['id'] ?? '';
if ( 200 === $code && '' !== $wamid ) {
$order->update_meta_data( '_bc_wa_sent', $wamid ); // status (delivered/read/failed) arrives later on the webhook
$order->add_order_note( 'WhatsApp confirmation accepted by Meta: ' . $wamid );
} else {
$err = $data['error']['message'] ?? ( is_wp_error( $res ) ? $res->get_error_message() : 'unknown error' );
$order->add_order_note( sprintf( 'WhatsApp failed (HTTP %d): %s', $code, $err ) );
}
$order->save();
}
// Danish number without country code (8 digits) → 45XXXXXXXX. Other countries: only with +/00 in front.
function bc_wa_msisdn( string $phone, string $country ): ?string {
$p = preg_replace( '/[^\d+]/', '', $phone );
if ( str_starts_with( $p, '00' ) ) {
$p = '+' . substr( $p, 2 );
}
if ( 'DK' === $country && preg_match( '/^\d{8}$/', $p ) ) {
$p = '+45' . $p;
}
return preg_match( '/^\+[1-9]\d{7,14}$/', $p ) ? substr( $p, 1 ) : null;
}
Four choices in the code are deliberate:
- A queue, not a direct call. The switch to Processing often happens while the payment provider is waiting for a response. A call to Meta that hangs for ten seconds must never hold up a payment.
- Consent only, and only once. Without a yes nothing happens, and once Meta has accepted the message its id is stored on the order, so a later status change does not send it again.
- Totals with two decimals. “1.234,50 kr.” – not “1234.5”. A Danish reader takes the dot as a thousands separator.
- Errors land on the order. Meta answers with an error code, for example when the template name does not exist in the chosen language, and that shows up as an order note where staff will see it.
We ran the code with PHP 8.4 against a test harness where the WordPress and WooCommerce functions are stubbed: 14 of 14 checks passed, including no send without consent, no double send, eight digits becoming 45XXXXXXXX, 0045 and +380 handled, and a Meta error not marking the order as sent. That is not the same as a live shop. Run it on a staging copy and confirm the block-checkout field key on a test order.
The same flow with n8n
If you already run n8n, the shop can send a webhook to n8n, which then calls the Cloud API. WooCommerce creates webhooks under WooCommerce → Settings → Advanced → Webhooks, signs every delivery with an HMAC-SHA256 in the X-WC-Webhook-Signature header, and disables a webhook after more than five failed deliveries in a row. Shopify sends the topics orders/paid and fulfillments/create with the signature in X-Shopify-Hmac-Sha256. Check the signature in the very first node. We do that on every Meta webhook, and unsigned calls get a 403.
Our own n8n workflows run WhatsApp conversations and booking webhooks for our own sites and for clients such as beauty salons and a furniture-assembly service, on two self-hosted n8n instances. The main lesson from them applies to order messages too: in a salon reminder workflow every run said “success” while 12 of 207 reminders were never sent, because the JSON was built by gluing strings together and a \ in a service name broke it. Build the payload with JSON.stringify, keep the wamid, and match it against the status events on Meta’s webhook.
Cost example: 300, 1,500 and 5,000 orders
WhatsApp order messages – Meta’s monthly bill
Assumptions: 70 % of customers tick the box. Each of them gets two utility templates, order confirmed and order shipped, at €0.0142 each. 15 % of all customers reply and get two service answers. The first 1,000 service messages per number per month are free. Formula: orders × 0.7 × 2 × €0.0142 + (service replies − 1,000) × €0.0142 = Meta’s bill in euro, × 7.47 = kroner.
| Orders/month | With consent | Utility messages | Service replies | Paid service | Meta in EUR | Meta in DKK |
|---|---|---|---|---|---|---|
| 300 | 210 | 420 | 90 | 0 | €5.96 | DKK 45 |
| 1,500 | 1,050 | 2,100 | 450 | 0 | €29.82 | DKK 223 |
| 5,000 | 3,500 | 7,000 | 1,500 | 500 | €106.50 | DKK 796 |
Per opted-in order that is 2 × €0.0142 = €0.0284, about 21 øre. At 5,000 orders the utility templates make up €99.40 of the €106.50. Volume discounts do not help at these volumes: Danish numbers pay the list rate for up to 100,000 utility messages a month. If the same number also handles sales chat, those conversations share the 1,000 free service messages, so count them in. All categories and a worked example for conversations are on our WhatsApp API pricing page.
What we would do before the first real order
- Test only on your own numbers. We never send test messages to customers. Tests go to our own numbers and test accounts, and test orders that could trigger a message later are removed the same day.
- Keep the e-mail. WhatsApp is an extra. Without consent, with a bad number, or when Meta fails, the customer must still get the e-mail.
- Let the shop be the source of truth. Our WhatsApp interface for appointment confirmations for a salon booking site reads from the booking system as an optional source. When that source is down it shows 503 instead of “client not found”. Same idea here: if the order is missing, send nothing and log why.
- One place for the replies. When a customer answers the confirmation, someone has to see it. We use a web interface on top of n8n, Cloud API and MySQL that sends text, images and templates. Photos customers send must be copied at once, or they expire.
Payments, shipping and bookkeeping for the shop itself are covered on woocommerce.best-choice.dk and shopify.best-choice.dk.
Sources
- Meta – WhatsApp Business Platform pricing — utility in an open window billed from 1.10.2026, 1,000 free service messages, free entry point window, checked 20.11.2026
- Meta – rate cards and volume tiers, EUR/USD — Rest of Western Europe utility €0.0142 / $0.0171, list rate up to 100,000, checked 20.11.2026
- Meta – template categorization — utility, order messages, recategorisation, checked 20.11.2026
- Meta – getting opt-in — consent per message type, checked 19.11.2026
- Shopify App Store – WhatsApp (Meta) — order updates, free to install, billed by Meta, checked 20.11.2026
- Facebook for WooCommerce — WhatsApp order updates, 400,000+ installs, checked 20.11.2026
- CodeAtoZ Cloud Messaging for WooCommerce — direct Cloud API, consent box, STOP, checked 20.11.2026
- Notiqoo – Order Notification for WooCommerce — Cloud API, dedicated number, Pro features, checked 20.11.2026
- Shopify Flow – Send HTTP request — plans, 30 s, 24-hour retries, secrets, checked 20.11.2026
- Shopify – webhook topics — orders/paid, fulfillments/create, X-Shopify-Hmac-Sha256, checked 20.11.2026
- WooCommerce – webhooks — set-up and auto-disable after failures, checked 20.11.2026
- ECB – reference rates — €1 = DKK 7.4746, 20.11.2026
Questions about WhatsApp order confirmations
Is a WhatsApp order confirmation marketing?
No, as long as it is only about the order. Meta treats it as utility, but a template with offers or product tips becomes marketing.
What does one order confirmation cost?
€0.0142 per message to a Danish number, about 11 øre, on Meta’s list from 1 October 2026. Confirmation plus shipping update comes to about 21 øre per order.
Is it free if the customer has just messaged us?
Not any more. From 1 October 2026 utility templates are billed inside the 24-hour window as well. Only a window opened from a Click-to-WhatsApp ad is free.
Can we keep using the number that is in the WhatsApp Business app?
Yes, Meta’s coexistence lets the app and the Cloud API share one number. Some plugins still require a number without the app, so read the requirements first.
Should we still send the confirmation by e-mail?
Yes. Not every customer says yes to WhatsApp, and numbers can be wrong. E-mail is the safe channel; WhatsApp is the extra.
Fixed price, no commitment
Get a free WhatsApp check and a fixed price
Tell us briefly what you use today and what you want to achieve. A person answers by e-mail with a proposal and a fixed price before any work starts.
- A fixed price before we start
- An answer by e-mail, no calls
- Your details are used only to answer you