Checking access…

Skip to main content
Version: v2
Audience: Consumers, CCG Platform Engineers

Troubleshoot Common Testing Issues

When to use this page

Your test transaction isn't behaving as expected β€” use this page to diagnose card, bank account, or card-tokenization issues in a non-production environment.

Card Payment Issues​

πŸ’³ Card Payment Issues
  • Verify you're using the correct test card for the desired scenario
  • Check that expiration date is in the future
  • Ensure CVC is provided correctly (3 digits for most cards, 4 for Amex)

Bank Account Issues​

🏦 Bank Account Issues
  • Confirm routing number is valid (110000000 for test environment)
  • Ensure all required fields are completed correctly
Digital wallet issues

For Google Pay/Apple Pay button and domain-validation troubleshooting, see Express Checkout with Digital Wallets β€” Troubleshooting.

PCI Environment Testing​

Stripe Card Tokenization​

Stripe card tokenization allows you to securely create a payment method token for a card, which can then be used for payments or saved for future use. This is essential for PCI compliance and secure handling of card data.

Below is a sample cURL request to create a card payment method using Stripe's API:

curl --request POST \
--url https://api.stripe.com/v1/payment_methods \
--header 'Authorization: Bearer <STRIPE_TEST_KEY>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data type=card \
--data 'card[number]=4242424242424242' \
--data 'card[exp_month]=8' \
--data 'card[exp_year]=2030' \
--data 'card[cvc]=3141' \
--data 'billing_details[address[postal_code]]=00000'

Usage Notes:

  • Replace <STRIPE_TEST_KEY> with your actual Stripe test secret key.
  • Use only Stripe test card numbers in non-production environments.
  • The response will include a payment_method token that can be used for test transactions.
  • For production, ensure you follow all PCI DSS requirements and use secure environments.

For more details, see the official Stripe API documentation: Stripe Payment Methods API

Support: If issues persist, contact CCG support via ServiceNow using assignment group: CCG_NONPROD_SUPPORT.