diff --git a/Xendit.podspec b/Xendit.podspec index 55e0e45..c6b8481 100755 --- a/Xendit.podspec +++ b/Xendit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Xendit" - s.version = "3.4.0" + s.version = "3.4.1" s.summary = "Xendit is an API for accepting payments online" s.homepage = "https://www.xendit.co" s.license = "MIT" diff --git a/Xendit/Models/DTOs/XenditTokenizationRequest.swift b/Xendit/Models/DTOs/XenditTokenizationRequest.swift index 2c577cf..6f4e618 100644 --- a/Xendit/Models/DTOs/XenditTokenizationRequest.swift +++ b/Xendit/Models/DTOs/XenditTokenizationRequest.swift @@ -22,6 +22,7 @@ import Foundation @available(*, deprecated, message: "Use init(cardData: XenditCardData, isSingleUse: Bool, shouldAuthenticate: Bool, amount: NSNumber, currency: String) instead" ) public init(cardData: CardData, shouldAuthenticate: Bool) { self.cardData = XenditCardData.init(cardNumber: cardData.cardNumber, cardExpMonth: cardData.cardExpMonth, cardExpYear: cardData.cardExpYear) + self.cardData.cardCvn = cardData.cardCvn self.isSingleUse = !cardData.isMultipleUse self.shouldAuthenticate = shouldAuthenticate self.amount = cardData.amount