Commit graph

20 commits

Author SHA1 Message Date
ccc6f85809 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
a95c2b665b 14-04-2026 2026-04-14 18:07:45 +02:00
4a8f4b4abc 20-02-2026 2026-02-20 17:55:06 +01:00
7325edebbd 23-01-2026 2026-01-23 17:35:23 +01:00
Kevin Adametz
824fa43e96 Updates to 03-2025 2025-04-01 10:36:47 +02:00
Kevin Adametz
7ec90d7e18 08 2024 2024-08-05 12:05:24 +02:00
Kevin Adametz
87f3fd3c7e Homeparty online, Cron SEPA 2021-04-23 14:54:09 +02:00
Kevin Adametz
a19f7700ea Next Member Shopping 2020-08-21 18:20:40 +02:00
Kevin Adametz
eec6c6f8f0 register, Grundpreis 2020-04-01 15:35:11 +02:00
Kevin Adametz
d16781edff Berater Register, Mitgliedschat live
https://dev.adametz.media:3000/cliquers/mivita.care/issues/3
2020-03-09 14:45:09 +01:00
Kevin Adametz
557146fe78 Membership 2020-03-07 19:44:58 +01:00
Kevin Adametz
82e5a0c345 membership register 2020-02-15 14:53:32 +01:00
Kevin Adametz
3c0ab0f627 SEPA Payment 2020-01-08 19:40:16 +01:00
Kevin Adametz
1ad3f80bb0 Credit Card + php 7.3 2020-01-02 14:07:59 +01:00
Kevin Adametz
63afff13ad 23.11 Upload to live 2019-11-23 15:02:41 +01:00
Kevin Adametz
efd3912a32 last fix for first online 2019-03-28 14:51:50 +01:00
Kevin Adametz
8ab92621f8 Payone, Shop, wizard 2019-03-04 17:05:44 +01:00
Kevin Adametz
cb9082a8c6 payment Card first 4 payments inc. mails 2019-02-28 18:09:54 +01:00
Kevin Adametz
075a3675d5 save order 2019-02-25 22:16:08 +01:00
Kevin Adametz
3240061228 payone 2 2019-02-22 18:41:06 +01:00