Skip to content

Releases: xendit/xendit-sdk-ios-src

3.5.1

25 Oct 05:42
Compare
Choose a tag to compare
fix: update zero amount validation

3.6.0

14 Mar 10:17
abab165
Compare
Choose a tag to compare
  • Add Swift Package Manager support

3.5.0

15 Feb 04:00
ab28408
Compare
Choose a tag to compare
  • Add logic to check for amount for single and multiple use token
  • Make amount optional for tokenization
  • Update readme file

3.4.2

17 Sep 07:36
ab28408
Compare
Choose a tag to compare

Fix

  1. SDK not sending card CVN when creating authentication

3.4.1

16 Sep 08:16
7295ee6
Compare
Choose a tag to compare
  1. Fix sending of CVN when using deprecated methods

3.4.0

21 Jul 01:43
f520b9c
Compare
Choose a tag to compare

Fixes

  1. Allow decimals for create authentication using multiple use token

3.3.0

11 Jun 04:08
67872fb
Compare
Choose a tag to compare

Changes:

  1. Return failure_reason for FAILED 3DS

Fixes:

  1. Improve 3ds handling

3.2.0

10 May 01:55
4f19f38
Compare
Choose a tag to compare

Added two methods to encode responses into JSON objects

Model -> JSON Object

let token: XenditCCToken = XenditCCToken.init(response: [
            "id": "123",
            "status": "VERIFIED",
            "card_info": [
                "bank": "Test bank"
            ]
])!
let jsonObject = token.toJsonObject()
// ["id": "123", "status": "VERIFIED", "card_info": ["bank": "Test bank"]]

Model -> JSON String (Using the built-in JSONEncoder)

let token: XenditCCToken = XenditCCToken.init(response: [
            "id": "123",
            "status": "VERIFIED",
            "card_info": [
                "bank": "Test bank"
            ]
])!
let encoder = JSONEncoder()
encoder.keyEncodingStrategy = .convertToSnakeCase
let jsonData = try? encoder.encode(token);
let jsonString = String(data: jsonData!, encoding: .utf8)
// "{\"id\":\"123\",\"status\":\"VERIFIED\",\"card_info\":{\"bank\":\"Test bank\"}}"

3.1.0

29 Mar 07:58
Compare
Choose a tag to compare
  1. Added card_info.fingerprint to tokenization and authentication responses. fingerprint is an identifier for unique cards that transact on Xendit's platform.

2.1.8

20 Mar 02:46
Compare
Choose a tag to compare
  1. Added UnionPay and Diners in cards validation