Payment Simulator

Payment Simulator: A Comprehensive Testing Solution

The Payment Simulator is a pivotal feature designed to facilitate the seamless testing of payment integrations during the early stages of development, particularly when payment processors have yet to be configured. This feature, which can be optionally activated for merchants, stands as both a standalone tool and a module within the platform's testing environment. It is readily accessible to authorized personnel, including QA testers and developers.

Core Objectives

  • Realistic Payment Processing Simulation: The PSP Simulator is engineered to closely replicate the functionalities and behaviors of real-world payment service providers. This encompasses a wide range of aspects, from error handling and transaction processing logic to the generation of accurate response codes.

  • Configurable Testing Scenarios: A key feature of the PSP Simulator is its customizable settings, which allow users to emulate various transaction scenarios. These scenarios include successful transactions, declined payments, timeouts, and network errors. This flexibility ensures comprehensive testing coverage across different potential outcomes.

  • Integration and Automation: Designed to integrate seamlessly with existing testing frameworks or tools within the platform, the PSP Simulator enhances the testing process. It supports automated testing workflows, making it an invaluable resource for developers aiming to streamline testing procedures.

  • Merchant Configuration: To utilize the simulator, the merchant setting 'Simulator Enabled' must be activated. This setting ensures that all cards, amounts, and security codes can be tested through 3D Secure (3Ds) authentication processes within the simulation environment.

Test Card Numbers for Direct Outcomes

The Payment Simulator provides specific test card numbers to directly simulate different transaction outcomes, bypassing the need for 3D Secure authentication forms:

  • Successful Transaction:

    • 4301 5151 9989 9092

    • 5223 8579 2438 9995

  • Rejected Transaction:

    • 4561 3360 0749 1450

    • 5301 3085 3628 9129

  • Failed Transaction:

    • 4709 2253 5948 1438

    • 5481 8260 1383 5025

Additional Features

  • APM Integration: Alongside traditional credit card payments, the simulator also supports APM (Alternative Payment Methods), providing a more comprehensive testing environment.

  • Automated Configuration: The simulator automatically configures deposit limits, BIN rules, and country rules, requiring no manual setup from the user. This ensures a hassle-free installation and deinstallation process.

Enabling Instructions

  1. Go to CRM: Payment Settings -> Merchants -> Edit Merchant

  2. Check `Simulator Enabled` option.

  3. Save changes.

In conclusion, the PSP Simulator is an essential tool for developers and QA testers, designed to offer a realistic and comprehensive testing environment for payment integrations. Its ability to simulate a wide range of transaction scenarios, combined with seamless integration capabilities, makes it a critical component in the development and testing of payment processing systems.

Last updated

Was this helpful?