Skip to content

Crash on Simulator when doing TTP payment #1

@haphanquang

Description

@haphanquang

I got exception with the sdk when attempting a payment on a Simulator

2023-08-31 11:18:11.313270+0900 FiservTTPTestApp[65914:4015735] Swift/StringCharacterView.swift:153: Fatal error: String index is out of bounds
Screenshot 2023-08-31 at 11 15 40

This is the .generalCardData as based64 I got c2ltLWdjZA==
Seems like the length field of TLV data is too long or the .generalCardData is not TLV when doing payment on Simulator.

Please take a look.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions