UseePay API
  1. About Testing
UseePay API
  • Introduction
  • Product Overview
  • Authentication
  • Errors
  • Changelog
  • Integration
    • Get started with online payments
    • Get started with subscriptions
  • Payment Intents
    • Create a PaymentIntent
      POST
    • Retrieve a PaymentIntent
      GET
    • Update a PaymentIntent
      POST
    • Confirm a PaymentIntent
      POST
    • Cancel a PaymentIntent
      POST
    • Capture a PaymentIntent
      POST
    • List all payment intents
      GET
  • Customers
    • Create a customer
      POST
    • Retrieves a customer
      GET
    • Update a customer
      POST
    • List all customers
      GET
  • Subscriptions
    • Create a subscription
      POST
    • Retrieves a subscription
      GET
    • Update a subscription
      POST
    • List all subscriptions
      GET
    • Cancel a subscription
      POST
  • Invoices
    • Create a invoice
    • Retrieves a invoice
    • Update a invoice
    • List all invoices
    • Pay a invoice
  • Payment Methods
    • Create a payment method
    • Retrieves a payment method
    • Update a payment method
    • List all payment methods
  • Mandates
    • Create a mandate
    • Retrieves a mandate
    • Update a mandate
    • List all mandates
  • Refunds
    • Create a refund
    • Retrieves a refund
    • Update a refund
    • List all refunds
  • Webhooks
    • Webhook envents
    • Create a webhook
    • Retrieves a webhook
    • Update a webhook
    • List all webhooks
  • Payment Links
    • Create a payment link
    • Retrieves a payment link
    • Update a payment link
    • List all payment links
  • Embedded Checkout
    • Payment Elements
  • About Testing
    • Test Cards
    • ApplePay&GooglePay
  1. About Testing

ApplePay&GooglePay

🍏 Apple Pay & 🟩 Google Pay Test Guide#

Below are the recommended test scenarios for Apple Pay and Google Pay integration in UseePay's sandbox environment.

🧪 Test Cases#

Via Email#

Card NumberExpiryEmail AddressCVVExpected Result
Any valid card11/2027(no email filter)340✅ success
Any valid card11/2027decline@useepay.com221❌ failed
Any valid card11/2027pending@useepay.com111⏳ pending

Via Transaction Amount#

Card NumberExpiryAmountCVVExpected Result
Any valid card11/2027(any)340✅ success
Any valid card11/202777.77221❌ failed
Any valid card11/202766.66111⏳ pending

🍏 Apple Pay Testing Notes#

✅ Use a Sandbox Apple ID and Apple’s official sandbox cards.
These cards support various test scenarios.
💡 In production, use a real Apple Pay account tied to a non-mainland China bank card.
You may use a sandbox Apple ID in production only for connectivity testing, but real transactions will fail.

🟩 Google Pay Testing Notes#

1.
Use a Google account and add test cards:
Refer to Google’s test suite:
https://developers.google.com/pay/api/web/guides/resources/test-card-suite
2.
Test environment supports:
Visa, Mastercard, Discover, Amex
PAN_ONLY and CRYPTOGRAM_3DS auth methods
US billing addresses
Shipping to: US, AU, BR, CA, HK, JP, PL, RU, SG
3.
⚠️ In production, use REAL credit cards. Test cards only work in sandbox.

✅ Test Scenarios to Cover#

Successful payment
Failed payment
Pending payment

🔗 References#

Apple Pay testing instructions: sandbox and production flow guidelines :contentReference[oaicite:1]{index=1}
Google Pay test cards & environment support :contentReference[oaicite:2]{index=2}

ℹ️ Tips#

Always test all three result flows (success, failed, pending).
Sandbox vs production environments behave differently—test both.
Ensure HTTPS and proper environment setup for both Apple Pay and Google Pay.

Modified at 2025-07-15 07:12:02
Previous
Test Cards
Built with