Testing
The myPOS Glass SDK test environment is a sandboxed setup that allows you to validate your integration without affecting real users, transactions, or live accounts. It is designed to closely replicate the behavior of myPOS production systems, offering a safe environment for development and QA teams to simulate transactions and workflows.
Key Benefits
- No real funds are used or transferred.
- No live accounts or customer data are affected.
- The API structure and behavior mirror the production environment.
- Ensures your application meets operational expectations before going live.
Environment Differences
While the SDK methods, request formats, and flow are identical between test and production, the test environment requires:
- Separate credentials for authentication
- Possibly different API endpoints (if applicable)
Be sure to replace test credentials with your live production credentials before submitting the final build.
Recommended Test Scenarios
Before moving to production, ensure your application is tested against all core transaction flows:
-
Contactless Payments using:
- Visa credit/debit cards
- Mastercard credit/debit cards
-
Refunds
- Test issuing full and partial refunds
-
Void Transactions
- Test voiding specific and last approved transactions
It is highly recommended to simulate both successful and failed outcomes to validate error handling and user notifications.