Testing Your Setup
Before accepting live payments, thoroughly test your WC Moneris Payment Gateway Pro configuration to ensure everything works correctly.
Enable Sandbox Mode
- Navigate to WooCommerce → Settings → Payments
- Click on your configured Moneris payment method
- Enable Sandbox Mode
- Save changes
Test Environment Setup
For Moneris testing, use the following test environment details:
- Test Store ID:
store5
(Store ID for testing) - API Token:
yesguy
(API Token for testing) - Merchant Resource Center in test environment: https://esqa.moneris.com/mpg/ (Canada)
- Important: Transactions in the test environment must not exceed $11.00
- Penny Value Simulator: Different penny amounts will trigger different response scenarios, please see: https://developer.moneris.com/More/Testing/Penny%20Value%20Simulator
Test Card Numbers
Use these official Moneris test card numbers:
Successful Test Cards
Card Type | Number | CVV | Expiry | Notes |
---|---|---|---|---|
Visa | 4242424242424242 | Any 3 digits | Any future date | Primary test card |
MasterCard | 5454545454545454 | Any 3 digits | Any future date | MasterCard testing |
Testing Checklist
Basic Functionality Tests
- Payment gateway appears on checkout page
- Test successful card transactions
- Test declined card transactions
- Verify order status updates correctly
- Check customer email confirmations
- Test admin order notifications
Advanced Feature Tests
- Saved Cards: Test saving and using stored payment methods
- Refunds: Process partial and full refunds
- Authorization/Capture: Test two-step payment process
Security Tests
- Confirm SSL is working properly
- Test invalid card number handling
- Verify CVV validation
- Test address verification (if enabled)
- Check for proper error logging
Test Transaction Process
-
Add Products to Cart
- Add test products to shopping cart
- Proceed to checkout
-
Fill Billing Information
- Use test billing address
- Enter valid email address
-
Select Payment Method
- Choose your Moneris payment option
- Enter test card details
-
Complete Transaction
- Submit payment
- Verify success/failure handling
-
Check Backend
- Review order in WooCommerce admin
- Check transaction logs
- Verify email notifications
Common Testing Issues
Payment Gateway Not Appearing
- Check if gateway is enabled
- Verify WooCommerce settings
- Clear cache and test again
Transaction Failures
- Confirm sandbox mode is enabled
- Check API credentials
- Review error logs
Going Live
After successful testing:
-
Disable Sandbox Mode
- Switch to live API credentials
- Turn off sandbox mode
- Save configuration
-
Final Live Test
- Process a small live transaction
- Verify everything works as expected
- Check live transaction appears in Moneris
-
Monitor Initial Transactions
- Watch first few live orders closely
- Check for any issues
- Have support contact ready
Troubleshooting
If tests fail:
- Review configuration settings
- Check server error logs
- Verify all requirements are met
- Contact WPHEKA support with test details
Documentation
Keep records of your testing:
- Screenshot successful transactions
- Document any custom configurations
- Note any theme-specific adjustments
- Save test transaction IDs for reference