Visa Click to Pay: V1 to V2 Migration

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.

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

🙎🏻‍♂️ User Experience

⛔️ Authentication requires username/password login for:

  • Initial service access

  • New device verification

  • Adding new cards

  • Accessing saved cards

⛔️ 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.

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.

Integration Methods

Choose your integration path based on your business needs:

Method
Best For
Key Benefits
Considerations

PSP Integration

Small-medium businesses

• Fastest deployment • Minimal dev effort • PSP handles compliance

Limited customization

Acquirer Integration

Established merchants

• Moderate effort • Custom checkout • Existing bank relation

Shared compliance

Direct Integration

Large enterprises

• Full control • All features • Direct Visa support

Requires PCI-DSS

Decision factors: Dev resources, time to market, customization needs, compliance capabilities

View detailed comparison →

Quick Start

Step 1: Install the Wrapper

Step 2: Update Imports

Step 3: Initialize the SDK

Step 4: Update Configuration (if needed)

Step 5: Implement Event Handlers (Optional)

Step 6: Update Checkout Implementation

New V2 Features

Device Authentication Support

Before enabling biometric authentication, verify device capabilities:

Enable Biometric Authentication

Quick Checkout

Error Handling Guide

Common Error Scenarios:

Error Handling Best Practices:

Authentication Methods

V2 supports multiple authentication methods:

Migration Checklist

Best Practices

  1. Use the wrapper for gradual migration

  2. Test both V1 and V2 flows in sandbox first

  3. Enable new features progressively

  4. Implement proper error handling

  5. Monitor for any issues after deployment

  6. Use feature detection for V2-specific features

  7. Maintain fallback options for all new features

  8. Test across different browsers and devices

  9. Monitor performance metrics

  10. Keep error handling and logging comprehensive

Performance Considerations

Lazy Loading

Resource Optimization

Common Issues and Solutions

Configuration Format Mismatch

Event Handling Differences

Response Format Differences

Version Detection Issues

Session Management

Security Considerations

PCI Compliance

The wrapper maintains PCI compliance while handling sensitive data:

Data Protection

Testing Guide

Sandbox Testing

Error Simulation

Testing Recurring Payments

Monitoring and Analytics

Enable Analytics

Custom Event Tracking

Support and Resources

For additional support:

  • Contact Visa support team at [email protected]

  • Visit our developer portal at https://developer.visa.com

  • Join our developer community at https://community.visa.com

Documentation

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.

Last updated

Was this helpful?