PaymentCardReaderSession
The object you use to start reading a contactless payment or loyalty card.
Declaration
class PaymentCardReaderSessionMentioned in
Overview
Use a PaymentCardReaderSession object to read payment and loyalty cards from a properly configured device. You don’t create this object directly. Instead, you obtain one by calling the prepare(using:) method of your PaymentCardReader object, which returns a session after the successful configuration of the device.
Maintain a strong reference to a session object for the duration of the card-reading process. You may use the same session object to perform multiple read operations, but you may perform only one read operation at a time from the device.
Topics
Reading a payment card
Reading a loyalty card
Requesting the PIN
Canceling the reading process
Getting error information
Deprecated
readPaymentCard(_:eventHandler:)readPaymentCard(_:eventHandler:)readPaymentCard(_:vasRequest:stopOnVASResult:eventHandler:)readVAS(_:eventHandler:)idPaymentCardReaderSession.Event