Skip to content

task: expose card details changed event to onevent handler#24

Merged
luca-gr4vy merged 6 commits intomainfrom
task/TA-12026-expose-card-details-changed-event-to-onevent-handler
Jul 10, 2025
Merged

task: expose card details changed event to onevent handler#24
luca-gr4vy merged 6 commits intomainfrom
task/TA-12026-expose-card-details-changed-event-to-onevent-handler

Conversation

@luca-gr4vy
Copy link
Copy Markdown
Contributor

@luca-gr4vy luca-gr4vy commented Jul 9, 2025

Description: Exposes the new cardDetailsChanged event to onEvent so merchants can subscribe to it. Also bumps the version to 2.7.0 (will be released separately using that value)

Depends on https://github.com/gr4vy/embed-ui/pull/1296

Ticket: https://gr4vy.atlassian.net/browse/TA-12026

Comment on lines +92 to +94
case .cardDetailsChanged(let bin, let cardType, let scheme):
print("Card details changed, BIN: \(bin), Card Type: \(cardType), Scheme: \(scheme ?? "Unknown")")
return
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Example usage. The internal example app will print this while debugging in Xcode

Screenshot 2025-07-10 at 11 40 58

@luca-gr4vy luca-gr4vy marked this pull request as ready for review July 10, 2025 09:50
@luca-gr4vy luca-gr4vy merged commit 9f17252 into main Jul 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants