Skip to main content

Testing Your Setup

Before accepting live payments, thoroughly test your WC Moneris Payment Gateway Pro configuration to ensure everything works correctly.

Enable Sandbox Mode

  1. Navigate to WooCommerce → Settings → Payments
  2. Click on your configured Moneris payment method
  3. Enable Sandbox Mode
  4. Save changes

Test Environment Setup

For Moneris testing, use the following test environment details:

Test Card Numbers

Use these official Moneris test card numbers:

Successful Test Cards

Card TypeNumberCVVExpiryNotes
Visa4242424242424242Any 3 digitsAny future datePrimary test card
MasterCard5454545454545454Any 3 digitsAny future dateMasterCard 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

  1. Add Products to Cart

    • Add test products to shopping cart
    • Proceed to checkout
  2. Fill Billing Information

    • Use test billing address
    • Enter valid email address
  3. Select Payment Method

    • Choose your Moneris payment option
    • Enter test card details
  4. Complete Transaction

    • Submit payment
    • Verify success/failure handling
  5. 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:

  1. Disable Sandbox Mode

    • Switch to live API credentials
    • Turn off sandbox mode
    • Save configuration
  2. Final Live Test

    • Process a small live transaction
    • Verify everything works as expected
    • Check live transaction appears in Moneris
  3. 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