#ronit-ttp-terms
1 messages · Page 1 of 1 (latest)
I don't think the SDK has a built-in function for this. double checking
maybe this is what you're looking for 🤔
https://developer.apple.com/documentation/proximityreader/paymentcardreader/prepare(using:)
what i am doing is let me explain you
i am checking whether the tap and pay terms and condition is accepted or not if accepted how can i know that
i did searched on apple developer blogs but i could not find any solution.
yeah I don't believe there's a good way to check this unfortunately.
I don't believe there's anything in the terminal SDK that shows this.
have you tried using the prepare function I linked above?
It seems to be verifying if device is able to read contactless cards and is properly configured to process transactions.
ah it might be this instead
https://developer.apple.com/documentation/proximityreader/paymentcardreader/linkaccount(using:)
Use the isAccountLinked(using:) method to confirm calling linkAccount(using:) is required.
**If the merchant hasn’t accepted the Terms and Conditions, calling prepare(using:) throws PaymentCardReaderError.accountNotLinked.
**
**If the merchant has already accepted the Terms and Conditions, calling this method throws PaymentCardReaderError.accountAlreadyLinked.
**
Throws:PaymentCardReaderError.accountAlreadyLinked if the merchant already accepted the Tap to Pay on iPhone’s Terms and Conditions. The method throws PaymentCardReaderError.accountLinkingFailed, PaymentCardReaderError.accountLinkingCancelled, or other relevant errors in PaymentCardReaderError if a problem occurs.
ronit-ttp-terms
ok thanks i will check that