-
-
Notifications
You must be signed in to change notification settings - Fork 535
v13 reference: Test Adapter
Jean-Christophe Hoelt edited this page May 1, 2024
·
3 revisions
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()
.
- At initialization, add Platform.TEST
- At registration, register one of the test products.
- Use the test products as a regular product.
Those tutorials make use of the test adapter:
API documentation: