Skip to content

Commit

Permalink
Makes the scanned name and expiry date of a card publicly visible
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrant-stripe committed Apr 25, 2024
1 parent efcdbe4 commit 8cdd11a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## x.x.x x-x-x
### CardScan
* [Changed] ScannedCard to allow access for expiryMonth, expiryYear and name.

### PaymentSheet
* [Added] Support for Multibanco with PaymentIntents.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import Foundation
/// the card image verification flow
public struct ScannedCard: Equatable {
public let pan: String
@_spi(STP) public let expiryMonth: String?
@_spi(STP) public let expiryYear: String?
@_spi(STP) public let name: String?
public let expiryMonth: String?
public let expiryYear: String?
public let name: String?

init(
pan: String,
Expand Down

0 comments on commit 8cdd11a

Please sign in to comment.