Configurations for payment modules

This commit is contained in:
th.guenther committed 2026-07-29 15:49:26 +02:00
1 parent 8d6a4041c1
commit 78f4d813f9
19 files changed
+584 -51

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
<?php
namespace App\Enumerations;
use App\Scopes\CommonModel;
/**
* Lebenszyklus-Status einer Zahlung -- DB-gestützt, analog zu {@see InvoiceStatus}.
* Reine Steuersignale (z.B. Redirect) gehören NICHT hierher, sondern bleiben transiente
* Felder auf {@see \App\EventPaymentModules\DTO\DoPaymentResponse}.
*/
class PaymentStatus extends CommonModel
{
public const PAYMENT_STATUS_PENDING = 'pending';
public const PAYMENT_STATUS_SCHEDULED = 'scheduled';
public const PAYMENT_STATUS_PAID = 'paid';
public const PAYMENT_STATUS_FAILED = 'failed';
protected $table = 'payment_status';
protected $fillable = [
'slug',
];
}