Commit graph

20 commits

Author SHA1 Message Date
8593dbe65d Payment Phase R: PAYONE-Integration entflechten (R1–R7 + Review)
Strangler-Refactoring der PAYONE-Zahlungslogik in eine testbare
Service-Schicht, ohne Verhalten in Checkout/Cron/IPN zu ändern.

Neue Services (app/Services/Payment/Payone):
- PayonePaymentService (+ PayonePaymentResult-DTO) für CC-/SEPA-Check
  und Abo-Abbuchung
- PayoneRequestBuilder, PaymentMethodResolver, PayoneMethodConfig
- PayoneTransactionRecorder: zentrale PaymentTransaction-Erstellung
  (API-Response, Invoice, Webhook) inkl. PCI-Redaction (cardpan/cardcvc2)
- PayoneWebhookHandler (+ PayoneWebhookResult): IPN/TSOK-Logik aus
  Api\PayoneController; response('TSOK') statt echo/exit
- PayoneTransportException + Handler-Mapping (403) statt abort() im Service

Hotfixes (R1): var_dump/exit & bare exit() entfernt, Log-Redaction.

Security (R-Review):
- PAYONE_KEY_HASH (MD5-Hash, kein Klartext) mit Boot-Hard-Fail; schließt
  zugleich die ''-Webhook-Bypass-Lücke. Artisan-Command payone:hash-key
  (verdeckte Eingabe, optional --write) zur Hash-Erzeugung.
- Webhook: txaction Pflichtfeld, mode-Fallback auf payment->mode.

Pay\PayoneController ist @deprecated-Fassade (614 → 328 Zeilen),
delegiert an Services via Container-Singleton.

Migration: fehlende Spalte shopping_payments.carddata nachgezogen.

Tests: 47 grün (PayonePaymentService, Recorder, Webhook, Resolver,
TransportException, hash-key). End-to-End im Test-System verifiziert
(siehe dev/2026-06-09-payments).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 13:42:45 +00:00
0f82fea88a 14-04-2026 2026-04-14 18:07:45 +02:00
a00c42e770 20-02-2026 2026-02-20 17:55:06 +01:00
a8b395e20d 23-01-2026 2026-01-23 17:35:23 +01:00
Kevin Adametz
9ae662f63e Updates to 03-2025 2025-04-01 10:36:47 +02:00
Kevin Adametz
bfa3bb1df4 08 2024 2024-08-05 12:05:24 +02:00
Kevin Adametz
36872100c6 Homeparty online, Cron SEPA 2021-04-23 14:54:09 +02:00
Kevin Adametz
16fe2fa363 Next Member Shopping 2020-08-21 18:20:40 +02:00
Kevin Adametz
8e4bb0c2f6 register, Grundpreis 2020-04-01 15:35:11 +02:00
Kevin Adametz
1ada368ed4 Berater Register, Mitgliedschat live
https://dev.adametz.media:3000/cliquers/mivita.care/issues/3
2020-03-09 14:45:09 +01:00
Kevin Adametz
21abafb8db Membership 2020-03-07 19:44:58 +01:00
Kevin Adametz
37cb2b06c7 membership register 2020-02-15 14:53:32 +01:00
Kevin Adametz
f117f79bb9 SEPA Payment 2020-01-08 19:40:16 +01:00
Kevin Adametz
f03862b523 Credit Card + php 7.3 2020-01-02 14:07:59 +01:00
Kevin Adametz
8ebdacec98 23.11 Upload to live 2019-11-23 15:02:41 +01:00
Kevin Adametz
ebac67b81f last fix for first online 2019-03-28 14:51:50 +01:00
Kevin Adametz
044a6bf253 Payone, Shop, wizard 2019-03-04 17:05:44 +01:00
Kevin Adametz
6e3adac4d7 payment Card first 4 payments inc. mails 2019-02-28 18:09:54 +01:00
Kevin Adametz
c20deac3fe save order 2019-02-25 22:16:08 +01:00
Kevin Adametz
d1dae9b736 payone 2 2019-02-22 18:41:06 +01:00