diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d44319..6cc4662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# 4.4.1 +- Added dispute/chargeback errors to verification and activation methods for licenses that are associated with orders that have an active dispute/chargeback. +- Implemented internal security updates aimed at minimizing fraudulent activations. +- Improved license verification logic to correctly report unverified activations. Previously, certain scenarios, such as manual removal of an activation via the dashboard, would erroneously trigger an “Unable to verify” error. This has now been fixed and returns the correct state. +- Changed checkout sizing to better support the new checkout design. The new checkout design is wider than previous versions and the SDK checkout window has been updated to accommodate this. +- Fixed popup issues when retrying PayPal payments. Previously, It was possible to open multiple Paypal popup windows for the same checkout, this has now been resolved and we now close the original popup before allowing the buyer to open a new one. +- Addressed an issue that was preventing the local license file expiry date from being updated when calling the verify method, this will cover cases where the license has expired or the expiry has been changed via the dashboard. Previously we were returning the correct error but we were not updating the license file accordingly. + # 4.4.0 - Improvements for SwiftUI - We’ve updated the UI methods to make it easier to use with SwiftUI. Download the updated [Sample app here](https://github.com/PaddleHQ/sdk-mac-v4-sample) where we demonstrate best practices for using the SDK in SwiftUI - Ventura UI Updates - The UI has been restructured for Ventura to allow for future customisation and improvements diff --git a/Paddle.framework/Versions/A/Headers/PADError.h b/Paddle.framework/Versions/A/Headers/PADError.h index c699dd4..dcc3dd5 100644 --- a/Paddle.framework/Versions/A/Headers/PADError.h +++ b/Paddle.framework/Versions/A/Headers/PADError.h @@ -174,6 +174,8 @@ typedef NS_ENUM(NSInteger, PADErrorCode) { PADErrorNoLicenseCode = -129, PADErrorNoActivations = -130, + + PADErrorChargebackFound = -131, }; /** @@ -238,5 +240,10 @@ typedef NS_ENUM(NSInteger, PADAPIErrorCode) { /** * @discussion Specifies that the machine identifier does not match the activation */ - PADAPIErrorUUIDNotMached = 144 + PADAPIErrorUUIDNotMached = 144, + + /** + * @discussion Specifies that the order for the license has received a chargeback + */ + PADAPIErrorChargebackFound = 146 }; diff --git a/Paddle.framework/Versions/A/Paddle b/Paddle.framework/Versions/A/Paddle index 3d9a20b..de3b6ce 100755 Binary files a/Paddle.framework/Versions/A/Paddle and b/Paddle.framework/Versions/A/Paddle differ diff --git a/Paddle.framework/Versions/A/Resources/Base.lproj/PADActivateWindow.nib b/Paddle.framework/Versions/A/Resources/Base.lproj/PADActivateWindow.nib index 0ed712f..1025719 100644 Binary files a/Paddle.framework/Versions/A/Resources/Base.lproj/PADActivateWindow.nib and b/Paddle.framework/Versions/A/Resources/Base.lproj/PADActivateWindow.nib differ diff --git a/Paddle.framework/Versions/A/Resources/Base.lproj/PADCheckoutWindow.nib b/Paddle.framework/Versions/A/Resources/Base.lproj/PADCheckoutWindow.nib index 6b79bdf..44c93b8 100644 Binary files a/Paddle.framework/Versions/A/Resources/Base.lproj/PADCheckoutWindow.nib and b/Paddle.framework/Versions/A/Resources/Base.lproj/PADCheckoutWindow.nib differ diff --git a/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductNoTrialWindow.nib/keyedobjects-101300.nib b/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductNoTrialWindow.nib/keyedobjects-101300.nib index 8bc5cc9..f993610 100644 Binary files a/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductNoTrialWindow.nib/keyedobjects-101300.nib and b/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductNoTrialWindow.nib/keyedobjects-101300.nib differ diff --git a/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductNoTrialWindow.nib/keyedobjects.nib b/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductNoTrialWindow.nib/keyedobjects.nib index 7ee499e..bb1d839 100644 Binary files a/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductNoTrialWindow.nib/keyedobjects.nib and b/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductNoTrialWindow.nib/keyedobjects.nib differ diff --git a/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductWindow.nib/keyedobjects-101300.nib b/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductWindow.nib/keyedobjects-101300.nib index 8728ff5..2d2a0b5 100644 Binary files a/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductWindow.nib/keyedobjects-101300.nib and b/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductWindow.nib/keyedobjects-101300.nib differ diff --git a/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductWindow.nib/keyedobjects.nib b/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductWindow.nib/keyedobjects.nib index 6b13eb3..3da39ff 100644 Binary files a/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductWindow.nib/keyedobjects.nib and b/Paddle.framework/Versions/A/Resources/Base.lproj/PADProductWindow.nib/keyedobjects.nib differ diff --git a/Paddle.framework/Versions/A/Resources/Info.plist b/Paddle.framework/Versions/A/Resources/Info.plist index 2c8e749..46e82d1 100644 --- a/Paddle.framework/Versions/A/Resources/Info.plist +++ b/Paddle.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 22A379 + 23A344 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,29 +17,29 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.4.0 + 4.4.1 CFBundleSupportedPlatforms MacOSX CFBundleVersion - 4.4.0 + 4.4.1 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 14A5294e + DTPlatformName macosx DTPlatformVersion - 13.0 + 14.0 DTSDKBuild - 22A5321d + 23A334 DTSDKName - macosx13.0 + macosx14.0 DTXcode - 1400 + 1501 DTXcodeBuild - 14A5294e + 15A507 LSMinimumSystemVersion 10.13 NSHumanReadableCopyright diff --git a/Paddle.framework/Versions/A/Resources/PADWebPopWindowController.nib b/Paddle.framework/Versions/A/Resources/PADWebPopWindowController.nib index e6beec5..1cd5020 100644 Binary files a/Paddle.framework/Versions/A/Resources/PADWebPopWindowController.nib and b/Paddle.framework/Versions/A/Resources/PADWebPopWindowController.nib differ diff --git a/PaddleV4.podspec b/PaddleV4.podspec index 15287e0..0355dbe 100644 --- a/PaddleV4.podspec +++ b/PaddleV4.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "PaddleV4" - s.version = "4.4.0" + s.version = "4.4.1" s.summary = "A licensing framework for OS X" s.description = "Paddle is an easy to use licensing framework for OS X including App Licensing and In App Purchases." s.homepage = "https://www.paddle.com" @@ -35,8 +35,8 @@ SOFTWARE. } s.platform = :osx, '10.13' - s.source = { :http => "https://github.com/PaddleHQ/Mac-Framework-V4/archive/v4.4.0.zip" } - s.vendored_framework = 'Mac-Framework-V4-4.4.0/Paddle.framework' + s.source = { :http => "https://github.com/PaddleHQ/Mac-Framework-V4/archive/v4.4.1.zip" } + s.vendored_framework = 'Mac-Framework-V4-4.4.1/Paddle.framework' s.requires_arc = false s.framework = 'WebKit'; end