COMITI Invoicing Cloud for Ecommerce

外掛說明

comitifact connects WooCommerce to COMITI’s CFDI 4.0 (Mexico) stamping services.

Key features
– Generate CFDI 4.0 (XML) and its printable representation (PDF).
– CFDI cancellation.
– File uploads attached to orders with size limits and a whitelist of extensions (CSD, XML, ZIP, PEM, etc.).
– Configurable HTTPS endpoints for production and sandbox environments.
– Multisite-aware (cleans up on uninstall per site).
– Internationalization ready (Text Domain: comitifact) and loads translations from /languages.

Security
– Nonces on AJAX actions.
– Capability checks (by default requires manage_woocommerce for admin actions).
– Input sanitization and output escaping.
– Uploads stored in a dedicated folder /wp-content/uploads/comitifact/ with MIME checks and size limits.
– No credentials or endpoints exposed on the front end.

Privacy
This plugin integrates with an external e-invoicing (timbrado) provider. Depending on your configuration, fiscal data from orders (RFC, legal name, CFDI use, tax address, etc.) may be sent to your provider over HTTPS. Review and accept the provider’s terms before use. If you process personal data, ensure you have a lawful basis and appropriate privacy notices.

Requirements
– WordPress ≥ 5.8
– PHP ≥ 7.4
– WooCommerce (a version compatible with your site)

Localization

This plugin is translation-ready. Text domain: comitifact, path: /languages. You can contribute translations via WordPress.org GlotPress once published.

Notes for Reviewers (WordPress.org)

  • All AJAX actions that write files or data are protected by nonces and capability checks.
  • External services are configurable and default to HTTPS endpoints.
  • No external tracking; no personal data is transmitted unless configured by the site owner for invoicing purposes.
  • Uninstall routine removes options, transients, prefixed tables, cron hooks, and /uploads/comitifact/.

安裝方式

  1. Upload the plugin or install it from the WordPress admin and activate it.
  2. Go to WooCommerce Settings Integrations / COMITI Invoice (or the plugin menu, if present) and configure:
    • Credentials/keys required for stamping.
    • Fiscal parameters: issuer regime, CFDI use, etc.
  3. Optional: adjust maximum file size and allowed extensions for uploads.

常見問題集

Does the plugin require an external service?

Yes. You need an account at https://comiti.mx. The plugin itself does not perform stamping.

What data is sent to the external service?

Depending on your flow: issuer/receiver fiscal data, line items, taxes, totals, and related CFDI info. Consult your provider’s documentation and applicable law.

Where are uploaded files stored?

In /wp-content/uploads/comitifact/. Filenames are randomized and can be associated with the order ID. A reference is saved in the order (metadata).

Can it be used on the front end by unauthenticated users?

For security, uploads and administrative actions are limited to users with proper capabilities in wp-admin. Enabling sensitive actions for visitors is not recommended.

What capabilities are required?

By default manage_woocommerce. You can adapt capabilities in your installation for more granular roles.

Does the plugin clean up on uninstall?

Yes. uninstall.php removes options, transients, plugin-prefixed tables, related cron events, and the /uploads/comitifact/ folder on each site in a multisite (if applicable).

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈COMITI Invoicing Cloud for Ecommerce〉的開發相關工作。

參與者

〈COMITI Invoicing Cloud for Ecommerce〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈COMITI Invoicing Cloud for Ecommerce〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.118

  • Initial public release candidate.
  • Security: nonce + capability checks for AJAX upload.
  • Uploads to dedicated /uploads/comitifact/ with MIME whitelist & size limit.
  • i18n ready (Text Domain: comitifact).
  • Clean uninstall (uninstall.php).