Phase7: Void/Refund logic

This commit is contained in:
admin committed 2026-05-25 22:00:24 +02:00
1 parent e15a668f8e
commit 9b0bac2d3b
2 files changed
+8 -2

No files matched your search

@@ -80,6 +80,9 @@ export async function POST(
{ status: 409 }
);
}
return NextResponse.json(safeError(e), { status: 500 });
return NextResponse.json(
{ error: safeError(e, "Refund failed") },
{ status: 500 }
);
}
}
@@ -69,6 +69,9 @@ export async function POST(
{ status: 409 }
);
}
return NextResponse.json(safeError(e), { status: 500 });
return NextResponse.json(
{ error: safeError(e, "Void failed") },
{ status: 500 }
);
}
}