Changeset 3784581
- Timestamp:
- 11/04/2026 06:31:18 PM (65 minutes ago)
- Location:
- catalogpilot-connector
- Files:
-
- 6 edited
- 1 copied
-
tags/0.1.92 (copied) (copied from catalogpilot-connector/trunk )
-
tags/0.1.92/catalogpilot-connector.php (modified) (3 diffs)
-
tags/0.1.92/changelog.txt (modified) (1 diff)
-
tags/0.1.92/readme.txt (modified) (2 diffs)
-
trunk/catalogpilot-connector.php (modified) (3 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
catalogpilot-connector/tags/0.1.92/catalogpilot-connector.php
r3781347 r3784581 5 5 * Plugin URI: https://catalog-pilot.com/ 6 6 * Description: Connects WooCommerce to CatalogPilot for catalog synchronization and approved storefront content delivery. 7 * Version: 0.1.9 07 * Version: 0.1.92 8 8 * Author: CatalogPilot 9 9 * Author URI: https://advision-ecommerce.com/ … … 1163 1163 } 1164 1164 1165 if (is_string($secret) && function_exists('get_woocommerce_currency')) { 1166 $data['signup_metadata'] = [ 1167 'contract_version' => 1, 1168 'currency' => strtoupper((string) get_woocommerce_currency()), 1169 'plugin_version' => CatalogPilotWooConnector::PLUGIN_VERSION, 1170 ]; 1171 $data['signup_metadata_proof'] = hash_hmac('sha256', implode("\n", [ 1172 'CP1-SIGNUP-METADATA', $challenge, $data['credential_id'], $data['site_uuid'], 1173 $data['instance_url'], $data['storefront_url'], '1', $data['signup_metadata']['currency'], 1174 $data['signup_metadata']['plugin_version'], 1175 ]), $secret); 1176 } 1177 1165 1178 return rest_ensure_response($data); 1166 1179 } … … 1205 1218 public const CAPABILITY = 'manage_woocommerce'; 1206 1219 1207 public const PLUGIN_VERSION = '0.1.90'; 1220 public const PLUGIN_VERSION = '0.1.92'; 1221 1208 1222 1209 1223 /** -
catalogpilot-connector/tags/0.1.92/changelog.txt
r3781347 r3784581 1 2026-11-03 - version 0.1.92 2 * Add signed signup metadata for store currency and plugin capability without changing the existing connection proof. 3 1 4 *** CatalogPilot Connector Changelog *** 5 6 2026-11-03 - version 0.1.91 7 8 * Added - Private channel updates are installed only when signed by CatalogPilot. 2 9 3 10 2026-11-02 - version 0.1.90 -
catalogpilot-connector/tags/0.1.92/readme.txt
r3781347 r3784581 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 0.1.9 07 Stable tag: 0.1.92 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 129 129 130 130 == Changelog == 131 132 = 0.1.92 = 133 * Add authenticated store currency metadata for pairing during signup. Existing connections remain compatible. 134 135 = 0.1.91 = 136 137 * Added - Private channel updates are installed only when signed by CatalogPilot. 131 138 132 139 = 0.1.90 = -
catalogpilot-connector/trunk/catalogpilot-connector.php
r3781347 r3784581 5 5 * Plugin URI: https://catalog-pilot.com/ 6 6 * Description: Connects WooCommerce to CatalogPilot for catalog synchronization and approved storefront content delivery. 7 * Version: 0.1.9 07 * Version: 0.1.92 8 8 * Author: CatalogPilot 9 9 * Author URI: https://advision-ecommerce.com/ … … 1163 1163 } 1164 1164 1165 if (is_string($secret) && function_exists('get_woocommerce_currency')) { 1166 $data['signup_metadata'] = [ 1167 'contract_version' => 1, 1168 'currency' => strtoupper((string) get_woocommerce_currency()), 1169 'plugin_version' => CatalogPilotWooConnector::PLUGIN_VERSION, 1170 ]; 1171 $data['signup_metadata_proof'] = hash_hmac('sha256', implode("\n", [ 1172 'CP1-SIGNUP-METADATA', $challenge, $data['credential_id'], $data['site_uuid'], 1173 $data['instance_url'], $data['storefront_url'], '1', $data['signup_metadata']['currency'], 1174 $data['signup_metadata']['plugin_version'], 1175 ]), $secret); 1176 } 1177 1165 1178 return rest_ensure_response($data); 1166 1179 } … … 1205 1218 public const CAPABILITY = 'manage_woocommerce'; 1206 1219 1207 public const PLUGIN_VERSION = '0.1.90'; 1220 public const PLUGIN_VERSION = '0.1.92'; 1221 1208 1222 1209 1223 /** -
catalogpilot-connector/trunk/changelog.txt
r3781347 r3784581 1 2026-11-03 - version 0.1.92 2 * Add signed signup metadata for store currency and plugin capability without changing the existing connection proof. 3 1 4 *** CatalogPilot Connector Changelog *** 5 6 2026-11-03 - version 0.1.91 7 8 * Added - Private channel updates are installed only when signed by CatalogPilot. 2 9 3 10 2026-11-02 - version 0.1.90 -
catalogpilot-connector/trunk/readme.txt
r3781347 r3784581 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 0.1.9 07 Stable tag: 0.1.92 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 129 129 130 130 == Changelog == 131 132 = 0.1.92 = 133 * Add authenticated store currency metadata for pairing during signup. Existing connections remain compatible. 134 135 = 0.1.91 = 136 137 * Added - Private channel updates are installed only when signed by CatalogPilot. 131 138 132 139 = 0.1.90 =
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)