LogoLogo
Explore with DeepWikiJoin Slack CommunityContact Us
  • About Hyperswitch
    • Exploration Guide
    • Overview
    • Payments Suite
    • Payments Modules
      • Cost Observability
      • Revenue Recovery
      • Vault
        • Server to Server Vault tokenization
        • Vault SDK Integration
        • Hyperswitch Vault: Pass Through Proxy Payments
      • Intelligent Routing
      • Reconciliation
        • Getting Started with Recon
      • Alternate Payment Method Widgets
        • Hyperwidget Integration Guide
    • Roadmap - Q2 2025
      • Previous Roadmap - Q1 2025
      • Previous Roadmap - Q4 2024
      • Previous Roadmap - Q3 2024
      • Previous Roadmap - Q2 2024
      • Previous roadmap - Q1 2024
      • Previous roadmap - Q4 2023
  • Use-Cases
    • For SaaS Businesses
    • For B2B SaaS Businesses
    • For E-Commerce Businesses
    • For Marketplace/Platforms
  • Explore Hyperswitch
    • Payment Orchestration
      • Accept Payments
        • Connectors
          • Activate Connector on Hyperswitch
          • Try a Payment
          • Available Connectors
            • ACI
            • Adyen
            • Airwallex
            • Authorizedotnet
            • Bambora
            • Bank of America
            • Billwerk
            • Bluesnap
            • Braintree
            • Checkout
            • Coinbase
            • Cybersource
              • Apple Pay
              • Google Pay
            • dLocal
            • Fiserv
            • GlobalPayments
            • GoCardless
            • Klarna
            • Mollie
            • MultiSafepay
            • Nuvei
            • OpenNode
            • Paypal
            • PayU
            • Prophetpay
            • Rapyd
            • Shift4
            • Stripe
            • TrustPay
            • Volt
            • Worldline
            • Worldpay
            • Zen
            • Netcetera
              • Authenticating Payments via Netcetera Through HyperSwitch SDK
        • Setup Payment Methods
          • Cards
          • Wallets
            • Apple Pay
              • Web Domain
              • iOS Application
            • Google Pay
            • PayPal
          • Pay Later
          • Banks
            • Bank Debits
            • Bank Redirects
            • Bank Transfers
            • Open Banking
          • Crypto
          • Test Credentials
        • Payment Links
          • Configurations
          • Create Payment Links
          • Secure Payment Links
          • Setup Custom Domain
        • Save a Payment Method
        • Manual Capture
        • Incremental Authorization
        • Tokenization & Card Vault
          • Network Tokenisation
        • Supported Payment Workflows
        • Co-badged Cards
        • Webhooks
      • Process Payouts
        • Getting Started with Payouts
        • Using Saved Payment Methods
        • Smart Router for Payouts
        • Smart Retries in Payout
        • Payout Links
      • Smart Routing
        • Rule Based Routing
        • Volume Based Routing
        • Default Fallback Routing
      • Smart Retries
        • 3DS Step-up Retries
      • 3DS / Strong Customer Authentication
        • Setting up 3DS Decision Manager
        • Native 3DS Authentication
        • External Authentication for 3DS
      • Fraud & Risk Management
        • Activating FRM in Hyperswitch
        • Fraud Blocklist
      • Subscriptions
        • PG Agnostic Card Forwarding
        • Zero Amount Authorization
      • Split Payments
        • Stripe Split Payments
        • Adyen Split Payments
        • Xendit Split Payments
    • Checkout Experience
      • Customizable and Native Integrations
        • Web
          • Node And React
          • Customization
          • Error Codes
          • Node and HTML
          • Vanilla JS and REST API Integration
        • Android
          • Kotlin with Node Backend
          • Customization
          • Features
        • iOS
          • Swift with Node Backend
          • Customization
          • Features
        • React Native
          • React Native with Node Backend
          • Card Widget
          • Customization
        • Flutter
          • Flutter with Node Backend
          • Customization
        • Headless SDK
        • Server Setup
      • Click To Pay
        • Visa Click to Pay: V1 to V2 Migration
      • Payment Methods Management
    • Payment Operations
      • Managing Accounts and Profiles
        • ⚙️Control Centre Account setup
        • Hyperswitch Account Structure
      • Manage Your Team
      • Analytics & operations
        • Exporting payments data
      • Disputes / Chargebacks
      • Surcharge
        • Surcharge Setup guide
      • Multi-Tenancy
      • Data migration
        • Import data to Hyperswitch
        • Export data from Hyperswitch
    • Security and Compliance
      • PCI Compliance
      • Data Security
      • GDPR compliance
      • Identity and Access Management
    • E-commerce Platform Plugins by Hyperswitch
      • 🔌WooCommerce Plugin
        • Setup
        • Roadmap
        • Compatibility
        • FAQs
      • Saleor App
        • Setup
      • Automatic Tax calculation for Express Checkout wallets
  • Hyperswitch open source
    • Overview
      • Run Hyperswitch Locally Using Docker
        • Run Additional Services
      • Development Environment Setup
        • Backend
          • Configure and Run the Application
          • Try out APIs
        • SDK (Frontend)
        • Control Center
    • Deploy on AWS
      • Deploy on AWS using CloudFormation
      • Component-wise Deployment
        • Deploy app server
        • Deploy Control Center
        • Deploy web client
          • Production ready deployment
          • Integrate web client on your web app
          • Playground deployment for prototyping (optional)
        • Deploy Card Vault
          • Production ready deployment on AWS
          • Cloud setup guide
    • Deploy on Kubernetes
      • Deploy on GCP Using Helm Charts
      • Deploy on Azure Using Helm Charts
    • Account setup
      • Using Hyperswitch Control Center
      • Test a payment
      • Using postman
    • Troubleshooting
  • Testing Payments
  • Check list for Production
    • Going live
      • For SaaS Setup
      • For On-Prem Setup
        • Monitoring
        • PCI compliance
          • Get started
          • Completing the SAQ
        • Data Security
        • Updates
  • Learn more
    • API Reference
    • Connectors Supported
    • SDK Reference
      • React
      • JS
      • Custom Events
    • Hyperswitch architecture
      • Router
      • Storage
      • A Payments Switch with virtually zero overhead
    • Payment flows
    • Blog
  • Community Guidelines
Powered by GitBook

Compliance

  • Vulnerability Disclosure
  • PCI DSS 4.0
  • ISO 27001:2022

Community

  • Slack
  • Discord
  • GitHub Discussion
On this page
  • Testing Cards across different Connectors
  • Test Cards for popular connectors
  • Payment Methods Testing

Was this helpful?

  1. Explore Hyperswitch
  2. Payment Orchestration
  3. Accept Payments
  4. Setup Payment Methods

Test Credentials

Key to configure and test different connectors in Hyperswitch

This section gives you an overview of how to you can make test transactions for the payment methods you have enabled

Testing Cards across different Connectors

You might have configured multiple connectors on the Hyperswitch Dashboard. If you wish to ensure sanity of connector configuration, you can target and test the particular connector.

Step 1: Log on to Hyperswitch Dashboard

Step 2: Goto Smart Router > Simple Configuration

Step 3: Add all the Gateways you wish to test and set highest priority to your target Gateway

Step 4: Go to Home > Preview Checkout, to open the Unified Checkout (this will be a refelection of payment experience which your customer will get)

Step 5: Enter card details as per the table below. Please note that test credentials varies across each connector.

Test Cards for popular connectors

Simulate a successful test card payment with the following credentials

Connector
Card Number
MM/YY
CVV
Reference - More Test Credentials

Adyen

4000020000000000

03/30

737

Bluesnap

6011000180331112

02/26

123

Authorize.net

4242424242424242

12/25

100

Braintree

4111111111111111

12/25

100

Checkout

4242424242424242

12/25

100

Fiserv

4005550000000019

02/35

123

-

Global Payments

4263970000005262

12/25

100

Nuvei

4444333322221111

12/25

123

Stripe

4242424242424242

12/25

100

Worldline

4012000033330026

12/25

123

Dummy Connector test cards

  • Different flows are available for dummy connector transactions, determined by the card number.

  • For dummy connector cards, both the expiration date and CVV can be any future date and three-digit number, respectively.

  • Dummy connectors only support payments and refunds.

  • Payments made with dummy connectors expire after 2 days. Refunds will not be possible for expired payments.

Non 3DS flows

  • Success

    • 4111111111111111

    • 4242424242424242

    • 5555555555554444

    • 38000000000006

    • 378282246310005

    • 6011111111111117

  • Card declined

    • 5105105105105100

    • 4000000000000002

  • Insufficient funds

    • 4000000000009995

  • Lost card

    • 4000000000009987

  • Stolen card

    • 4000000000009979

3DS flows

  • Success

    • 4000003800000446

Payment Methods Testing

In order to test payment methods like Klarna, Googlepay - follow the below instructions

Klarna - Direct integration test credentials

Simulate a successful payment with the following credentials

United States

Phone number: +1310668331
OTP: 123456 (Random 6-digit different from 999999)

United Kingdom

Phone number: +4408082580300
OTP: 123456 (Random 6-digit different from 999999)

Googlepay - Test credentials

You will land on Google's page which says "Congratulations! You now have access to our test suite! No further action is required."

Ensure that you are logged in to your Gmail account, hit the Googlepay option. You will automatically get all test cards on your user journey.

ApplePay - Test credentials

Apple Pay provides test cards from various card companies and supported regions as well. To pay you can use TouchID on the Macbook or your iPhone. These devices should be configured in your apple account.

Unable to test Applepay successfully?

  1. Your Safari browser automatically detects your location from your System Preferences.

  2. If you are not located in the supported countried, but still wish to test Applepay, please change your Region using Mac System preferences > Language & Region > choose any of the 15 supported countries.

Last updated 10 months ago

Was this helpful?

For testing mmore scenarios, please refer

Inorder to test Googlepay, you will have to use your Gmail account and join .

In order to test ApplePay, you will need to follow these steps written in .

Applepay sandbox testing is supported only if you are located in any of these .

Klarna - Sample customer data
Google's test user group
ApplePay sandbox tesing docs
15 countries
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here
Click here