Spaces:
Running

site / guide-payment.html
rpic-school's picture
Add 7 free study guides + Free Guides section on home
c2f7c20 verified
Raw History Blame Contribute Delete
4.54 kB
<!DOCTYPE html>
<html lang="hi"><head>
<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Payment Gateway Integrator Guide | DS Tech Studio</title>
<link rel="preconnect" href="https://fonts.googleapis.com"><link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Sora:wght@700;800&display=swap" rel="stylesheet">
<style>
:root{--bg:#05070f;--bg2:#0a0f1f;--card:#0d1322;--card2:#131a30;--txt:#e8eefc;--mut:#93a1c4;--acc:#3b82f6;--acc2:#22d3ee;--line:rgba(148,163,184,.14)}
*{margin:0;padding:0;box-sizing:border-box}
body{background:var(--bg);color:var(--txt);font-family:'Poppins',sans-serif;line-height:1.7}
.top{position:sticky;top:0;z-index:10;background:rgba(5,7,15,.85);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.tin{max-width:920px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;justify-content:space-between}
.top a{color:var(--acc2);text-decoration:none;font-weight:600;font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.brand{font-family:'Sora',sans-serif;font-weight:800;font-size:16px}
.wrap{max-width:920px;margin:0 auto;padding:36px 20px 60px}
.kick{color:#7ea2e8;font-size:12px;font-weight:600;letter-spacing:2.5px;text-transform:uppercase}
h1{font-family:'Sora',sans-serif;font-size:clamp(30px,6vw,44px);font-weight:800;line-height:1.15;margin:8px 0 10px}
.gradtxt{background:linear-gradient(90deg,#3b82f6,#22d3ee);-webkit-background-clip:text;background-clip:text;color:transparent}
.sub{color:var(--mut);font-size:16px;max-width:720px}
.g{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px 24px;margin-top:18px}
.g h2{font-size:19px;margin-bottom:8px}
.g p{color:var(--mut);font-size:15px}
.cta{margin-top:26px;background:var(--card2);border:1px solid var(--line);border-radius:18px;padding:22px;text-align:center}
.btn{display:inline-block;margin-top:10px;padding:13px 26px;border-radius:12px;background:linear-gradient(90deg,#2563eb,#22d3ee);color:#fff;text-decoration:none;font-weight:700;font-size:15px}
.foot{text-align:center;color:#5f6b8f;font-size:12.5px;padding:18px 0 34px}
:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}
@media(max-width:600px){.g{padding:18px}.g p{font-size:15.5px}}
</style></head><body>
<div class="top"><div class="tin"><span class="brand">DS Tech Studio</span><a href="https://dstechstudio-site.static.hf.space/">&larr; Wapas website par</a></div></div>
<div class="wrap">
<div class="kick">Free Guide &middot; payment-gateway-integrator</div>
<h1>Payment Gateway Integrator Guide <span class="gradtxt">Hindi Guide</span></h1>
<p class="sub">Stripe, PayPal, Square integrations: checkout, subscriptions, webhooks, idempotency aur PCI — sab secure.</p>
<section class="g"><h2>Pehle decide karo</h2><p>Kaunsa processor (Stripe/PayPal/Square), one-time ya subscription, currencies aur regions (EU/UK par SCA/3DS2 lagu), hosted checkout ya embedded element.</p></section>
<section class="g"><h2>PCI scope kam rakho</h2><p>Raw card data kabhi servers par nahi — processor ke hosted fields/elements (Stripe Payment Element, PayPal Hosted Fields, Square Web SDK) use karo. Card number/CVV log ya store kabhi nahi.</p></section>
<section class="g"><h2>Idempotency</h2><p>Har payment-creating call par idempotency key: business operation ke liye pehle persist karo, same key dobara different params se use na karo.</p></section>
<section class="g"><h2>Webhooks sahi verify karo</h2><p>Signature verification raw (unparsed) body par: webhook route par express.raw() global express.json() se PEHLE mount karo. Sahi mode ka signing secret (test/live), replay tolerance (~5 min), turant 2xx, event.id par idempotent processing.</p></section>
<section class="g"><h2>SCA / 3D Secure</h2><p>PaymentIntents/SetupIntents intent-based flow use karo taki EU/UK (PSD2) customers par 3DS2 challenge khud chale, kabhi bypass na karo.</p></section>
<section class="g"><h2>Edge cases</h2><p>Failed payments, partial/full refunds, disputes aur chargebacks, currency conversion, aur processor report vs apne records ka reconciliation — sab handle karo. Secrets sirf env vars me, test aur live keys alag.</p></section>
<div class="cta"><b>Koi project ya kaam chahiye?</b><br><a class="btn" href="https://dstechstudio-site.static.hf.space/#request">Request bhejein</a></div>
</div>
<div class="foot">DS Tech Studio &middot; Digital Solutions &middot; Web &middot; Design &middot; Automation &middot; IoT</div>
</body></html>