Payment gateway development in 2026 operates under PCI DSS 4.0 (mandatory from March 2025), with digital wallets capturing 49% of global e-commerce and UPI processing 17.6 billion monthly transactions in India. The checkout architecture that converts is multi-method: card, UPI, BNPL, wallet, and stablecoin rails in a single unified flow. Code24x7 integrates Stripe, Razorpay, PayU, and crypto payment infrastructure with PCI DSS 4.0 compliance, SCA handling for PSD2, automated reconciliation, and subscription billing — for web, mobile, and in-app commerce.
PCI DSS 4.0 became mandatory in March 2025 — non-compliant merchants face card network fines. In India, UPI captured 48% of digital payments in 2025; skipping it costs half your transaction volume. BNPL reaches $576B globally in 2026, reducing cart abandonment by 29% for the 18–34 demographic. Code24x7 builds payment integrations that pass PCI DSS 4.0 assessment, cover every relevant payment method for your market, and instrument checkout events for conversion analysis.
Digital Wallets — Global E-Commerce Share
Worldpay GPR 2025UPI Monthly Transactions (Dec 2024)
NPCI 2025BNPL Global Market 2026
Market Research 2025Cart Abandonment Reduction with BNPL
Baymard Institute 2026PCI DSS 4.0 compliant architecture — SAQ A/SAQ A-EP qualification through hosted fields, no raw card data touching your servers
Stripe Payment Element: adaptive UI detecting payment method preferences per customer and geography
Razorpay, PayU, and CCAvenue for Indian market — UPI, UPI AutoPay recurring, netbanking, EMI, and Indian wallets
BNPL integration: Affirm, Klarna, Simpl, LazyPay — reduces cart abandonment for orders over $100/₹5,000
Apple Pay, Google Pay, and Shop Pay one-tap checkout — eliminates form friction on mobile and reduces abandonment
Strong Customer Authentication (SCA) and 3DS2 handling for European PSD2 compliance without breaking conversion
Subscription billing: Stripe Billing or Chargebee with dunning management, proration logic, and trial handling
Crypto payment rails: USDC/USDT acceptance via Coinbase Commerce or direct on-chain with automatic fiat conversion
Payment gateway integration serves any business accepting online payments — but the complexity varies dramatically based on geography, business model, and payment method requirements. Off-the-shelf Shopify payments work for simple retail. Custom payment integration is required when you're building a SaaS platform with subscription billing, a marketplace with split payments and escrow, an international business needing local payment method coverage, or a regulated business with specific compliance requirements.

Subscription billing requires more than recurring charge execution: trial-to-paid conversion flows, proration on plan upgrades/downgrades, dunning management for failed payments, pause and cancellation flows that comply with consumer protection law, and metered billing for usage-based pricing. Stripe Billing and Chargebee provide this infrastructure; we integrate it correctly with your application's entitlement logic.
UPI is non-negotiable for Indian checkout: 48% of digital payment volume, preferred by younger demographics, and essential for conversions under ₹500 where card fees are disproportionate. Razorpay provides UPI, UPI AutoPay for subscriptions, netbanking, EMI, and Indian wallets in one integration. Indian-market payment optimization is a specific expertise, not a generic payment integration.
Marketplace payments require split payouts to multiple sellers, escrow for transaction trust, connected account onboarding (KYC for sellers), platform fee extraction, and dispute mediation workflows. Stripe Connect enables this pattern — we design the payment architecture, onboarding flow, payout schedule, and dispute handling that marketplace commerce requires.
Accepting payments across markets requires local payment method support (SEPA Direct Debit for Europe, BECS for Australia, ACH for US), multi-currency pricing with FX management, tax calculation (VAT, GST, sales tax) per jurisdiction, and reporting that consolidates multi-currency revenue into functional currency financials.
Regulated professional services have specific payment compliance requirements: FSA/HSA payment acceptance for healthcare, client trust account compliance for legal, and escrow requirements for licensed real estate transactions. These require payment infrastructure designed for the regulatory context, not generic checkout integration.
Applications accepting both traditional payments and cryptocurrency require hybrid checkout flows: card/UPI for users without crypto wallets, stablecoin payment (USDC/USDT) for crypto-native users, and automatic conversion where needed. Coinbase Commerce, Stripe's crypto ramp, and direct on-chain payment with fiat conversion APIs enable this pattern.
We believe in honest communication. Here are situations where you might want to consider alternative approaches:
Simple retail stores on Shopify or WooCommerce — native payment plugins handle standard card and PayPal acceptance without custom development
Apps needing a single payment method only — Stripe Checkout handles straightforward card acceptance without engineering custom payment flows
Early-stage products pre-revenue — integrate the simplest option first, optimize checkout architecture after you have conversion data to work with
High-risk merchant categories (CBD, adult content, certain financial products) without verified merchant account approval from relevant processors first
We're here to help you find the right solution. Let's have an honest conversation about your specific needs and determine if Payment Gateway Development - PCI DSS 4.0 is the right fit for your business.
Complete checkout implementation using Stripe Payment Element — adaptive UI that detects available payment methods per customer geography and device, with card, Apple Pay, Google Pay, Link (Stripe's one-click checkout), BNPL, and bank transfer displayed contextually. PCI DSS 4.0 SAQ A compliance via hosted Stripe fields. Payment Intents API for proper authentication handling, partial capture for physical goods, and automatic 3DS2 challenge for SCA jurisdictions.
Example: Direct-to-consumer fashion brand: Stripe Payment Element replacing custom checkout — Apple Pay/Google Pay showing on 74% of mobile sessions, BNPL (Klarna) reducing average order value abandonment by 31% for orders over ₹3,000, 3DS2 SCA handling without conversion drop. Checkout completion rate increased from 62% to 78%
Complete Indian payment stack via Razorpay or PayU: UPI collect flow and UPI Intent for mobile, UPI AutoPay for recurring mandates up to ₹1 lakh, netbanking for 60+ banks, EMI on Bajaj/HDFC/ICICI, and Indian wallets (Paytm, PhonePe, Amazon Pay). RBI-compliant mandate flows, 2FA on card transactions, and dynamic currency conversion for international buyers paying in Indian market. Automated reconciliation against payment gateway settlement reports.
Example: EdTech SaaS platform: Razorpay integration with UPI AutoPay subscriptions replacing manual monthly payments. Monthly churn from failed payments reduced from 8% to 1.8% via UPI mandate — auto-debit on due date without user action. Course completion rates 34% higher for mandate-enrolled students vs manual payment students
Complete subscription billing infrastructure on Stripe Billing or Chargebee: tiered plans with feature entitlements, annual/monthly billing with proration, usage-based metered billing for API or compute consumption, trial-to-paid conversion flows with card collection at trial start or trial end, dunning management (smart retry schedule + email sequences for failed payments), and pause/cancel flows compliant with EU consumer protection laws and India's RBI subscription guidelines.
Example: B2B SaaS platform: Stripe Billing implementation with 4-tier plans, annual/monthly, usage-based overage billing, and smart dunning recovering 68% of failed subscription renewals automatically. Annual billing adoption reached 44% after removing friction from annual checkout flow, improving cash flow by $2.1M annually
Buy Now Pay Later integration for checkout conversion: Affirm and Klarna for US/Europe markets, Simpl and LazyPay for India, ZestMoney for EMI without credit card. BNPL displayed conditionally based on order value threshold (typically $50+/₹2,500+) and user eligibility. A/B testing BNPL placement and messaging for conversion optimization. BNPL-specific refund and dispute workflows distinct from card dispute flows.
Example: Consumer electronics marketplace: Simpl and LazyPay integrated for orders ₹2,000+, Bajaj EMI for ₹10,000+. BNPL share of checkouts reached 34% within 3 months, average order value for BNPL transactions 2.3x higher than card. Cart abandonment for mid-range products (₹3,000–₹8,000) reduced by 26%
Multi-sided marketplace payment architecture using Stripe Connect: seller onboarding with KYC/identity verification, platform fee extraction, split payouts (immediate or scheduled), escrow hold until service delivery confirmation, dispute management with buyer protection, and automated 1099-K tax reporting for US sellers. Supports both Express (Stripe-managed seller dashboard) and Custom (fully branded seller onboarding) accounts.
Example: Freelance services marketplace: Stripe Connect Custom with 14-day escrow, 8% platform fee, seller KYC (Stripe Identity), and automatic payout on client approval. $4.2M monthly GMV processed, dispute rate 0.4% (vs 1.8% industry average for equivalent category), 1099-K automated for 340 US sellers exceeding reporting threshold
Hybrid fiat + crypto checkout: traditional card/UPI checkout for mainstream users alongside stablecoin payment option (USDC/USDT) for crypto-native users. Coinbase Commerce for custodial crypto acceptance with automatic fiat conversion. Direct on-chain payment detection for non-custodial acceptance. Stripe's fiat-to-crypto on-ramp for users who want to pay crypto but hold fiat. Automatic reconciliation converting on-chain payment amounts to functional currency for accounting.
Example: Web3 SaaS tool: Stripe for fiat (card/UPI), Coinbase Commerce for USDC/ETH. 22% of enterprise revenue comes from crypto payments (USDC). Cryptocurrency acceptance converted 3 Fortune 500 design agencies whose finance teams won't process international wire transfers but approved USDC payments. Zero chargebacks on crypto payments
Payment integration quality directly determines checkout conversion — the difference between professional and amateur payment integration shows up in the revenue line, not just the code.
PCI DSS 4.0 compliance through architectural decisions — hosted payment fields (Stripe Elements, Razorpay Standard) that never pass raw card data through your servers, SAQ A qualification that minimizes compliance scope, and Content Security Policy headers preventing card data skimming by injected scripts. Compliance built in, not audited in.
Payment method coverage directly determines conversion rate. Digital wallets capture 49% of global e-commerce; UPI captures 48% of Indian digital payments; BNPL reduces abandonment 29% for the 18–34 demographic. Presenting the right payment methods at checkout is a revenue optimization problem — we design checkout flows to maximize method coverage and reduce friction per method.
Subscription businesses live and die on renewal success rates. Smart dunning (retry schedules informed by failure reason codes), card updater services, UPI mandate-based subscriptions, and proactive card expiry management compound to materially improve monthly recurring revenue versus naive payment implementation.
Strong Customer Authentication (SCA) is mandatory in Europe for card transactions. Poorly implemented 3DS2 challenges drop conversion by 10–25% on affected transactions. Proper implementation uses Stripe's automated 3DS2 exemption management — applying exemptions for low-risk transactions, triggering challenges only when required, and handling authentication failures gracefully.
Payment gateway settlements arrive days after transactions — matching settlement records to order records, handling refunds, chargebacks, and disputes across multiple payment methods requires automated reconciliation infrastructure. We build reconciliation pipelines that keep your books accurate without manual bank statement matching.
Funnel analytics for checkout — which payment methods show the highest abandonment, which geographies have SCA challenge rates, which BNPL provider converts best for which order value range. Instrumented checkout enables data-driven optimization rather than guessing why conversion is lower than expected.
Payment integration failures are expensive: failed charges lose revenue, compliance gaps create liability, and poor UX reduces conversion silently. Our process prioritizes correct architecture and testable compliance before any payment method goes live.
We map your payment requirements: geographies served, payment methods required per market, business model (one-time, subscription, marketplace), compliance obligations (PCI DSS scope, SCA for EU, RBI guidelines for India), and reconciliation requirements. PCI DSS scope reduction strategy defined — typically hosted fields to achieve SAQ A, avoiding full PCI audit scope that card-on-file or custom card form implementations require.
Payment provider recommendation based on market coverage, fee structure, and integration capability: Stripe for international and SaaS, Razorpay/PayU for India-first businesses, Adyen for global enterprise, Coinbase Commerce for crypto. Integration design covers: Payment Intents flow for SCA compliance, webhook event handling for asynchronous payment state, idempotency key usage for reliable retries, and error handling UX for each failure mode.
Checkout UI built with the provider's hosted UI component (Stripe Payment Element, Razorpay Standard) for PCI compliance scope reduction. Payment method conditional display logic — show Apple Pay only when available, show BNPL above order value threshold, show UPI for India-based users. One-tap payment methods (Apple Pay, Google Pay) given prominent placement. Mobile checkout tested on low-end Android devices on 4G — the performance baseline that matters.
Subscription billing implementation: plan creation, trial configuration, payment method collection, upgrade/downgrade proration, dunning configuration (retry schedule per failure reason, email notifications, access restriction thresholds), and cancellation flows. Application entitlement system integration — user feature access tied to subscription status via webhook-driven state machine, not polling.
Payment webhook handler with idempotency, signature verification, and retry handling. Asynchronous payment state machine driven by webhook events — payment_intent.succeeded, charge.refunded, invoice.payment_failed. Automated reconciliation against settlement reports matching transactions to orders across payment methods. Chargeback dispute automation with evidence packaging.
Payment integration tested against provider test suites — each failure code (card declined, insufficient funds, 3DS authentication required), each webhook event, and each error state. PCI DSS compliance documentation prepared: SAQ A completion, CSP header configuration, tokenization verification. End-to-end load testing for payment endpoint throughput. Go-live with real transaction monitoring dashboards — success rate, failure breakdown, and average conversion per payment method.
Payment integration quality shows up in conversion rates, chargeback ratios, and compliance audit outcomes — not in code reviews. Our team has built payment infrastructure for e-commerce, SaaS, marketplace, and fintech applications across US, European, and Indian markets. We understand PCI DSS compliance architecture, Indian payment stack nuances (UPI mandate flows, RBI subscription guidelines), and the SCA implementation details that separate smooth 3DS2 handling from conversion-killing authentication challenges.
PCI DSS 4.0 became mandatory in March 2025. SAQ A qualification through hosted payment fields — the right architectural decision that minimizes compliance scope. CSP header implementation preventing card data skimming. Tokenization verification ensuring raw card data never touches your application servers. We build compliance in, not after.
UPI, UPI AutoPay mandates, Razorpay/PayU integration, EMI, netbanking, and Indian wallet coverage — India-specific payment patterns that international Stripe-focused teams miss. RBI subscription guidelines for recurring payments, mandate registration flows, and IMPS/NEFT/RTGS settlement handling for B2B payments.
Strong Customer Authentication handling in European markets requires careful implementation — blanket 3DS challenges destroy conversion, but insufficient authentication creates chargebacks. We implement Stripe's exemption engine correctly, handle authentication results per the Payment Intents API contract, and test every 3DS failure mode before go-live.
Subscription billing done wrong leaks revenue: naive retry schedules fail when smart retries would succeed, missing card updater integration causes preventable churn, and poor cancellation flows generate disputes. We've implemented subscription billing for SaaS platforms at scale and know where the lifecycle management details matter most.
Stripe Connect marketplace payment architecture — seller onboarding, KYC, split payouts, escrow, and platform fees — is significantly more complex than single-seller checkout integration. We've designed marketplace payment flows including escrow hold, dispute mediation, and automated tax reporting infrastructure.
Senior payment integration engineers at 40–70% of North American rates. Payment integration expertise — Stripe API depth, PCI DSS architecture, Indian payment stack knowledge — is not geography-dependent. Our India-based team delivers the same integration quality at significantly lower total engagement cost.
Have questions? We've got answers. Here are the most common questions we receive about our Payment Gateway Development - PCI DSS 4.0 services.
PCI DSS (Payment Card Industry Data Security Standard) 4.0 became mandatory in March 2025, replacing version 3.2.1. Key changes affecting web payment integration: new requirement to verify that all scripts loaded in the payment page are authorized and their integrity maintained (relevant to Magecart/JS skimming attacks); new requirement to manage all payment page scripts via an inventory; and updated requirements for secure coding and vulnerability management. The most important architecture decision for compliance scope: using hosted payment fields (Stripe Elements, Razorpay Standard) keeps your application in PCI SAQ A scope — the lightest compliance tier. Custom card form implementations require SAQ A-EP or full SAQ D, which involves 200+ controls vs. SAQ A's 22.
For India-primary businesses: Razorpay or PayU. They provide UPI (non-negotiable for Indian checkout), UPI AutoPay for subscriptions, netbanking, EMI, Indian wallets, and domestic settlement in INR. Stripe does support UPI and Indian payment methods but with less coverage and higher fees than domestic processors. For India + international businesses: Stripe for international traffic (card, Apple Pay, Google Pay, SEPA, etc.) alongside Razorpay for Indian traffic via routing logic based on customer geography. Most serious Indian businesses use both. For pure international (US/EU) applications with no India traffic: Stripe or Adyen.
UPI AutoPay (also called e-NACH via UPI) allows merchants to collect recurring payments from customer UPI IDs on a scheduled basis without requiring customer action each time — similar to SEPA Direct Debit or ACH recurring. Setup flow: customer registers a mandate (one-time approval via UPI PIN), specifying the merchant, maximum amount, and frequency. Subsequent debits up to the mandated amount execute automatically on the specified schedule without customer interaction. RBI mandates: transactions above ₹15,000 require additional authentication for each debit; below ₹15,000 can be auto-debited. For SaaS subscriptions, UPI AutoPay mandates significantly reduce churn from customers who would otherwise miss manual renewal payments.
SCA is a European PSD2 requirement mandating two-factor authentication for card transactions above €30 initiated online. In practice, SCA triggers a 3DS2 authentication challenge — the card issuer presents an in-app push notification or OTP to the cardholder. Without proper SCA implementation, card issuers decline soft-declined transactions, creating payment failures. Stripe's Payment Intents API handles SCA automatically: it requests authentication when required, applies regulatory exemptions (low-value transactions under €30, low-risk transactions the issuer approves) to avoid unnecessary challenges, and surfaces the authentication UI when it cannot be avoided. Correctly implemented, SCA adds minimal friction; poorly implemented (not using Payment Intents, or handling the authentication_required error incorrectly), it creates 10–25% conversion loss on European transactions.
Buy Now Pay Later allows customers to pay in installments (typically 3–4 payments over 6 weeks) with no interest on the consumer side — the merchant pays a higher processing fee (typically 2–8%) vs card (1.5–3%). BNPL significantly increases conversion for mid-to-high value purchases (typically orders over $50/₹2,500). Provider selection by market: US — Affirm (large purchases, BNPL up to $17,500), Klarna (widespread consumer recognition), Afterpay/Clearpay (fashion focus). India — Simpl (widest merchant acceptance, no-cost EMI focus), LazyPay (Paytm-affiliated, strong mobile penetration), ZestMoney (credit-first for users without credit cards), Bajaj EMI (hardware/electronics). Integration via Stripe Financial Connections for US/Europe; Razorpay for Indian BNPL providers. Display BNPL at cart and checkout, not just checkout — showing installment options early reduces abandonment before checkout is even reached.
Stripe Connect enables payment platforms where funds flow between customers and third-party sellers through your platform. Three account types: Standard (sellers manage their own Stripe accounts, limited platform customization), Express (Stripe-managed dashboard for sellers, platform controls payout schedule), and Custom (fully white-labeled, platform manages entire seller experience, maximum complexity). For most marketplaces, Express balances control and complexity. Key flows: platform charges buyer → holds funds → releases to seller minus platform fee on delivery confirmation; escrow periods; dispute mediation. Sellers must complete Stripe KYC (identity, bank account). US sellers automatically receive 1099-K for earnings over IRS threshold. International payouts require currency handling per seller location.
Three implementation approaches: (1) Coinbase Commerce — merchants accept Bitcoin, Ethereum, USDC, and other cryptos; Coinbase handles custody and conversion; funds settle to your bank account in fiat or remain as crypto; easiest integration. (2) Stripe's crypto on-ramp — lets users buy crypto with a card within your app to then use for payments; useful when users want to transact on-chain but hold fiat. (3) Direct on-chain payment detection — your backend monitors specific wallet addresses for incoming transactions; works without third-party custody but requires managing confirmation thresholds, volatility risk, and blockchain monitoring infrastructure. For most businesses, Coinbase Commerce provides sufficient crypto acceptance functionality without operational complexity. USDC stablecoin acceptance is often preferred over volatile crypto to eliminate exchange rate risk on the merchant side.
Dunning is the process of recovering failed subscription renewals — retrying declined payments on a schedule, notifying customers about payment failures, and managing access restriction during the grace period. Payment failures are not always permanent — 'insufficient funds' may succeed 3 days later when the customer gets paid; 'do not honor' may succeed with a different retry time. Smart dunning (scheduling retries based on failure reason code rather than fixed intervals) recovers 30–50% more failed payments than naive 24-hour retry. Email notification sequences alerting customers to update their payment method recover another significant fraction. Stripe Billing's smart retries use ML to determine optimal retry timing. Combined, smart dunning and proactive card expiry management are the highest-ROI actions a SaaS business can take on payment infrastructure after basic integration.
A single payment provider (Stripe or Razorpay) for one-time payments with basic compliance takes 2–3 weeks. Full checkout with multiple methods (card + UPI + BNPL + wallets + Apple/Google Pay) takes 4–6 weeks. Subscription billing with dunning management and webhook lifecycle handling adds 3–4 weeks. Marketplace payments with Stripe Connect adds 4–6 weeks for seller onboarding and split payout flows. International multi-provider routing (Stripe for international + Razorpay for India) takes 5–7 weeks total. Payment testing is disproportionately time-consuming — every failure mode and edge case needs explicit test coverage before real transactions go through.
A complete Code24x7 payment engagement includes: payment architecture design (provider selection, compliance scope, payment method matrix), checkout UI implementation (hosted fields for PCI compliance, payment method coverage, mobile UX), Payment Intents API integration with SCA handling, webhook infrastructure with idempotency and signature verification, subscription billing and dunning if required, marketplace split payments if applicable, automated reconciliation pipeline, PCI DSS compliance documentation (SAQ A completion, CSP configuration), payment analytics dashboard, and 30-day post-launch support. All code delivered as part of your application codebase — payment logic is your code, not a black box. Security review of payment flows included.
Still have questions?
Contact UsA multi-vendor e-commerce marketplace built for RetailHub Global that handles 500+ sellers, multi-currency transactions, and Black Friday-level traffic spikes — without slowing down. Processed over $2M in transactions within its first 3 months.
A full-stack property management platform for PropertyMax Solutions managing 5,000+ properties and 200+ property managers across Canada. Online rent collection increased 70%, admin time dropped 50%, and maintenance response times fell 45%.

Code24x7 payment integrations pass PCI DSS 4.0 assessment, convert at higher rates than naive implementations (payment method coverage + SCA optimization + BNPL integration), and maintain subscription revenue through proper dunning and lifecycle management. We've integrated payment systems for Indian SaaS platforms, international e-commerce businesses, and marketplace applications — with the architecture documentation, compliance evidence, and testing coverage that payment integrations require to actually be production-ready.