Developer mode

Developer mode lets you quickly test the SDK payment- and refund responses & 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 iOS SDK. You can use it in your own project. Also, you can try it out in the iOS example app.

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

Before integration

In the iOS SDK example app, you can use developer mode in the following 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 in the following supported test cases:

  • Validate the input (valid format of provided amount and reference) to the SDK for payment and refund flows.
  • 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 validates the input that you provide to the SDK for payment and refund flows in supported test cases. For example, it validates that the input has the valid format.

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 declined by bank
  • Wrong amount format entered (without spinner presented - error will be returned immediately)

Card refund

  • Successful refund
  • Payment not found
  • Not refundable
  • Technical error (For example, Zettle server not responding)

PayPal and Venmo QRC payment

  • Successfully paid with PayPal
  • Successfully paid with Venmo
  • Cancelled by customer
  • Technical error (For example, Zettle server not responding)
  • Wrong amount format entered (without spinner presented - error will be returned immediately)

PayPal and Venmo QRC refund

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