Skip to content

Technical Plugin Wix

Daniel Neto edited this page Oct 29, 2026 · 1 revision

Technical: Wix plugin

Processes a local Wix order/webhook integration for supported access plans.

Audience: developers, advanced administrators and AI-assisted diagnosis. Plugin catalog.

Source baseline

  • Review date: 2026-10-29. Method: static source analysis; runtime/provider behavior was not exercised.
  • Code ownership: installation-specific local extension; no canonical repository identified.
  • Reported version: 1.1.
  • Entry class file: Wix.php.

Confirm the installed plugin version independently of the Streamer version. Configuration defaults below are not a dump of this installation's saved settings.

Dependencies

No literal dependency declaration was extracted. This does not prove the plugin is standalone.

Literal runtime plugin references: YPTWallet. These calls do not mean every referenced plugin is mandatory.

Hook integration

Override Implementation
updateScript() Wix.php:49
getPluginMenu() Wix.php:109

Configuration assignments

These are direct assignments inside getEmptyDataObject(), not evaluated effective defaults. Stored plugins.object_data, globals, structured values and conditional branches may alter runtime behavior. Private/default credential values are omitted.

Field Literal default or expression type Literal source label/help Evidence
webhookPublicKey Private setting; value omitted — source
webhookPublicKeyOrder Private setting; value omitted — source

Files and request surface

This inventory distinguishes implementation files from an API specification. Includes, templates, callbacks and CLI workers are not interchangeable HTTP endpoints. Request-field names below are direct source references, not a complete schema or permission declaration.

File Source role Direct request fields observed
Objects/Wix_log.php class/helper implementation —
View/Wix_log/add.json.php JSON entry point; inspect caller and guard id, json, order_id, order_number, users_id, value
View/Wix_log/delete.json.php JSON entry point; inspect caller and guard id
View/Wix_log/index.php PHP page/include/worker; inspect caller —
View/Wix_log/index_body.php PHP page/include/worker; inspect caller —
View/Wix_log/index_head.php PHP page/include/worker; inspect caller —
View/Wix_log/list.json.php JSON entry point; inspect caller and guard draw
View/editor.php PHP page/include/worker; inspect caller —
Wix.php plugin entry class —
WixCheckout.php class/helper implementation —
WixOld.php class/helper implementation —
WixOrder.php class/helper implementation —
debug.php PHP page/include/worker; inspect caller orderid
install/install.sql schema/migration SQL —
ppv_plans_sku.php PHP page/include/worker; inspect caller —
test.php PHP page/include/worker; inspect caller —
test2.php PHP page/include/worker; inspect caller —
webhook.php PHP page/include/worker; inspect caller —

Data and migrations

Tables named in available CREATE TABLE statements: wix_log. Apply installation/update behavior through the owning plugin; this reference is not a script for running historical migrations manually.

Main-file named symbols

Visibility and implementation semantics must be checked in source. Nonempty string defaults are represented as . This is a symbol reference, not a stable public API promise.

Function or method Source
getDescription() 23
getName() 34
getUUID() 39
getPluginVersion() 44
updateScript() 49
getEmptyDataObject() 61
getPluginMenu() 109
decodePayload($payload) 116
getItemsSKUArrayFromPayload($payload) 132
getUserEmailFromPayload($payload) 141
getOrderId($payloadDecoded) 150
getTotalPrice($payloadDecoded) 166
getBuyerInfo($payloadDecoded) 176
addPayloadIntoPlan($payload) 193
getOrCreateUserFromEmail($email) 289
getOrCreateUserFromPayloadEmail($payload) 299
getSKU($plans_id, $sku_type) 312
decodeSKU($sku) 320

Supporting PHP declarations

These symbols are grouped by source file; inspect the class declaration and visibility before calling them.

Objects/Wix_log.php

Declared classes: Wix_log.

Named symbol Source
getSearchFieldsNames() 9
getTableName() 13
getAllUsers() 17
getAllOrder() 42
setId($id) 67
setJson($json) 71
setValue($value) 78
setUsers_id($users_id) 82
setOrder_id($order_id) 86
setOrder_number($order_number) 90
getId() 94
getJson() 98
getValue() 102
getUsers_id() 106
getOrder_id() 110
getOrder_number() 114
orderIdExists($order_id) 118

WixCheckout.php

Declared classes: WixCheckout.

Named symbol Source
decodePayload($payload) 15
getUserEmailFromPayload($payload) 59
getItemsSKUArrayFromPayload($payload) 82
addPayloadIntoPlan($payload) 138

WixOld.php

Declared classes: WixOld.

Named symbol Source
getDescription() 16
getName() 26
getUUID() 30
getPluginVersion() 34
updateScript() 38
getEmptyDataObject() 49
getPluginMenu() 82
decodePayload($payload) 88
getUserEmailFromPayload($payload) 136
getItemsSKUArrayFromPayload($payload) 160
addPayloadIntoPlan($payload) 197
getOrCreateUserFromEmail($email) 261
getOrCreateUserFromPayloadEmail($payload) 270
getSKU($plans_id, $sku_type) 282
decodeSKU($sku) 289

WixOrder.php

Declared classes: WixOrder.

Named symbol Source
decodePayload($payload) 14
getUserEmailFromPayload($payload) 63
getItemsSKUArrayFromPayload($payload) 88
addPayloadIntoPlan($payload) 126

Diagnostics and validation

  1. Check the installed/enabled version and the dependencies/settings above.
  2. Identify the actual failing page, request, callback or worker and correlate its timestamp with the AVideo log.
  3. Follow the linked method and caller. Check business-state changes and output artifacts as well as HTTP status.
  4. Reproduce the relevant workflow in a test environment. External provider, Encoder, live-server, storage, payment and authenticated flows require their real integrations.

Shared diagnostic workflow. This page is not a security audit or a claim of end-to-end validation.

Clone this wiki locally