Package com.codename1.payment.terminal


package com.codename1.payment.terminal

In-person card payments: card terminals behind one interface.

A PaymentTerminal takes a TerminalPaymentRequest and answers with a TerminalResult. Three kinds ship with Codename One:

  • com.codename1.payment.terminal.tap -- the phone itself is the reader (Tap to Pay on iPhone and Android), over the Stripe Terminal SDK.
  • com.codename1.payment.terminal.stripe -- a Stripe smart reader on the counter, driven over Stripe's API.
  • com.codename1.payment.terminal.adyen -- an Adyen terminal, through Adyen's cloud Terminal API.

The two network terminals are plain HTTPS, so they work on every platform, desktop included, and add nothing to a build. Only the tap package brings a native SDK, and only into apps that reference it.

In-app purchases and Apple Pay / Google Pay checkout are a different thing, in com.codename1.payment.