Skip to content

1.5.0

Compare
Choose a tag to compare
@skirsche-ieffects skirsche-ieffects released this 23 Dec 17:00
· 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 to SavedPaymentMethod, CardToken to SavedCard, etc.)
  • In PaymentMethodToken (now SavedPaymentMethod) and all its subclasses, references to the token property and constructors
    have been renamed to alias to be consistent with other Datatrans APIs
  • TransactionSuccess.paymentMethodToken has been renamed to TransactionSuccess.savedPaymentMethod
  • All TokenizationRequest* classes, have been renamed to PCIPTokenizationRequest* to emphasize that these are to be used with PCI Proxy only.
  • ApplePayConfig.showApplePayAsToken has been renamed to showApplePayAsSavedPaymentMethod
  • In PaymentMethodToken (now SavedPaymentMethod), the method create(data:decoder:) has been removed. Use create(jsonString:) instead on all versions of iOS.

Added

  • Compatibility with apps built with Xcode 13.
  • Added init(mobileToken:savedPaymentMethod:) to Transaction. 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.