Skip to content

Example.cc - Example Credit Cards / Configuration Codes for Developers, Testing, Localhost and Apps

Notifications You must be signed in to change notification settings

ageesen/example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 

Repository files navigation

Example.cc - Test Payment Data Resource

๐Ÿ’ณ Example.cc

The Ultimate Test Payment Data Resource for Developers

Live Demo Test Cards Currencies Payment Methods

๐Ÿš€ Overview

Example.cc is a comprehensive collection of test payment data for developers. It provides instant access to test credit cards, bank accounts, digital wallets, and more - all in one place with one-click copy functionality.

โœจ Key Features

  • 200+ Test Credit Cards - From major providers like Stripe, PayPal, Square, and more
  • 135+ Supported Currencies - Global currency coverage for international testing
  • 60+ Payment Methods - Cards, bank transfers, digital wallets, BNPL, crypto, and regional methods
  • One-Click Copy - Instantly copy any test data to your clipboard
  • Smart Search & Filters - Find exactly what you need quickly
  • Dark/Light Mode - Easy on the eyes during long coding sessions
  • Mobile Responsive - Access test data from any device
  • No Sign-up Required - 100% free, no registration needed

๐Ÿ“– Table of Contents

๐Ÿƒ Quick Start

  1. Visit example.cc
  2. Use the search bar or filters to find test data:
    • Filter by Provider: Stripe, PayPal, Square, etc.
    • Filter by Currency: USD, EUR, GBP, JPY, etc.
    • Filter by Method: Cards, Bank Transfers, Digital Wallets, etc.
  3. Click any card to copy the test data
  4. Paste into your payment gateway sandbox

๐Ÿ’ก Universal Rules

  • Expiry Date: Any future date works (e.g., 12/28, 01/30)
  • CVV/CVC: Any 3-4 digits work (e.g., 123, 1234)
  • Test Mode Only: These are for sandbox/development environments only

๐Ÿ“‹ Test Data Reference

Credit/Debit Cards

Stripe Test Cards

Card Number Brand Type Description
4242 4242 4242 4242 Visa Success Always succeeds
4000 0000 0000 0002 Visa Declined Card declined
4000 0000 0000 9995 Visa Insufficient Insufficient funds
4000 0000 0000 9987 Visa Lost Lost card
4000 0000 0000 0127 Visa Error Incorrect CVC
4000 0027 6000 3184 Visa 3D Secure Requires authentication
5555 5555 5554 4444 Mastercard Success Always succeeds
5200 8282 8282 8210 Mastercard 3D Secure Authentication required
3782 822463 10005 Amex Success Always succeeds
6011 1111 1111 1117 Discover Success Always succeeds

PayPal Test Cards

Card Number Brand Type Description
4111 1111 1111 1111 Visa Success Valid card
4005 5192 0000 0004 Visa Success Valid card
5555 5555 5555 4444 Mastercard Success Valid card
3714 496353 98431 Amex Success Valid card
6011 1111 1111 1117 Discover Success Valid card
3056 930902 5904 Diners Success Valid card

Square Test Cards

Card Number Brand Type Description
4111 1111 1111 1111 Visa Success Approved
5105 1051 0510 5100 Mastercard Success Approved
3782 822463 10005 Amex Success Approved
6011 0000 0000 0004 Discover Success Approved
3569 9900 0000 0009 JCB Success Approved

Authorize.Net Test Cards

Card Number Brand Type Description
4111 1111 1111 1111 Visa Success Approved
4012 8888 8888 1881 Visa Success Approved
5424 0000 0000 0015 Mastercard Success Approved
3782 8224 6310 005 Amex Success Approved
6011 0000 0000 0012 Discover Success Approved
3566 1111 1111 1113 JCB Success Approved
3088 0000 0000 0017 Diners Success Approved

Other Providers

Braintree Test Cards:

  • Visa: 4111 1111 1111 1210 (Success)
  • Mastercard: 5555 5555 5555 4444 (Success)
  • Amex: 3782 822463 10005 (Success)

Adyen Test Cards:

  • Visa: 4111 1111 1111 1111 (Success)
  • Mastercard: 5500 0000 0000 0004 (Success)
  • Amex: 3700 0000 0000 002 (Success)

WorldPay Test Cards:

  • Visa: 4444 3333 2222 1111 (Success)
  • Mastercard: 5454 5454 5454 5454 (Success)

Bank Accounts

US Bank Accounts (ACH)

Routing Number Account Number Type Description
110000000 000123456789 Checking Valid account
110000000 000111111113 Checking Invalid account
110000000 000111111116 Savings Valid savings
021000021 000123456789 Checking Chase Bank test
121000358 000123456789 Checking Bank of America test
026009593 000123456789 Checking Bank of America (wire)
011401533 000000000001 Checking Valid account
091000019 000000000002 Savings Valid savings

International Banking (SEPA)

IBAN BIC/SWIFT Country Description
DE89 3704 0044 0532 0130 00 COBADEFFXXX Germany Valid SEPA account
FR14 2004 1010 0505 0001 3M02 606 BNPAFRPPXXX France Valid SEPA account
ES91 2100 0418 4502 0005 1332 CAIXESBBXXX Spain Valid SEPA account
IT60 X054 2811 1010 0000 0123 456 BEPOIT22XXX Italy Valid SEPA account
NL91 ABNA 0417 1643 00 ABNANL2AXXX Netherlands Valid SEPA account
GB82 WEST 1234 5698 7654 32 BARCGB22XXX UK Valid account
BE68 5390 0754 7034 DIERBE22XXX Belgium Valid SEPA account

UK Bank Accounts

Sort Code Account Number Bank Description
20-00-00 55779911 Barclays Valid account
60-16-13 31926819 NatWest Valid account
40-47-84 12345678 HSBC Valid account
08-92-99 12345678 Lloyds Valid account

Digital Wallets

Apple Pay Test Tokens

Token: tok_visa_applepay
Description: Visa card via Apple Pay
Token: tok_mastercard_applepay  
Description: Mastercard via Apple Pay
Token: tok_amex_applepay
Description: American Express via Apple Pay

Google Pay Test Tokens

Token: tok_visa_googlepay
Description: Visa card via Google Pay
Token: tok_mastercard_googlepay
Description: Mastercard via Google Pay

PayPal Test Accounts

Email: sb-test@personal.example.com
Password: testpassword123
Type: Personal account
Email: sb-test@business.example.com
Password: testpassword123
Type: Business account

Buy Now Pay Later

Klarna Test Scenarios

Email Phone Result
approved@klarna.com +1234567890 Approved
declined@klarna.com +1234567890 Declined
pending@klarna.com +1234567890 Pending review

Afterpay Test Scenarios

Email Amount Result
test.approved@afterpay.com < $1000 Approved
test.declined@afterpay.com Any Declined
test.pending@afterpay.com > $500 Pending

Affirm Test Data

Phone: +1 (415) 555-0100
Result: Approved
Phone: +1 (415) 555-0199
Result: Declined

Cryptocurrency

Bitcoin (BTC)

Address Network Description
bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh Mainnet Valid P2WPKH address
1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa Mainnet Genesis block address
tb1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsx Testnet Testnet P2WPKH
2MzQwSSnBHWHqSAqtTVQ6v47XtaisrJa1Vc Testnet Testnet P2SH

Ethereum (ETH)

Address Network Description
0x742d35Cc6634C0532925a3b844Bc9e7595f6666 Mainnet Valid address
0x0000000000000000000000000000000000000000 Mainnet Null address
0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed Testnet Testnet address

USDT (Tether)

Address Network Description
TNPeeaaFB7K9YKBxGmpiM65eMyyxUL7SUa TRC-20 Tron network
0xdac17f958d2ee523a2206206994597c13d831ec7 ERC-20 Ethereum network

Regional Payment Methods

iDEAL (Netherlands)

Bank Test Status
ABN AMRO Success
ING Success
Rabobank Cancelled
SNS Bank Failure
ASN Bank Expired

PIX (Brazil)

Key Type Test Key Description
CPF 123.456.789-00 Valid CPF key
Email test@pix.com.br Valid email key
Phone +5511999999999 Valid phone key
Random 123e4567-e89b-12d3 Valid random key

UPI (India)

VPA Result Description
success@upi Success Valid payment
failure@upi Failed Payment fails
pending@upi Pending Pending status

Alipay Test Accounts

Account: alipay.test@example.com
Password: Test123456
Result: Success

WeChat Pay Test Data

OpenID: oUpF8uMuAJO_M2pxb1Q9zNjWeS6o
AppID: wx8888888888888888
Result: Success

๐Ÿ“ Usage Guidelines

General Rules

  1. Test Environment Only - Never use these in production
  2. Expiry Dates - Use any future date (MM/YY format)
  3. CVV Codes - Use any 3 digits (4 for Amex)
  4. Amounts - Some gateways use specific amounts to trigger behaviors:
    • $1.00 - Success
    • $2.00 - Decline
    • $3.00 - Insufficient funds
    • $5.05 - Invalid CVV
    • $10.10 - 3D Secure required

Best Practices

  • Always test both success and failure scenarios
  • Test with different currencies if supporting international payments
  • Verify 3D Secure flows for European cards
  • Test refund and chargeback scenarios
  • Validate webhook handling with test events

๐Ÿ”ง Integration Examples

Stripe Integration

// Initialize Stripe
const stripe = Stripe('pk_test_...');

// Create payment intent
const response = await fetch('/create-payment-intent', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    amount: 1000, // $10.00
    currency: 'usd'
  })
});

// Use test card
const { error } = await stripe.confirmCardPayment(clientSecret, {
  payment_method: {
    card: {
      number: '4242424242424242',
      exp_month: 12,
      exp_year: 2028,
      cvc: '123'
    }
  }
});

PayPal Integration

// PayPal Checkout
paypal.Buttons({
  createOrder: function(data, actions) {
    return actions.order.create({
      purchase_units: [{
        amount: { value: '10.00' }
      }]
    });
  },
  onApprove: function(data, actions) {
    return actions.order.capture().then(function(details) {
      console.log('Transaction completed');
    });
  }
}).render('#paypal-button-container');

// Use test credentials in sandbox
// Email: sb-test@personal.example.com
// Password: testpassword123

Square Integration

// Initialize Square
const payments = Square.payments(applicationId, locationId);

// Create card payment
const card = await payments.card();
await card.attach('#card-container');

// Use test card
const result = await card.tokenize();
if (result.status === 'OK') {
  const response = await fetch('/process-payment', {
    method: 'POST',
    body: JSON.stringify({
      sourceId: result.token,
      amount: 1000 // $10.00
    })
  });
}

๐Ÿ› ๏ธ Technical Stack

  • Frontend: Pure HTML5, CSS3, Vanilla JavaScript
  • Styling: CSS Grid, Flexbox, Custom Properties
  • Features: Clipboard API, Local Storage, Service Worker
  • PWA: Web App Manifest, offline caching
  • Accessibility: WCAG 2.1 compliant, keyboard navigation
  • Performance: Lazy loading, debounced search, optimized assets

๐Ÿš€ Self-Hosting

Option 1: Static Hosting

  1. Clone this repository
  2. Upload files to any static hosting service:
    • Netlify (drag & drop deployment)
    • Vercel (instant Git deployments)
    • GitHub Pages (free hosting)
    • Cloudflare Pages (global CDN)

Option 2: Local Development

# Clone the repository
git clone https://github.com/ageesen/example.git
cd example

# Serve locally (Python)
python -m http.server 8000

# Or with Node.js
npx serve

# Or with PHP
php -S localhost:8000

# Visit http://localhost:8000

Option 3: Docker

# Using the included Dockerfile
docker build -t example-cc .
docker run -p 8080:80 example-cc

# Or use nginx directly
docker run -p 8080:80 -v $(pwd):/usr/share/nginx/html nginx:alpine

# Visit http://localhost:8080

๐Ÿ“ฑ Progressive Web App

The site works as a PWA and can be installed:

  1. iOS: Safari โ†’ Share โ†’ Add to Home Screen
  2. Android: Chrome menu โ†’ Install app
  3. Desktop: Chrome/Edge โ†’ Install icon in address bar

Features when installed:

  • Works offline with cached data
  • Full-screen experience
  • App icon on home screen
  • Fast loading from cache

๐ŸŽจ Customization

Adding New Test Data

Edit the JSON files in the /data directory:

// comprehensive-test-data.json
{
  "newProvider": [
    {
      "number": "4111111111111111",
      "brand": "Visa",
      "cvv": "Any 3 digits",
      "expiry": "Any future date",
      "description": "Test card description",
      "type": "success",
      "country": "US",
      "currency": "USD"
    }
  ]
}

Theming

Modify CSS variables in /styles/main.css:

:root {
  --accent-color: #B8860B;  /* Gold theme */
  --bg-primary: #ffffff;
  --text-primary: #212529;
  --border-radius: 12px;
}

[data-theme="dark"] {
  --accent-color: #CC9933;
  --bg-primary: #121212;
  --text-primary: #ffffff;
}

๐Ÿค Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/new-test-data)
  3. Add your test data to the appropriate JSON files
  4. Update this README with new data
  5. Test thoroughly on multiple devices
  6. Submit a pull request

Contribution Guidelines

  • Verify all test data with official documentation
  • Include descriptions for each test scenario
  • Follow the existing JSON structure
  • Test the UI with your additions
  • Update the statistics if adding new providers

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ”— Resources

โš ๏ธ Disclaimer

IMPORTANT: These test numbers are for development and testing purposes only. They will not work for real transactions and should never be used in production environments. Always use real payment methods for actual transactions.


Made with โค๏ธ by เฎ….com

Website โ€ข GitHub โ€ข Contact

About

Example.cc - Example Credit Cards / Configuration Codes for Developers, Testing, Localhost and Apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published