# Testing Setup

Learn how to perform test transaction using either Sandbox or Production environment.

# ApplePay

# Pre-requisite

  • Safari browser on iOS 10 / macOS 10.12 or later

# Sandbox testing

  1. Ensure that your business is a TEST_MERCHANT
  2. Ensure that business is registered for ApplePay
  3. Login with Sandbox iCloud account, provisioned by GoDaddy Payments team
  4. Load GoDaddy-approved test cards to device wallet chain
  5. Setup Transaction defaults: payment method, shipping address, email, and phone
  6. Pay with ApplePay button in your hosted test site
  7. Pass-in wallet generated payment-nonce to your backend server and charge that nonce. We will NOT charge this card

Domain verification bypassed

Apple is mocking domain-association-file validation in sandbox environment. Proceed to production for complete end-to-end testing.

Sandbox iCloud account

Simply provide us with an email that is not associated to any iCloud account, and we will create iCloud credentials for you to load test cards.

# Production testing

  1. Ensure that your business is a real MERCHANT
  2. Ensure that business is registered for ApplePay
  3. Load real cards to device wallet chain
    • iOS: Settings > Wallet & ApplePay
    • macOS: System Preferences > Wallet & ApplePay
  4. Setup Transaction defaults: payment method, shipping address, email, and phone
  5. Pay with ApplePay button in your hosted test site
  6. Pass-in wallet generated payment-nonce to your backend server and charge that nonce.

Use real cards

Apple test cards will NOT work at this stage

# GooglePay

# Sandbox testing

  1. Ensure that your business is a TEST_MERCHANT
  2. Load cards to your Google accounts
  3. Setup Transaction defaults: payment method, shipping address, email, and phone
  4. Pay with GooglePay button in your hosted test site
  5. Pass-in wallet generated nonce (payment token) to your backend server and charge that nonce (server-to-server call). We will NOT charge this card

# Production testing

  1. Ensure that your business is a real MERCHANT
  2. Load real cards to Google Pay dashboard (opens new window)
  3. Pay with GooglePay button in your hosted test site
  4. Pass-in wallet generated payment-nonce to your backend server and charge that nonce.

# 3D-Secure testing

3DS authentication is triggered when payer uses Google Wallet enabled card on Android device (5.0 / Lolipop or above).

You will need to add card and enable Tap-To-Pay in Google Wallet android app (opens new window) to replicate this scenario. You may need to contact card's bank issuer to enable Google Wallet.

# Wallet Test Cards

# ApplePay Sandbox Test Cards

FPAN Expiration Security Code
Visa 4761 3497 5001 0326 11/2022 851
MasterCard 5204 2452 5046 0049 12/2024 111
American Express 3499 562866 52212 12/2022 1111
Discover 6011 0009 9446 2780 11/2022 111

# Card authentication and Test Cards

Poynt Collect supports two card authentication method: PAN-Only and 3D Secure. Auth method of a wallet transaction varies depending on how card is being tokenized by the payer's device or application. This table summarizes the testing implication of each wallet authentication methods.

Auth Method Pre-requisite Sandbox Test Cards Production Test Cards
GooglePay PAN Only Chrome browser 61 or above (desktop and mobile) Real Card in GooglePay Dashboard Real Card in GooglePay Dashboard
Safari browser Google Pay API Test Cards Allowlist
3D Secure Android 5.0 or above (Lolipop) Real card with Tap-To-Pay enabled from Google Wallet android app Real card with Tap-To-Pay enabled from Google Wallet android app
Chrome browser 61+ (desktop and mobile)
Safari browser
ApplePay PAN Only ApplePay does NOT support PAN only authorization currently
3D Secure Safari on macOS 10.14.4 and iOS 12.2 or above Sandbox iCloud account provisioned by GoDaddy with GoDaddy-approved test cards iOS: Settings > Wallet & ApplePay
macOS: System Preferences > Wallet & ApplePay
Last Updated: 12/12/2022, 8:27:02 AM