1.5.0
·
31 commits
to master
since this release
🎉 Out of Beta Release!
We are proud to announce that after months of enhancing our SDK we have now released our first out-of-beta version of the SDK.
⚠️ Important Changes Starting 1.5.0 (API Renaming)
PaymentMethodToken
and all its subclasses have been renamed to avoid confusion (PaymentMethodToken
toSavedPaymentMethod
,CardToken
toSavedCard
, etc.)- In
PaymentMethodToken
(nowSavedPaymentMethod
) and all its subclasses, references to the token property and constructors
have been renamed toalias
to be consistent with other Datatrans APIs TransactionSuccess.paymentMethodToken
has been renamed toTransactionSuccess.savedPaymentMethod
- All
TokenizationRequest*
classes, have been renamed toPCIPTokenizationRequest*
to emphasize that these are to be used with PCI Proxy only. ApplePayConfig.showApplePayAsToken
has been renamed toshowApplePayAsSavedPaymentMethod
- In
PaymentMethodToken
(nowSavedPaymentMethod
), the methodcreate(data:decoder:)
has been removed. Usecreate(jsonString:)
instead on all versions of iOS.
Added
- Compatibility with apps built with Xcode 13.
- Added
init(mobileToken:savedPaymentMethod:)
toTransaction
. This allows you to hand a single saved payment method directly to the mobile SDK. The payment will then be started with this saved payment method.
Changed
- API renaming to be more consistent with other Datatrans APIs.
- PPRiskMagnes.xcframework is now optional and only has to be included when using PayPal.
- The SDK no longer overwrites the app callback scheme with information from the backend. Please make sure that you set the app callback scheme in payment options.
- Support for myOne has been removed.
Fixed
- When there is a recoverable error and no library UI for the user to continue from, the library now offers the user to retry the request or cancel the transaction.
- Other minor bugs.