Skip to content

Technical Plugin BlockonomicsYPT

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

Technical: BlockonomicsYPT plugin

Implements the legacy Blockonomics Bitcoin integration.

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: AVideo Streamer repository.
  • Reported version: 1.0.
  • Source revision: 7d48f2dfc0289236718a3f9fba7c5ffecff4a37f.
  • Entry class file: BlockonomicsYPT.php.

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

Behavior and operational checks

The user wiki marks this integration deprecated. Source availability alone does not establish current provider support or make it the preferred choice for new installations.

Dependencies

Plugin Required by declaration Source reason
YPTWallet Required Credits confirmed Bitcoin payments to the user wallet balance

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

Hook integration

Override Implementation
getTags() BlockonomicsYPT.php:31

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
APIKey Private setting; value omitted — source
Secret Private setting; value omitted — source
ExpireInSeconds 600 — 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
BlockonomicsYPT.php plugin entry class —
Objects/BlockonomicsOrder.php class/helper implementation —
callback.php PHP page/include/worker; inspect caller addr, secret, status, txid, value
check.php PHP page/include/worker; inspect caller addr
install/install.sql schema/migration SQL —
invoice.php PHP page/include/worker; inspect caller value

Data and migrations

Tables named in available CREATE TABLE statements: blockonomics_order. 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
getPluginDependencies() 9
getPRICE_URL() 17
getDescription() 23
getTags() 31
getName() 38
getUUID() 42
getPluginVersion() 46
getEmptyDataObject() 50
setUpPayment($total_cost = '<string>') 59
getNewAddress($api_key) 106

Supporting PHP declarations

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

Objects/BlockonomicsOrder.php

Declared classes: BlockonomicsOrder.

Named symbol Source
getSearchFieldsNames() 11
getTableName() 15
getId() 19
getAddr() 23
getTxid() 27
getStatus() 31
getCreated() 35
getBits() 39
getFormatedBits() 43
getBits_payed() 47
getFormatedBits_payed() 51
getUsers_id() 55
setAddr($addr) 59
setTxid($txid) 63
setStatus($status) 67
setBits($bits) 71
setBits_payed($bits_payed) 75
setUsers_id($users_id) 79
getTotal_value() 83
getCurrency() 87
setTotal_value($total_value) 91
setCurrency($currency) 95
loadFromAddress($id) 99
getFromAddressFromDb($id) 110
save() 125

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