Class TerminalOutcomeUnknownException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.codename1.payment.terminal.TerminalOutcomeUnknownException
The terminal may or may not have charged the card, and could not say which.
This is the one failure a point-of-sale app must never treat as a
decline: charging again can take the money twice. Look the payment up
-- with PaymentTerminal.lookup(String) where the terminal supports it,
or on the provider's dashboard by getTransactionId() or the request's
reference -- before asking the customer for another card.
-
Constructor Summary
ConstructorsConstructorDescriptionTerminalOutcomeUnknownException(String message, String transactionId) Parameters
-
Method Summary
Modifier and TypeMethodDescriptionThe provider's ID for the payment in doubt, or null.Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TerminalOutcomeUnknownException
-
-
Method Details
-
getTransactionId
The provider's ID for the payment in doubt, or null.
-