feat: add online payment management and checkout
Some checks failed
Check / delivery-static (push) Has been cancelled
Check / api (push) Has been cancelled
Check / web (push) Has been cancelled

Co-Authored-By: Craft Agent <agents-noreply@craft.do>
This commit is contained in:
2026-10-15 09:26:40 +08:00
parent 5353a4a128
commit dc2efcde08
41 changed files with 4855 additions and 21 deletions

View File

@@ -28,7 +28,7 @@ func TestBusinessMySQLIntegration(t *testing.T) {
if err = db.Ping(); err != nil {
t.Fatal(err)
}
for _, table := range []string{"instance_state_operations", "heartbeat_operations", "activation_operations", "license_instances", "order_operations", "offline_orders"} {
for _, table := range []string{"instance_state_operations", "heartbeat_operations", "activation_operations", "license_instances", "authorization_grant_logs", "payment_notifications", "payment_orders", "order_operations", "offline_orders"} {
if _, err = db.Exec("DELETE FROM " + table); err != nil {
t.Fatal(err)
}