Add Transaction in Payment Callback

This commit is contained in:
aditya.siregar
2024-08-28 00:05:47 +07:00
parent 986e0b67a0
commit 6528196d23
2 changed files with 44 additions and 17 deletions
+3
View File
@@ -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 {