wein.cc Webhooks
wein.cc Webhooks
Description
This plugin connects your WooCommerce shop with the wein.cc platform. It provides two core features:
1. Product Synchronization
Whenever a product changes (created, updated, deleted), the plugin sends a signed webhook request to wein.cc. The signature uses HMAC-SHA256 with the secret you provide. This keeps the product catalog on wein.cc up to date automatically.
The following product data is transmitted:
* Product ID, SKU, name, description
* Prices (including gross prices in the shop currency)
* Stock, availability, categories, images
2. Cart Transfer via URL
Customers coming from wein.cc to your shop can bring their cart with them. The plugin accepts URLs in the following format:
https://your-shop.com/?wein_cc_skus=SKU1,SKU2&wein_cc_qty=1,2&coupon=XYZ&wein_cc_sig=<hmac-sha256>
The products are added to the cart automatically, an optional coupon is applied, and the customer is redirected to the cart.
Requirements
- WooCommerce (active)
- WordPress 6.2 or higher
- PHP 8.0 or higher
Setup
- Install and activate the plugin
- Read and accept the usage notice on the settings page
- Enter the Merchant ID and Secret Key from the merchant dashboard at https://extranet.wein.cc
- Save – the webhooks are registered automatically
External services
This plugin uses the following external services:
wein.cc Webhook Endpoint
- Purpose: Transmission of product data for synchronization with the wein.cc platform.
- When: On every creation, update, or deletion of a product in the shop – provided the user has configured the plugin and accepted the usage notice.
- Which data: Product ID, SKU, name, description, prices, stock, categories, images, a signature for authentication.
- Where: https://www.wein.cc/woocommerce_webhook.php
- Provider: wein.cc, https://www.wein.cc
- Privacy: https://www.wein.cc/wein/about.php?x=5
No communication with external servers takes place as long as the plugin is not configured (Merchant ID + Secret missing) or the user has not accepted the notice.
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory, or install the plugin directly through the WordPress plugin search. - Activate the plugin through the “Plugins” menu in WordPress.
- Open the “wein.cc” menu item in the admin menu and enter your Merchant ID and Secret Key, which you receive in the merchant dashboard at https://extranet.wein.cc.
- Confirm the usage notice and save the settings.
Faq
Yes. The plugin works exclusively with WooCommerce and cannot be used without it.
Both credentials are provided after registering as a merchant in the dashboard at https://extranet.wein.cc.
The registered webhooks remain in WooCommerce, but no new data is sent. You can remove them manually under WooCommerce Settings Advanced Webhooks.
When deleted through the WordPress plugin management, the plugin automatically removes all webhooks it registered as well as the stored options. No data is sent to external servers during this process.
All requests go to https://www.wein.cc/woocommerce_webhook.php
Only product data (SKU, prices, stock, categories, images) and a signature for authentication are transmitted. No personal data of end customers is transmitted.
On the plugin settings page you will find the “Recreate webhooks” button. One click re-registers all three webhooks (product.created, product.updated, product.deleted).
Reviews
Changelog
1.0.3
- Cart transfer via URL (wein_cc_skus, wein_cc_qty, coupon)
- Usage notice with opt-in checkbox before data flow
- Webhook status overview in admin
- “Recreate webhooks” button
1.0.0
- Initial release
- Product synchronization via WooCommerce webhooks
- HMAC-SHA256 signing