Skip to main content
Primer provides a Sandbox Processor that can be used in the Sandbox environment to make test payments and validate your integration. This processor comes with:
  • a set of test card numbers to trigger various scenarios
  • a set of mocked payment methods to create your first payments on the checkout
Keep in mind:
  • For PCI-compliance reasons, only test card numbers are allowed in Sandbox. A payment will fail if a non-test card number is used.
  • No error will be raised in production for using a test card number
  • Sandbox is intended for functional testing of your integration, such as verifying payment flows and how your system handles declines and errors. It is offered under fair use and is not a load-testing environment. To keep Sandbox available to everyone, requests may be rate limited.

Test card payments

For test card payments, you can use the following test cards to simulate scenarios: Successful authorization
Use the following test cards to simulate a successful authorization. Failed and declined authorization
Use the following test cards to simulate a failed or declined authorization.

Test mocked payment methods

The Primer Sandbox Processor bundles a mocked version of PayPal, Sofort and Klarna. For each of these payment methods, you can trigger the desired outcome of the “Authorization” using the Drop-In Checkout.

Testing PM Cards Web UI