Releases: Tap-Payments/goSellSDK-iOS
Attribute to decide if the card name is editable or not
2.2.22 1- Attribute to decide if the card name is editable or not
Considering Shipping and Tax items in Apple pay while adding payment item
2.2.21 1- Considering Shipping and Tax items in Apple pay while adding payme…
Fixed a bug when providing a card name you have to click two times on Pay Button
internal var cardHolderName: String? {
guard let customer = customer, let firstName = customer.firstName else { return "tap default card holder name" }
return firstName
}
Default Card Holder Name
Added an optional default card holder name parameter through the SessionDataSource.
Example:
internal var cardHolderName: String? {
guard let customer = customer, let firstName = customer.firstName else { return "tap default card holder name" }
return firstName
}
Card's Address Parser Update
Updated old json parser to match the new SWIFT standards.
Fixed Charge Serialisation Error
2.2.17 1- Removed the debugging serialization error
Example of handling coming error
2.2.16 1- Example to deal with delegated error. 2- Remove non needed serialz…
Serialisation Error Delegate
1- Added a new must delegate method that passes back to the app whenever a serialisation error occurs.
2- Throw an exception if for any reason the encryption key came in as empty string.
Error logging in the console
For easier debugging, the whole error description and causes will be printed in the console prefixed with TAP SDK ERROR
Apple Pay and Dark Mode support
The SDK now supports Apple Pay for eligible merchants and supported countries.
The SDK provides a default theme for Dark Mode.
Merchant can decide which card types they want their clients to pay with.