Skip to content

Commit

Permalink
Added issuer in token response
Browse files Browse the repository at this point in the history
  • Loading branch information
OsamaRabie committed Aug 16, 2023
1 parent b4555e9 commit 5c61190
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,9 @@ extension ExampleViewController: SessionDelegate {

internal func cardTokenized(_ token: Token, on session: SessionProtocol, customerRequestedToSaveTheCard saveCard: Bool) {
print("Toknized with : \(saveCard)")
print(token.card.issuer?.bank)
print(token.card.issuer?.id)
print(token.card.issuer?.country)
// card has successfully tokenized.
}

Expand Down
2 changes: 1 addition & 1 deletion goSellSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Pod::Spec.new do |goSellSDK|
goSellSDK.name = 'goSellSDK'
goSellSDK.summary = 'goSell SDK for iOS'
goSellSDK.requires_arc = true
goSellSDK.version = '2.3.24'
goSellSDK.version = '2.3.25'
goSellSDK.license = { :type => 'MIT', :file => 'LICENSE' }
goSellSDK.author = { 'Tap Payments' => '[email protected]' }
goSellSDK.homepage = 'https://github.com/Tap-Payments/goSellSDK-iOS'
Expand Down
2 changes: 1 addition & 1 deletion goSellSDK/Core/API/Public/Models/TokenizedCard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,5 @@ extension TokenizedCard: Decodable {

// MARK: - Issuer
@objcMembers public final class Issuer: NSObject, Codable {
let bank, country, id: String?
@objc public let bank, country, id: String?
}

0 comments on commit 5c61190

Please sign in to comment.