ver. 0.313: fix sync płatności Apilo + logowanie decyzji sync

Fix: (int) cast na apilo_order_id (format "PPxxxxxx") dawał 0, przez co
syncApiloPayment() i syncApiloStatus() pomijały wywołanie API Apilo.
Zmiana na empty() w obu metodach.

New: logowanie ApiloLogger w syncApiloPaymentIfNeeded() i
syncApiloStatusIfNeeded() — każda ścieżka decyzyjna zapisuje wpis
do pp_log z kontekstem.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-23 11:44:11 +01:00
parent 87ce6d1fb6
commit ba67f3a59c
4 changed files with 95 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<?
$current_ver = 312;
$current_ver = 313;
for ($i = 1; $i <= $current_ver; $i++)
{