Deployment: Target domain set to p2cgateway.store and environment variables synced
This commit is contained in:
@@ -23,7 +23,7 @@ export default function DocumentationPage() {
|
||||
setTimeout(() => setCopied(null), 2000);
|
||||
};
|
||||
|
||||
const checkoutUrlCode = `https://p2cgateway.com/checkout?merchant_id=YOUR_MERCHANT_ID&amount=100¤cy=TRY&ref_id=ORDER_123&callback_url=https://yoursite.com/success`;
|
||||
const checkoutUrlCode = `https://p2cgateway.store/checkout?merchant_id=YOUR_MERCHANT_ID&amount=100¤cy=TRY&ref_id=ORDER_123&callback_url=https://yoursite.com/success`;
|
||||
|
||||
return (
|
||||
<div className="max-w-5xl mx-auto space-y-12 pb-20 animate-in fade-in slide-in-from-bottom-4 duration-700">
|
||||
|
||||
@@ -125,7 +125,7 @@ export default function MerchantsPage() {
|
||||
const identifier = m.short_id || m.id;
|
||||
const paymentLink = typeof window !== 'undefined'
|
||||
? `${window.location.origin}/checkout?merchant_id=${identifier}&amount=0`
|
||||
: `https://p2cgateway.com/checkout?merchant_id=${identifier}&amount=0`;
|
||||
: `https://p2cgateway.store/checkout?merchant_id=${identifier}&amount=0`;
|
||||
|
||||
return (
|
||||
<div key={m.id} className="bg-white rounded-[40px] border border-gray-100 p-8 shadow-sm hover:shadow-md transition-shadow group">
|
||||
|
||||
@@ -59,7 +59,7 @@ export default function LoginPage() {
|
||||
required
|
||||
value={email}
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
placeholder="admin@p2cgateway.com"
|
||||
placeholder="admin@p2cgateway.store"
|
||||
className="w-full pl-14 pr-6 py-4 bg-gray-50 border-none rounded-2xl text-sm font-black text-gray-900 focus:ring-2 focus:ring-blue-500 outline-none placeholder:text-gray-300"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,7 @@ export default async function MerchantIntegrationPage(props: {
|
||||
redirect(`/merchant/${identifier}/login`);
|
||||
}
|
||||
|
||||
const host = process.env.NEXT_PUBLIC_BASE_URL || 'https://p2cgateway.com';
|
||||
const host = process.env.NEXT_PUBLIC_BASE_URL || 'https://p2cgateway.store';
|
||||
const checkoutUrl = `${host}/checkout?merchant_id=${merchant.short_id || merchant.id}&amount=100¤cy=TRY&ref_id=SİPARİŞ_123`;
|
||||
|
||||
return (
|
||||
|
||||
@@ -137,7 +137,7 @@ export default function Home() {
|
||||
</div>
|
||||
<pre className="text-blue-300">
|
||||
{`// Ödeme Linki Oluşturun
|
||||
const checkoutUrl = "https://p2cgateway.com/checkout";
|
||||
const checkoutUrl = "https://p2cgateway.store/checkout";
|
||||
const params = {
|
||||
merchant_id: "m_92183",
|
||||
amount: 250.00,
|
||||
|
||||
Reference in New Issue
Block a user