feat: Implement VNPAY callback redirection to frontend and add UUID/public code to transactions.
This commit is contained in:
@@ -5,13 +5,16 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use App\Traits\HasUuid;
|
||||
|
||||
class Transaction extends Model
|
||||
{
|
||||
use HasFactory, SoftDeletes;
|
||||
use HasFactory, SoftDeletes, HasUuid;
|
||||
protected $table = 'transactions';
|
||||
|
||||
protected $fillable = [
|
||||
'uuid',
|
||||
'public_code',
|
||||
'trans',
|
||||
'amount',
|
||||
'customer_id',
|
||||
|
||||
Reference in New Issue
Block a user