Skip to content

MobilePay-AppSwitch-SDK 2.2.0

Compare
Choose a tag to compare
@TorbenVallund TorbenVallund released this 28 Aug 10:15
· 10 commits to master since this release

Android [2.2.1] - 2020-05-12

Removed

  • Removed Spongy castle dependencies (also known as Bouncy castle)

iOS [2.2.0] - 2019-08-28

Added

  • Added orderId to MobilePayPaymentErrorBlock. Changed parameter of MobilePayPaymentErrorBlock from NSError to MobilePayErrorPayment which stores error and orderId.
  • Units tests.

Changed

  • Replaced float price type with NSDecimalNumber. To avoid rounding errors, an NSDecimalNumber - passed as price - should be initialized with either double or string value.
  • Previously if SDK client passed in an amount with 3 or more digits after the comma it would be rounded up or down depending on the third digit (e.g. 12.345 -> 12.35). Now SDK is always rounding DOWN (e.g. 12.345 -> 12.34).
  • Renamed error code MobilePayErrorCodePaymentRejectedFraud to MobilePayErrorCodePaymentRejected.

Removed

  • Removed Capture payment type. Use Reserve or Partial Capture instead. Default is Reserve.
  • Request parameters returnSeconds, productName, productImage, receiptMessage were removed.
  • Removed the ability to initialize MobilePay for Norway as it is not supported.
  • Removed productPrice property from MobilePaySuccessfulPayment.
  • Removed deprecated and unused code.

Android [2.2.0] - 2019-08-28

Added

  • Ability to fully reset the MobilePay singleton via reset() method.
  • OrderId is now returned with cancel event. Note that OrderId can be null.
  • Units tests.
  • AndroidX support.

Changed

  • Previously if SDK client passed in an amount with 3 or more digits after the comma it would be rounded up or down depending on the third digit (e.g. 12.345 -> 12.35). Now SDK is always rounding DOWN (e. g. 12.345 -> 12.34).

Removed

  • Removed Capture payment type. Use Reserve or Partial Capture instead. Default is Reserve.
  • Request parameters returnseconds, productName, productImage, receiptMessage were removed.
  • Removed the ability to initialise MobilePay for Norway as it is not supported.
  • Removed deprecated and unused code.