Developer mode

Developer mode lets you quickly test the SDK payment and refund responses and errors with minimal preparation. You do not need a card reader, authorisation flow, or have a Zettle merchant account.

Developer mode is available in the Android SDK. You can use it in your own project. Also, you can try it out in the Android example app.

It is disabled by default. When developer mode is enabled, no backend requests will be made for transactions.

Before integration

In the Android SDK example app, you can use developer mode as follows in supported test cases:

  • Evaluate SDK responses and input data format that are difficult to reproduce for business and integration feasibility.

During integration

When you are integrating the SDK into your own app, you can use developer mode as follows in supported test cases:

  • Check the responses from SDK outputs and errors that are difficult to reproduce.

After integration

Before releasing your integration, make sure that the developer mode is disabled.

Supported test cases

Developer mode does not validate the input value that you provide to the SDK for payment and refund flows in supported test cases. For example, if the input for a payment is a negative amount, the input will be accepted.

After you launch a payment or refund flow with developer mode enabled, you can select the following test cases in the UI.

Note: The following list of test cases includes only SDK outputs that are difficult to reproduce.

Card payment

  • Successfully paid
  • Cancelled by customer
  • Technical error

Card refund

  • Successful refund
  • Payment not found
  • Not refundable
  • Technical error

PayPal and Venmo QRC payment

  • Successfully paid with PayPal
  • Successfully paid with Venmo
  • Cancelled by customer
  • Technical error

PayPal and Venmo QRC refund

  • Successful PayPal refund
  • Successful Venmo refund
  • Payment not found
  • Insufficient funds
  • Failed