Skip to content

Fix payment transaction models for nullable fields and statuses - #17

Merged
DarkGL merged 1 commit into
mainfrom
fix/payment-transaction-models
Nov 22, 2026
Merged

DarkGL merged 1 commit into
mainfrom
fix/payment-transaction-models

Conversation

@DarkGL

@DarkGL DarkGL commented Nov 22, 2026 •

Copy link
Copy Markdown
Member
  • Lista transakcji: paid_at, control i channel mogą być null. Wcześniej control lub channel równe null dawało TypeError, a nieopłacona transakcja dostawała paidAt z bieżącą datą.
  • Szczegóły transakcji: amount.value i amount.commission są rzutowane na float.
  • PaymentServiceTransactionStatus: FAILED to transaction_failure. Doszły statusy REFUNDED, FRAUD i FRAUD_POSSIBILITY. CANCELED jest oznaczony jako deprecated, bo API go nie zwraca.

Na main 2 testy padają, tutaj przechodzi 25/25 (PHP 7.4 i 8.4).

@DarkGL
DarkGL merged commit 4f714a2 into main Nov 22, 2026
7 checks passed
@DarkGL
DarkGL deleted the fix/payment-transaction-models branch November 22, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant