Linux 软件免费装
Banner图

RAU Mirakl Order Sync for WooCommerce

开发者 rajaamanullah
更新时间 2026年10月25日 02:53
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce marketplace mirakl order sync marketplace integration

下载

1.0.0 1.1.0

详情介绍:

RAU Mirakl Order Sync for WooCommerce lets marketplace sellers manage all their Mirakl orders inside WooCommerce. If you sell on a marketplace built on the Mirakl platform, your orders normally live in the marketplace's own seller portal. That means a second dashboard to watch, manual copying of addresses and SKUs into WooCommerce, and tracking numbers that have to be pasted back by hand once a parcel ships. Miss an acceptance deadline and the order can be cancelled automatically. This plugin closes that gap. It connects to your Mirakl shop over the marketplace's own API, pulls new orders into WooCommerce on a schedule you set, and creates them as ordinary WooCommerce orders with the customer, shipping address, line items and shipping costs already filled in. Orders the customer has not paid for yet wait as Pending payment, and only become active (order emails, stock, invoices) once the marketplace confirms payment. From there your normal fulfilment workflow applies. When you complete the order in WooCommerce, the tracking number and carrier go back to Mirakl and the order is marked as shipped, so the marketplace and your store stay in step without anyone retyping anything. It is built for sellers running more than one shop. Each Mirakl shop is configured separately with its own API URL, key and shop ID, and its own import behaviour, so a store selling on two or three marketplaces can keep different order statuses, pricing rules and carriers for each one. What it does Works with marketplaces built on Mirakl Mirakl powers the marketplace platform behind many large European retailers, including Carrefour, Decathlon, Leroy Merlin, Auchan, Fnac Darty, Galeries Lafayette, Conforama, La Redoute, Boulanger, Maisons du Monde, El Corte Inglés, PC Componentes, Worten and MediaMarktSaturn. The plugin is not written against any single marketplace. If your marketplace runs on Mirakl and your seller account gives you an API URL ending in /api plus a shop API key, this plugin can connect to it. All marketplace and company names above are trademarks of their respective owners and are listed only to describe compatibility. This plugin is an independent integration developed by a marketplace seller. It is not affiliated with, endorsed by, or sponsored by Mirakl. Documentation and support Documentation, setup guides and support are available on the developer's website: rajaamanullah.com. For questions about this plugin, visit the plugin page or use the wordpress.org support forum.

安装:

  1. Upload the plugin and activate it.
  2. Go to WooCommerce → RAU Mirakl Sync → Shops → Add Shop.
  3. Enter your Mirakl API URL (e.g. https://yourmarketplace.mirakl.net/api) and your shop API key.
  4. Use "Test connection" to verify, then configure the import behaviour per shop.

屏幕截图:

  • Add or edit a shop — enter the Mirakl API URL, shop ID and API key, then verify it with Test connection before saving.
  • Import Orders — pull orders on demand by date range, or fetch specific Mirakl order IDs when you need to re-sync just one.
  • Settings — choose the automatic import interval and look-back, automatic shipment confirmation on completed orders, and logging.
  • Imported orders in WooCommerce — Mirakl orders land as normal WooCommerce orders, HPOS included, ready to fulfil.
  • Logging — every API call and import run is recorded under WooCommerce, Status, Logs, so failures are easy to trace.

升级注意事项:

1.1.0 Important fixes: unpaid orders are no longer imported as Processing, tax-inclusive prices are no longer taxed twice, and shipping confirmation works on marketplaces that rejected it. Review the new per-shop options after updating. 1.0.0 First public release.

常见问题:

Which marketplaces does this work with?

Any marketplace running on the Mirakl platform that gives sellers API access. That includes retailers such as Carrefour, Decathlon, Leroy Merlin, Auchan, Fnac Darty, El Corte Inglés and MediaMarktSaturn, among many others. The plugin talks to the standard Mirakl seller API rather than to one specific marketplace, so if your seller account provides an API URL and a shop API key, it should connect.

Do I need a Mirakl API key, and where do I find it?

Yes. The key comes from your seller account on the marketplace, usually under Settings → API in the Mirakl back office. It authenticates your shop, so treat it like a password. If you cannot see an API section, ask the marketplace's seller support to enable API access for your account.

Can I connect more than one Mirakl shop?

Yes, there is no limit. Each shop is added separately with its own API URL, key and Mirakl shop ID, and each has its own settings for scheduled imports, auto-accept, order status, pricing, carrier and country handling. One API key that manages several shops is also supported — that is what the Mirakl Shop ID field is for.

How often are orders imported?

You choose. The automatic import can run every five minutes, every fifteen minutes, hourly, twice daily or daily. You can also run an import manually at any time from the Import Orders tab, either for a date range or for specific Mirakl order IDs. Scheduled imports rely on WP-Cron, so on a quiet site consider a real server cron for reliable timing.

Will the same order be imported twice?

No. Every imported order is stored with its Mirakl order reference, and the plugin checks for that reference — in every order status, including the trash — before creating anything. Each shop is imported by one run at a time, so a manual import cannot overlap the scheduled one. Re-running an import updates the existing orders instead of duplicating them.

What happens to orders the customer has not paid yet?

On Mirakl an order is only paid once it reaches the SHIPPING state; before that (WAITING_DEBIT, WAITING_DEBIT_PAYMENT) it has no shipping address and may never be paid. By default such orders are imported as "Pending payment" — no order emails, no invoice, no stock reduction — and switched to your import status automatically once Mirakl reports them paid. You can pick another holding status per shop, or choose not to import unpaid orders at all. Cancelled and refused orders are never imported, and an imported order that Mirakl cancels is cancelled in WooCommerce too.

My prices include VAT. Are the order totals correct?

Yes. Each shop has a "Marketplace prices include tax" option. On Automatic it follows the tax mode the marketplace sends with the order, or your WooCommerce "Prices entered with tax" setting. When prices include tax, the plugin takes the tax out using your WooCommerce tax rates, so the order total equals what the customer paid.

Does it work with High-Performance Order Storage (HPOS)?

Yes. The plugin declares HPOS compatibility and works with both the legacy post-based order storage and the newer high-performance order tables.

Can it accept Mirakl orders automatically?

Yes, per shop. Marketplaces usually require orders to be accepted within a set window or they are cancelled, so you can enable auto-accept for shops where you always fulfil, and leave it off for shops where you want to check stock first.

How do tracking numbers get back to Mirakl?

When you complete an order in WooCommerce, the plugin sends the tracking number and carrier to Mirakl first, then confirms the shipment. Tracking numbers are read from DHL for WooCommerce, WooCommerce Shipment Tracking, Advanced Shipment Tracking and Germanized shipments; other shipping plugins can supply one through the ramos_tracking_info filter. Carrier code, name and tracking URL are set per shop. If no tracking number is found, the shipment is still confirmed. You can turn this off in Settings if you prefer to confirm shipments in the marketplace portal yourself.

What happens if a Mirakl order contains a SKU that is not in my store?

Products are matched by SKU — by default your own offer SKU first, then the marketplace's product SKU (you can reverse that per shop, or map products in code with the ramos_match_product filter). If a SKU does not exist in WooCommerce, the plugin can create a placeholder product so the order still imports with correct totals rather than failing. That option is per shop, and can be left off if you would rather the mismatch be visible.

Orders are not importing. How do I find out why?

Turn on logging in Settings and check WooCommerce → Status → Logs, source ramos-order-sync. Every API call and import run is recorded there, including authentication failures and empty date ranges. The Test connection button on each shop is the quickest way to confirm the API URL and key are correct.

Can I change how orders are imported from my own code?

Yes. Filters: ramos_should_import_order (skip an order entirely), ramos_import_order_status (the WooCommerce status for each Mirakl state), ramos_match_product, ramos_tracking_info, ramos_prices_include_tax, ramos_paid_order_states, ramos_cancelled_order_states, ramos_notify_unpaid_cancellation and ramos_api_request_args. Actions: ramos_before_order_save, ramos_order_imported and ramos_order_updated. Each is documented in the plugin source.

What happens to my data if I uninstall the plugin?

Uninstalling removes the plugin's own settings, including your saved shops and API keys. Orders that were already imported stay in WooCommerce, because they are ordinary WooCommerce orders.

更新日志:

1.1.0 1.0.0