Add Transaction in Payment Callback
This commit is contained in:
@@ -15,6 +15,9 @@ type Transaction struct {
|
||||
Amount float64 `gorm:"not null"`
|
||||
CreatedAt time.Time `gorm:"autoCreateTime"`
|
||||
UpdatedAt time.Time `gorm:"autoUpdateTime"`
|
||||
SiteID *int64
|
||||
Fee float64
|
||||
Total float64
|
||||
}
|
||||
|
||||
type TransactionDB struct {
|
||||
|
||||
Reference in New Issue
Block a user