Visa Click to Pay is evolving to provide a better checkout experience with enhanced security features and improved performance. This guide will help you migrate from V1 to V2 in less than 30 minutes.
Last updated
Was this helpful?
The evolution from Click to Pay V1 to V2 represents a fundamental shift in digital payment capabilities, addressing key merchant and consumer pain points while setting new standards for security and user experience. V2 introduces significant architectural improvements and feature enhancements that align with the industry's movement toward passwordless authentication and seamless checkout experiences. This transformation comes at a crucial time when digital commerce demands both frictionless transactions and robust security measures.
Feature Aspect
V1
V2
🔐 Security Features
⛔️ card data handling, prone to fraud.
✅ tokenization and biometric authentication, meeting FIDO standards.
🚀 Speed of Payment
⛔️ Requires multiple steps - OTPs are used for cardholder verification during online transactions, adding an extra layer of security but also introducing additional steps in the checkout process
✅ V2 integrates advanced authentication methods, such as biometrics and device recognition, reducing the reliance on OTPs. This shift enhances security while streamlining the user experience by minimizing interruptions during checkout.Biometric authentication reduces checkout time by 50%.
🛜 Integration
⛔️ Separate APIs and infrastructure for different card networks.
✅ Unified integration across multiple card network
⛔️ Separate authentication needed across different devices
⛔️ No device recognition capabilities
✅ Hybrid authentication approach:
Initial email/mobile verification still required
Optional biometric authentication for returning users
Payment passkey support being rolled out (not fully deployed)
Two-factor authentication for enhanced security
✅ Device-specific recognition:
"Remember me" option for trusted devices
Automatic recognition on returning to saved merchants
But requires initial setup per browser/device
💳 Push Provisioning
⛔️ Not supported. Users cannot add their cards directly to Click to Pay from the issuer's app.
✅ Supported. Issuers can enrol cardholders into Click to Pay directly from their banking app, streamlining the enrolment process.
🌏 Global Market Adoption
🚧 Limited deployment and compatibility with some regions and merchants.
✅ Available in 35+ countries, supported by major card networks
🔁 Recurring Payments
🚧 Limited support for saving credentials and managing recurring payments
✅ Built-in support for recurring payments and saved credentials
Seamless Migration with Hyperswitch
The migration to V2 is powered by Hyperswitch's specialized wrapper solution, ensuring a frictionless transition that protects your existing integration while unlocking next-generation features. Our wrapper automatically handles version detection, request/response mapping, and backward compatibility - eliminating the risk of business disruption during migration.
This guide will help you migrate from Visa Click to Pay SDK V1 to V2 in less than 30 minutes. Our wrapper maintains backward compatibility while giving you access to V2's enhanced features.
Integration Methods
Choose your integration path based on your business needs:
// Old V1 Import
import { VisaSRCI } from '@visa/click-to-pay-v1';
// New V2 Import
import { VisaClickToPayWrapper } from '@visa/click-to-pay-wrapper';
Step 3: Initialize the SDK
// Old V1 Initialization
const visaCheckout = new VisaSRCI();
await visaCheckout.init({
apikey: 'your_api_key',
visaSrci: true
});
// New V2 Initialization
const visaCheckout = new VisaClickToPayWrapper({
debug: true, // Optional: Enable debug logging
apikey: 'your_api_key',
srcInitiatorId: 'your_initiator_id',
environment: 'production' // or 'sandbox' for testing
});
await visaCheckout.init();
// Both V1 and V2 formats work with the wrapper
const checkoutResponse = await visaCheckout.checkout({
amount: '100.00',
currency: 'USD',
merchantName: 'Test Store'
});
New V2 Features
Device Authentication Support
Before enabling biometric authentication, verify device capabilities:
Merchant & PSP Guide - Best practices and implementation paths for merchants and payment service providers
Remember to test thoroughly in the sandbox environment before deploying to production, and enable new features gradually to ensure a smooth transition for your users.
Architecture diagram of Visa Click to Pay integration, showing how the Wrapper mediates between Client browser/app and Visa's Click to Pay server while supporting both V1 and V2 SDKs.