Releases: wepay/wepay-ios
Releases · wepay/wepay-ios
Release 7.0.2
Release 7.0.1
- Calls to /v2/checkout/create with an EMV token will no longer return an EMV receipt
Release 7.0.0
- Added logLevel property to WPConfig
- Added logLevel parameter to designated initializer in WPConfig
- Added new error code WPErrorCardReaderUnableToConnect to WPError.h
- Moved selectEMVApplication:completion: from WPAuthorizationDelegate to WPCardReaderDelegate
- Added selectCardReader:completion: to WPCardReaderDelegate that's called when the SDK finds card readers
- Added new status (kWPCardReaderStatusSearching) that indicates the SDK is searching for card readers
- Changed getCardReaderBatteryLevelWithBatteryLevelDelegate: to getCardReaderBatteryLevelWithCardReaderDelegate:batteryLevelDelegate: in WePay.h so the SDK can call back with the appropriate statuses
- Added getRememberedCardReader in WePay.h to retrieve the name of the most recently connected card reader
- Added forgetRememberedCardReader in WePay.h to tell the SDK to forget the most recently connected card reader name
- Renamed WPConfig.stopCardReaderAfterTransaction to WPConfig.stopCardReaderAfterOperation
- Added WPMockConfig.mockCardReaderIsDetected
- Added new error codes WPErrorInvalidCardReaderSelection and WPErrorCardReaderBatteryTooLow
- The most recently connected card reader is now remembered and used when discovered.
- Added support for Moby 3000 bluetooth card reader
- Replaced WPErrorInvalidAuthInfo with more explicit error codes
v7.0.0-prerelease-1
- Added logLevel property to WPConfig
- Added logLevel parameter to designated initializer in WPConfig
- Added new error code WPErrorCardReaderUnableToConnect to WPError.h
v7.0.0-beta-2
- Moved selectEMVApplication:completion: from WPAuthorizationDelegate to WPCardReaderDelegate
- Added selectCardReader:completion: to WPCardReaderDelegate that's called when the SDK finds card readers
- Added new status (kWPCardReaderStatusSearching) that indicates the SDK is searching for card readers
- Changed getCardReaderBatteryLevelWithBatteryLevelDelegate: to getCardReaderBatteryLevelWithCardReaderDelegate:batteryLevelDelegate: in WePay.h so the SDK can call back with the appropriate statuses
- Added getRememberedCardReader in WePay.h to retrieve the name of the most recently connected card reader
- Added forgetRememberedCardReader in WePay.h to tell the SDK to forget the most recently connected card reader name
- Renamed WPConfig.stopCardReaderAfterTransaction to WPConfig.stopCardReaderAfterOperation
- Added WPMockConfig.mockCardReaderIsDetected
- Added new error codes WPErrorInvalidCardReaderSelection and WPErrorCardReaderBatteryTooLow
- The most recently connected card reader is now remembered and used when discovered.
v7.0.0-beta-1
- Added support for Moby 3000 bluetooth card reader
- Replaced WPErrorInvalidAuthInfo with more explicit error codes
v6.0.0
- Added APIs for fetching card reader battery levels
- Implemented card reader mocking for use during development and testing
- Added integration and unit tests
- Separated card reader lifecycle from restarting transactions:
- Added WPConfig.stopCardReaderAfterTransaction to control if the card reader stops or stays on after a transaction
- Replaced WPConfig.restartCardReaderAfterSuccess with restartTransactionAfterSuccess
- Replaced WPConfig.restartCardReaderAfterGeneralError with restartTransactionAfterGeneralError
- Replaced WPConfig.restartCardReaderAfterOtherErrors with restartTransactionAfterOtherErrors
- Renamed WePay.startCardReaderForReading to startTransactionForReading
- Renamed WePay.startCardReaderForTokenizing to startTransactionForTokenizing
v5.0.1
v5.0.0
- Fixed issue where card reader was allowing chip cards to be swiped
- Changed data type of amount in WPCardReaderDelegate.authorizeAmountWithCompletion: from double to NSDecimalNumber
- Amounts having more than two places after the decimal will result in an WPErrorInvalidAuthInfo error
v4.0.0
- Added kWPPaymentMethodDip
- Added kWPCurrencyCodeUSD
- Added WPAuthorizationDelegate protocol
- Added WPAuthorizationInfo
- Added insertPayerEmailWithCompletion:, authorizeAmountWithCompletion: and shouldResetCardReaderWithCompletion: methods to WPCardReaderDelegate
- Added new error codes in WPErrorCode enum
- Added new card reader statuses
- Modified startCardReaderForTokenizing... method by adding an authorizationDelegate parameter
- Added magic numbers to simulate successful Dip
- Added support for background threads via WPConfig.callDelegateMethodsOnMainThread
- WPPaymentInfo.paymentDescription now masks everything except last 4