Configurations for payment modules

This commit is contained in:
2026-07-29 15:49:26 +02:00
parent 8d6a4041c1
commit 78f4d813f9
19 changed files with 584 additions and 51 deletions
+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',
];
}