fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
+7 -5
View File
@@ -2,6 +2,8 @@
namespace App\Models;
use App\Models\BaseModel;
class PaypalTransaction extends BaseModel
{
protected $table = 'paypal_transactions';
@@ -27,11 +29,11 @@ class PaypalTransaction extends BaseModel
];
protected $casts = [
'payment_id' => 'integer',
'amount' => 'decimal:2', // adjust precision if needed
'transaction_fee' => 'decimal:2', // adjust precision if needed
'payment_id' => 'integer',
'amount' => 'decimal:2', // adjust precision if needed
'transaction_fee' => 'decimal:2', // adjust precision if needed
// raw_data is often JSON; if it's JSON in DB, cast to array
'raw_data' => 'array',
'raw_data' => 'array',
];
/* Optional relationship */
@@ -39,4 +41,4 @@ class PaypalTransaction extends BaseModel
{
return $this->belongsTo(Payment::class, 'payment_id');
}
}
}