# 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
- Ensure that your business is a
TEST_MERCHANT
- Ensure that business is registered for ApplePay
- Login with Sandbox iCloud account, provisioned by GoDaddy Payments team
- Load GoDaddy-approved test cards to device wallet chain
- Setup Transaction defaults: payment method, shipping address, email, and phone
- Pay with ApplePay button in your hosted test site
- 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
- Ensure that your business is a real
MERCHANT
- Ensure that business is registered for ApplePay
- Load real cards to device wallet chain
- iOS: Settings > Wallet & ApplePay
- macOS: System Preferences > Wallet & ApplePay
- Setup Transaction defaults: payment method, shipping address, email, and phone
- Pay with ApplePay button in your hosted test site
- 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
- Ensure that your business is a
TEST_MERCHANT
- Load cards to your Google accounts
- Real card: add card to Google Pay dashboard (opens new window) OR
- Google Test Card: Enable Google Pay API Test Cards Allowlist (opens new window) for your google account
- Setup Transaction defaults: payment method, shipping address, email, and phone
- Pay with GooglePay button in your hosted test site
- 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
- Ensure that your business is a real
MERCHANT
- Load real cards to Google Pay dashboard (opens new window)
- Pay with GooglePay button in your hosted test site
- 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 | |
---|---|---|---|
Discover | 6011 0009 9446 2780 | 11/2024 | 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 |