Spoki Cash on Delivery Confirmation — Magento 2

Spoki Cash on Delivery Confirmation

Magento 2 · Spoki API · WhatsApp automation

Spoki Cash on Delivery Confirmation

Magento 2 extension that automatically sends a WhatsApp message through Spoki when a Cash on Delivery order is placed. The customer can confirm or cancel the order through the workflow configured in Spoki.

PUBLISHED ON ADOBE COMMERCE MARKETPLACE

The official listing includes compatibility information, quality reports, release notes and installation details.

View on Adobe Commerce Marketplace ↗

You will be redirected to Adobe's official marketplace in a new tab.

Key features

COD confirmation integrated into the order flow

Automatic sending

Sends customer data to the configured Spoki webhook when an order uses one of the enabled COD payment methods.

Confirm / cancel workflow

Messages and quick replies are managed by Spoki automation, keeping the WhatsApp flow separate from Magento business logic.

Duplicate protection

A dedicated log prevents duplicate sends for the same order and stores request, response and status data.

Admin resend

Administrators can inspect delivery logs and resend the payload manually when necessary.

Encrypted secret

The Spoki secret is managed through Magento configuration and stored using Magento encryption.

Phone normalization

Phone numbers are normalized before sending, with libphonenumber-based handling.

Workflow and administration

  1. Magento checks that the module is enabled and the payment method matches the configured COD methods.
  2. The extension prepares the payload with phone number, name and email and sends it to the Spoki webhook.
  3. Spoki runs the WhatsApp automation and handles confirmation or cancellation.
  4. Magento records the request and exposes the result in the admin log.
Spoki COD Magento configuration
Module configuration.
Spoki WhatsApp template
WhatsApp template.
Spoki COD send log
Log and manual resend.

Specifications

  • Public version: 1.0.3.
  • Compatible with Magento Open Source 2.4.x.
  • PHP 8.1+.
  • Requires an active Spoki account to send WhatsApp messages.
  • Supports multiple COD payment method codes.

Installation

Recommended Composer installation from the Magento root:

composer require lorismenghi/module-contrassegno-order-spoki
bin/magento module:enable LorisMenghi_ContrassegnoOrderSpoki
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

Open the official extension listing

For current compatibility, quality reports and release notes, visit the extension on Adobe's marketplace.

Open Adobe Commerce Marketplace ↗

External link: opens Adobe's official marketplace.