PaySwitcher
  • About PaySwitcher
    • ๐Ÿ›’For Online Businesses
    • ๐ŸชœFor Small & Medium Enterprises
    • ๐ŸขFor Enterprises
    • ๐Ÿ–ฅ๏ธFor SaaS Providers
    • ๐Ÿ›๏ธFor E-Commerce Businesses
    • ๐Ÿ“ฆFor Marketplace/Platforms
    • ๐ŸฆFor Banks & Financial Institutions
  • PaySwitcher Cloud
    • โšกQuickstart
      • ๐Ÿ“ฅMigrate from Stripe
        • Web
        • Android
        • iOS
        • React Native
      • ๐Ÿฅ—Payment Recipes
        • Use PayPal With Stripe
    • โš™๏ธControl Centre Account setup
    • ๐Ÿ“ฆIntegration guide
      • ๐ŸŒ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 (Beta)
        • Card Widget (Beta)
        • Customization
      • โบ๏ธFlutter
        • Flutter with Node Backend
        • Customization
      • Headless SDK
      • Payment Methods Management
    • ๐Ÿ’ณPayment methods setup
      • ๐Ÿ’ณCards
      • ๐Ÿ“ฑWallets
        • Apple Pay
          • Web Domain
          • iOS Application
        • Google Pay
        • PayPal
      • ๐Ÿ“†Pay Later
      • ๐ŸฆBanks
        • Bank Debits
        • Bank Redirects
        • Bank Transfers
      • ๐Ÿช™Crypto
      • ๐Ÿ”‘Test Credentials
    • ๐Ÿ”ŒConnectors
      • ๐Ÿ–ฒ๏ธ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
      • Activate connector on PaySwitcher
      • Test a Payment with connector
    • ๐ŸชWebhooks
  • Features
    • ๐Ÿ”€Payment flows
      • ๐Ÿ”Saving payment methods & recurring payments
      • ๐Ÿ’ตPayouts
        • โž•Get started with payouts!
        • ๐Ÿ”—Process payouts using saved payment methods
        • ๐Ÿ›ฃ๏ธRoute your payout transactions using Smart Router
        • โ™ป๏ธSmart Retries in Payout
        • ๐Ÿ”—Payout links
      • 0๏ธ 0๏ธ 0๏ธ Zero Amount Authorization
      • ๐Ÿ”“Tokenization & saved cards
      • ๐Ÿ”—Payment links
      • โญ๏ธExternal Authentication for 3DS
      • ๐Ÿ’ฐManual Capture
      • ๐Ÿ›‘Fraud Blocklist
      • ๐Ÿ”Subscriptions
      • ๐Ÿ”ƒPG Agnostic Recurring Payments
    • ๐Ÿ•น๏ธMerchant controls
      • ๐Ÿ›ฃ๏ธSmart Router
        • Rule Based Routing
        • Volume Based Routing
        • Default Fallback Routing
      • ๐Ÿ›ก๏ธFraud & risk management
      • ๐Ÿ”ƒSmart retries
      • ๐ŸŽ›๏ธAnalytics & operations
      • ๐Ÿ“‹3DS decision manager
        • Setup guide
      • ๐Ÿ“‹Surcharge
        • Surcharge Setup guide
      • ๐Ÿ”ผ3DS Step-up retries
      • ๐ŸšฉDisputes/Chargebacks Management
      • ๐ŸคReconciliation
        • Getting Started with Recon
    • ๐Ÿ”‘Account management
      • ๐Ÿ”ขExporting payments data
      • ๐ŸคนMultiple accounts & profiles
      • ๐Ÿ›‚Manage your team
    • ๐Ÿ›๏ธE-commerce platform plugins
      • WooCommerce Plugin
        • Setup
        • Compatibility
        • FAQs
  • SECURITY AND COMPLIANCE
    • ๐Ÿ”Overview
    • ๐Ÿ’ณPCI Compliance
    • ๐Ÿ”Data Security
    • ๐Ÿ’ฝGDPR compliance
    • ๐Ÿ•ต๏ธIdentity and Access Management
  • Learn more
    • ๐ŸกSDK Reference
      • Node
      • React
      • JS
    • ๐Ÿ“PaySwitcher Architecture
      • Router
      • Storage
      • A Payments Switch with virtually zero overhead
    • ๐ŸŒŠPayment flows
Powered by GitBook
On this page
  1. PaySwitcher Cloud
  2. Integration guide
  3. Web

Error Codes

Handle errors appropriately!

In this section, you will find the exhaustive list of errors that you may see during your integration phase or go-live

Error codes

The following table lists client error codes that the PaySwitcher SDK returns to your website for graceful handling.

Error Type
Error Message

invalid_request_error

Invalid api key

invalid_request_error

Invalid value for < parameter_name >

invalid_request_error

Missing required parameter: < parameter_name >

invalid_request_error

Invalid client secret

invalid_request_error

Invalid promise

processing_error

Payment failed with the payment processor

internal_server_error

Server is unavailable

object_not_found

Payment does not exist

confirm_payment_failed

An unknown error occurred

PreviousCustomizationNextNode and HTML

Last updated 11 months ago

๐Ÿ“ฆ
๐ŸŒ