Description
Zarina CRM Integration connects a WooCommerce store to a Zarina CRM instance that you host yourself.
When a customer completes the checkout, the plugin builds a JSON payload with the order details and sends it with a single HTTP POST request to the API endpoint you configure. Each order is sent only once; if the endpoint answers with a success status, the order is flagged so it is not sent again.
The data sent for each order is:
- Order ID, order number and order status
- Order date, total and currency
- Billing name, e-mail address, phone number and billing address (for Romanian addresses the county code is converted to the full county name)
- For every line item: product ID, product name, quantity, unit price and line total
- The host name of the site that generated the order
Requirements
- WooCommerce installed and active
- A Zarina CRM instance reachable from your WordPress site, with an API endpoint URL and an API key
External services
This plugin sends order data to the API endpoint that you enter on the settings page. No endpoint is configured by default and no data is sent until you enter one. The destination server is under your control; the plugin does not contact any other external service.
Installation
- Upload the plugin files to the
/wp-content/plugins/zarina-crm-integrationdirectory, or install the plugin through the WordPress plugins screen. - Activate the plugin through the “Plugins” screen in WordPress.
- Go to Settings > Zarina CRM.
- Enter the CRM API URL and the CRM API key of your Zarina CRM instance and save.
Once saved, new WooCommerce orders are sent automatically when the order confirmation page is reached.
FAQ
-
Do I need a Zarina CRM instance to use this plugin?
-
Yes. The plugin is a bridge between WooCommerce and a Zarina CRM instance that you host. It has no function without an API endpoint to send data to.
-
Where is the order data sent?
-
Only to the API URL that you enter on the settings page.
-
When is an order sent?
-
When the customer reaches the order confirmation page (the
woocommerce_thankyouhook). An order that has already been accepted by the endpoint is not sent again. -
Nothing arrives in my CRM. What should I check?
-
Check that WooCommerce is active, that the API URL is correct and reachable from your server, and that the API key matches the one configured in Zarina CRM.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Zarina CRM Integration” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Zarina CRM Integration” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.1
- Moved the settings page under the Settings menu.
- Sanitized the site source value sent in the payload.
- Removed debug logging that could write the API key to the error log.
- Orders are no longer sent more than once.
- All interface strings are now translatable and escaped on output.
1.0
- Initial release.