removed extra gateways
This commit is contained in:
@@ -9,7 +9,7 @@ useSeoMeta({
|
||||
|
||||
definePageMeta({
|
||||
layout: "cart",
|
||||
middleware: "check-is-logged-in",
|
||||
middleware: ["check-is-logged-in", "check-has-selected-address"],
|
||||
prevPage: { name: "cart-delivery", label: "انتخاب آدرس" },
|
||||
nextPage: { name: "payment", label: "پرداخت" },
|
||||
});
|
||||
@@ -19,48 +19,12 @@ definePageMeta({
|
||||
const router = useRouter();
|
||||
|
||||
const paymentGateways = ref<PaymentGateway[]>([
|
||||
{
|
||||
id: 1,
|
||||
picture: "/img/gateways/zarinpal.png",
|
||||
title: "زرین پال",
|
||||
type: "ZARINPAL",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
picture: "/img/gateways/sep.png",
|
||||
title: "سپ",
|
||||
type: "SEP",
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
picture: "/img/gateways/mellat-bank.png",
|
||||
title: "بانک ملت",
|
||||
type: "MELLAT",
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
picture: "/img/gateways/idpay.png",
|
||||
title: "آی دی پی",
|
||||
type: "IDPAY",
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
picture: "/img/gateways/zibal.png",
|
||||
title: "زیبال",
|
||||
type: "ZIBAL",
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
picture: "/img/gateways/bahamta.png",
|
||||
title: "باهمتا",
|
||||
type: "BAHAMTA",
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
picture: "/img/gateways/bmi.png",
|
||||
title: "بانک ملی",
|
||||
type: "BMI",
|
||||
},
|
||||
]);
|
||||
|
||||
const selectedGateway = computed({
|
||||
|
||||
Reference in New Issue
Block a user