Skip to content

v13 reference: Test Adapter

Jean-Christophe Hoelt edited this page May 1, 2024 · 3 revisions

Introduction

The Test Adapter provides a mock payment platform so you can test your implementation without interacting with any specific platform.

It provides some test products that you can register and buy using store.order().

It also process (fake) payment requests, using store.requestPayment().

Using the Test Adapter

  • At initialization, add Platform.TEST
  • At registration, register one of the test products.
  • Use the test products as a regular product.

Next

Those tutorials make use of the test adapter:

API documentation: