Skip to main content
Version: 1.0.2

4. Play with Papi in the sandbox

The sandbox environment is a testing space where you can explore and simulate all payment features without processing real transactions. It is designed to help developers interact with Papi, verify their integration, and ensure everything works smoothly before transitioning to the production environment.

Use the sandbox to play with Papi, test various scenarios, and get familiar with the entire payment flow, from generating payment links to handling callbacks.


Testing payment methods

Visa and MasterCard

  • Purpose: Use this test card to simulate payments with Visa or MasterCard.
  • Test Card Details:
    • Card Number: 4622 9431 2701 3705
    • CVV: 838
    • Expiry Date: 01/25
  • What Happens: When you use these details, the payment will simulate a successful transaction without charging any real account.

Orange Money

  • Status: Currently not available for sandbox testing.

Airtel Money (AM)

  • Status: Currently not available for sandbox testing.

MVola

  • Status: Currently not available for sandbox testing.

Key points to remember

  1. The sandbox environment is purely for testing purposes, so no real money is involved.
  2. Always validate your API integration thoroughly in the sandbox before switching to production.
  3. If a feature or payment method is not available for sandbox testing (e.g., Orange Money, Airtel Money, MVola), ensure you account for this when testing and revisit these features in production.

By using the provided test card details and simulating different payment scenarios, you can confidently prepare your system for real-world use in the production environment.