Linux 软件免费装
Banner图

Sendit.ma for WooCommerce

开发者 yssendit
更新时间 2026年12月3日 01:04
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL2
版权网址: 版权信息

标签

shipping woocommerce delivery sendit morocco

下载

2.2.11 2.2.5 2.2.8 2.2.4 2.2.10 2.2.6 2.2.9 2.2.12 2.2.7

详情介绍:

This plugin connects your WooCommerce store to your Sendit.ma account, a delivery service operating in Morocco. It removes double data entry: orders are sent to Sendit in one click (or automatically), shipping is priced from the customer's city, and delivery statuses flow back into WooCommerce. The plugin interface is in French, the working language of the merchants it serves. Main features External service required This plugin is a connector: it only works with a Sendit.ma account. Sendit.ma is a Moroccan delivery service operated by Sendit (ICE 002745443000051, 120 Bd de la Grande Ceinture, Casablanca, Morocco). The plugin performs no delivery function of its own — it sends your orders to the Sendit API and displays what comes back. What is sent, when, and where Nothing is transmitted until you enter your API keys. The plugin sends data to no other recipient, loads no external resources, and collects no usage statistics. In the other direction: Sendit calls your store's webhook URL to report delivery progress. That URL carries a token, and requests without a valid token are rejected. By using this plugin you accept the terms of the Sendit service: The plugin is free and no feature is restricted. Physical deliveries carried out by Sendit.ma are billed separately, at Sendit.ma's published rates.

安装:

  1. In the WordPress admin, go to Plugins → Add New → Upload Plugin and upload the ZIP file.
  2. Activate the plugin. WooCommerce must be installed and active.
  3. Go to WooCommerce → Sendit.ma.
  4. Enter your Public Key and Secret Key (available in your Sendit.ma account).
  5. Save. The city list is fetched automatically as soon as valid keys are stored, and refreshed once a week from then on.
  6. Choose your pickup city and the activation mode that suits you, then save again.
  7. Copy the Webhook URL shown on the page and paste it into the Webhook section of your Sendit.ma account, so delivery statuses are reported automatically.

屏幕截图:

  • Default parcel options (try on, opening) and the status that triggers automatic sending.
  • The searchable "Delivery City / District" field at checkout, with the rate calculated automatically.
  • The Sendit panel on an order: editable district, parcel code, last known status and options.

升级注意事项:

2.2.12 Shop managers (manage_woocommerce) can now open the Sendit settings and connect their own Sendit account; a filter keeps them admin-only if you prefer. 2.2.11 Order statuses update again when Sendit delivers, cancels or returns a parcel; the district list on the order is searchable; the amount to collect can be corrected after sending. 2.2.10 The customer's order note is sent to Sendit, parcels can be updated from the order before pickup, and the city field follows the checkout's layout and theme. 2.2.9 Orders from checkouts without a country field can be sent to Sendit again, and every Casablanca district is available as the pickup district. 2.2.8 Arabic checkout (labels, messages and district names) on Arabic stores, and the district field no longer turns dark on devices in dark mode. 2.2.7 Display fix: the order screen's default "try on" / "opening" labels now match what is sent to Sendit. 2.2.6 Recommended for all stores: parcels go to the delivery address instead of the billing one, duplicate parcels are prevented, online-paid orders are no longer collected twice, and free shipping works alongside Sendit. 2.2.5 Declares WooCommerce as a required plugin, so WordPress 6.5 and later prevent activation without it. No functional change for existing stores. 2.2.4 Hardens settings sanitisation against malformed input. Recommended for stores on WordPress 5.8 or 5.9, where it prevents a fatal error when saving settings. 2.2.3 Security and maintenance: Select2 updated to 4.1.0, a missing permission check added to bulk label printing, and admin notices confined to the plugin's own settings page. 2.2.2 Corrects the plugin and author links in the plugin header. No functional change. 2.2.1 The city list now syncs itself when you save your API keys, and the weekly refresh finally reaches stores that updated in place. Also: stricter setting sanitisation, safer label downloads, and working translation support.

常见问题:

The Sendit shipping method does not appear at checkout

Check three things: the city list has been synced, the activation mode in the Sendit settings matches what you need ("Per Product" requires ticking the box on each product), and a WooCommerce shipping zone covering Morocco contains the "Sendit.ma Shipping" method.

The list of cities is empty

Save the settings page with valid API keys: the list is fetched automatically. If it fails, the notice at the top of the page states the reason (invalid keys, network blocking, and so on). Force a city sync in WooCommerce → Sendit.ma retries immediately.

Do I have to sync the cities by hand?

No. The list is fetched automatically when you save valid API keys, and refreshed once a week so rate changes made at Sendit reach your store on their own. The button is only there to force an immediate refresh.

Delivery statuses are not updating

The webhook URL must be saved in your Sendit.ma account exactly as shown, including its token (the token= parameter at the end). Without that token, requests are rejected for security reasons.

Can I change the delivery district after the order is placed?

Yes, from the Sendit.ma Delivery Options panel on the order screen, as long as the parcel has not been created yet.

Can I offer free delivery?

Yes, two ways. Add WooCommerce's "Free shipping" method to your Morocco shipping zone (with a minimum amount or a coupon): when it is available it replaces the paid Sendit rate, and the order is still sent to Sendit. Or set "Free delivery from (MAD)" in the settings of the Sendit.ma Shipping method itself. Store pickup is always offered alongside Sendit, and WooCommerce → Sendit.ma → Other shipping methods lets you show your other carriers too.

A send got no answer from Sendit. Can I send it again?

Yes. The plugin remembers the unanswered attempt, and the next send first looks for the parcel at Sendit: if it exists, it is attached to the order, otherwise a new one is created. If the parcel was created from your Sendit account, enter its code under "Attach an existing parcel" in the order's Sendit panel.

How much does Sendit collect on delivery?

The order total minus refunds, or nothing for an order already paid online (bank transfer received, card). When in doubt the plugin collects. You can type a different amount in the order's Sendit panel before sending it, for a deposit for example. Orders in a currency other than MAD need that amount, since Sendit collects in dirhams.

Can I keep my API keys out of the database?

Yes. Define SENDIT_MA_PUBLIC_KEY and SENDIT_MA_SECRET_KEY in wp-config.php; they take precedence over the settings page. The secret key you save in the settings is never displayed again: leave the field empty to keep it.

What happens to my checkout if I turn Sendit off?

Choosing "Disable Sendit" in the settings, or deactivating the plugin, gives you back WooCommerce's own checkout fields. Customer addresses keep their city name.

Is the plugin free?

Yes. The plugin is free and no feature is gated. You need an active Sendit.ma account, and Sendit bills the physical deliveries separately at its published rates.

更新日志:

2.2.12 2.2.11 2.2.10 2.2.9 2.2.8 2.2.7 2.2.6 Delivery address, duplicate parcels, free shipping and checkout fixes, from issues reported by a merchant and reproduced on a test store. 2.2.5 2.2.4 2.2.3 Addresses the points raised in the WordPress.org plugin review. 2.2.2 2.2.1 Release preparation for the WordPress.org directory, plus automatic city syncing. 2.2.0 Version validated on a real store (WordPress 7.1, WooCommerce 11.1), on both the classic and block checkouts, with and without High-Performance Order Storage. Important fixes: Performance: Other: 2.1.1 2.1