chore: update iyzico payment processing and database schema
All checks were successful
Deploy / deploy (push) Successful in 9m3s

Enhanced the iyzico payment processing logic by updating the handling of checkout form content. Modified the order schema to include a new field for storing the checkout form content, ensuring it persists across page refreshes. Updated related functions to reflect these changes, improving the overall payment experience. Additionally, updated the app database to incorporate the latest changes.
This commit is contained in:
bilalgursen
2026-08-11 00:51:58 +03:00
parent 08419e6d1c
commit 5ccc9c1ffa
11 changed files with 1137 additions and 4 deletions

31
src/app/odeme/page.tsx Normal file
View File

@@ -0,0 +1,31 @@
import { Suspense } from "react";
import type { Metadata } from "next";
import { SiteFooter } from "@/components/site-footer";
import {
OdemeSayfasi,
OdemeSayfasiSkeleton,
} from "@/features/odeme/components/odeme-sayfasi";
export const metadata: Metadata = {
title: "Güvenli Ödeme",
robots: { index: false, follow: false },
};
export default function OdemePage({
searchParams,
}: {
searchParams: Promise<{ siparis?: string }>;
}) {
return (
<div className="flex min-h-screen flex-col bg-slate-50 text-slate-900">
<main className="mx-auto flex w-full max-w-xl flex-1 flex-col px-4 py-10">
<Suspense fallback={<OdemeSayfasiSkeleton />}>
{searchParams.then(({ siparis }) => (
<OdemeSayfasi siparisId={siparis} />
))}
</Suspense>
</main>
<SiteFooter />
</div>
);
}