File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Hardware/Hardware/CardReader Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ extension CardReaderType {
2929 case . wisepad3:
3030 return " WISEPAD_3 "
3131 case . appleBuiltIn:
32- return " BUILT_IN "
32+ return " COTS_DEVICE "
3333 default :
3434 return " UNKNOWN "
3535 }
Original file line number Diff line number Diff line change @@ -511,6 +511,7 @@ private extension StripeCardReaderService {
511511 ///
512512 parameters. metadata ? [ Constants . readerIDMetadataKey] = self ? . readerIDForIntent ( )
513513 parameters. metadata ? [ Constants . readerModelMetadataKey] = self ? . readerModelForIntent ( )
514+ parameters. metadata ? [ Constants . platformMetadataKey] = Constants . platform
514515
515516 Terminal . shared. createPaymentIntent ( parameters) { ( intent, error) in
516517 if let error = error {
@@ -921,6 +922,8 @@ private extension StripeCardReaderService {
921922 ///
922923 static let readerIDMetadataKey = " reader_ID "
923924 static let readerModelMetadataKey = " reader_model "
925+ static let platformMetadataKey = " platform "
926+ static let platform = " ios "
924927 }
925928}
926929
You can’t perform that action at this time.
0 commit comments