Skip to content

Releases: paypal/paypal-android

2.3.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 20:48
d69a2fa
  • PayPalWebPayments
    • Add PayPalWebCheckoutClient.start(activity, request, callback) method with asynchronous
      callback support
    • Deprecates PayPalWebCheckoutClient.start(activity, request)

2.2.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 20:01
3f7bb61
  • CardPayments
    • Migrate CardClient.presentAuthChallenge() method to take a plain Activity reference instead of a ComponentActivity reference
  • PayPalWebPayments
    • Fix breaking change bug where PayPalPresentAuthChallengeResult.authState was marked as internal
    • Migrate PayPalWebCheckoutClient.start() method to take a plain Activity reference instead of a ComponentActivity reference
    • Migrate PayPalWebCheckoutClient.vault() method to take a plain Activity reference instead of a ComponentActivity reference

2.1.2

Choose a tag to compare

@github-actions github-actions released this 26 Sep 16:32
e967f9c
  • PayPalWebPayments
    • Add PayPalWebCheckoutClient.finishStart(intent: Intent) method
      • Deprecate PayPalWebCheckoutClient.finishStart(intent: Intent, authState: String) method
    • Add PayPalWebCheckoutClient.finishVault(intent: Intent) method
      • Deprecate PayPalWebCheckoutClient.finishVault(intent: Intent, authState: String) method
    • Add PayPalWebCheckoutClient.instanceState property
    • Add PayPalWebCheckoutClient.restore(instanceState: String) method
  • CardPayments
    • Add CardClient.finishApproveOrder(intent: Intent) method
      • Deprecate CardClient.finishApproveOrder(intent: Intent, authState: String) method
    • Add CardClient.finishVault(intent: Intent) method
      • Deprecate CardClient.finishVault(intent: Intent, authState: String) method
    • Add CardClient.instanceState property
    • Add CardClient.restore(instanceState: String) method
    • Deprecate CardPresentAuthChalengeResult.authState property
    • Deprecate PayPalPresentAuthChallengeResult.authState property

2.0.1

Choose a tag to compare

@kgangineni kgangineni released this 24 Sep 19:14
  • PayPalWebPayments
    • Fix issue with PayPalWebCheckoutClient.finishStart() that caused explicit user cancelation to return a Failure event, instead of Canceled
    • Fix issue with PayPalWebCheckoutClient.finishVault() that caused explicit user cancelation ro return a Success event, instead of Canceled

2.0.0

Choose a tag to compare

@github-actions github-actions released this 18 Mar 19:27
  • Breaking Changes
    • PayPalNativePayments
      • Remove entire PayPalNativePayments module
    • CardPayments
      • Remove CardClient(FragmentActivity, Config) constructor
      • Add CardClient(Context, Config) constructor
      • Remove CardClient.approveOrder(FragmentActivity, CardRequest) method
      • Add CardClient.approveOrder(CardRequest) method
      • Remove CardClient.presentAuthChallenge(FragmentActivity, CardAuthChallenge) method
      • Add CardClient.presentAuthChallenge(ComponentActivity, CardAuthChallenge) method
      • Add CardPresentAuthChallengeResult type
      • Add CardClient.completeAuthChallenge(Intent, String) method
      • Add CardStatus type
      • Add ApproveOrderListener.onApproveOrderAuthorizationRequired(CardAuthChallenge) method
      • Add CardVaultListener.onVaultAuthorizationRequired(CardAuthChallenge) method
      • Remove authChallenge property from CardVaultResult
      • Remove deepLinkUrl and liabilityShift properties from CardResult
      • Annotate CardResult and CardVaultResult constructors as restricted to the library group
      • Add didAttemptThreeDSecureAuthentication property to CardVaultResult
      • Remove CardClient.approveOrderListener property
      • Remove CardClient.cardVaultListener property
      • Remove ApproveOrderListener type
      • Add CardApproveOrderCallback interface
      • Convert CardApproveOrderResult to a sealed class
      • Remove CardClient.approveOrder(CardRequest) method
      • Add CardClient.approveOrder(CardRequest, CardApproveOrderCallback) method
      • Add CardClient.finishApproveOrder(Intent, String) method
      • Add CardFinishApproveOrderResult type
      • Remove CardResult type
      • Remove CardClient.vault(Context, CardVaultRequest) method
      • Remove CardClient.completeAuthChallenge(Intent, String) method
      • Remove CardClient.removeObservers() method
      • Add CardClient.vault(CardVaultRequest, CardVaultCallback) method
      • Add CardClient.finishVault(Intent, String) method
      • Add CardFinishVaultResult type
      • Add CardVaultCallback interface
      • Convert CardVaultResult to a sealed class
    • PayPalWebPayments
      • Remove PayPalWebCheckoutClient(FragmentActivity, CoreConfig, String) constructor
      • Add PayPalWebCheckoutClient(Context, CoreConfig, String) constructor
      • Remove PayPalWebCheckoutClient.start(PayPalWebCheckoutRequest) method
      • Add PayPalWebCheckoutClient.start(ComponentActivity, PayPalWebCheckoutRequest) method
      • Remove PayPalWebCheckoutClient.vault(PayPalWebVaultRequest) method
      • Add PayPalWebCheckoutClient.vault(ComponentActivity, PayPalWebVaultRequest) method
      • Add CardClient.completeAuthChallenge(Intent, String) method
      • Add PayPalPresentAuthChallengeResult type
      • Add PayPalWebStatus type
      • Remove PayPalWebCheckoutClient.listener property
      • Add PayPalWebCheckoutClient.finishStart(Intent, String) method
      • Remove PayPalWebCheckoutResult type
      • Add PayPalWebCheckoutFinishStartResult type
      • Remove PayPalWebCheckoutClient.vaultListener type
      • Add PayPalWebCheckoutClient.finishVault(Intent, String) method
      • Remove PayPalWebCheckoutClient.removeObservers() method
      • Add PayPalWebCheckoutFinishVaulResult type
      • Remove PayPalWebVaultResult type
    • Gradle
      • Update browser-switch version to 3.0.0-beta
      • Update Kotlin version to 1.9.24
      • Update Android Gradle Plugin (AGP) to version 8.7.1
      • Explicitly declare Java 17 version as the target JVM toolchain
  • CorePayments
    • Fix issue that causes analytics version number to always be null

2.0.0-beta2

Choose a tag to compare

@github-actions github-actions released this 13 Jan 21:01
  • CorePayments
    • Fix issue that causes analytics version number to always be null
  • Breaking Changes
    • CardPayments
      • Remove CardClient.approveOrderListener property
      • Remove CardClient.cardVaultListener property
      • Remove ApproveOrderListener type
      • Add CardApproveOrderCallback interface
      • Convert CardApproveOrderResult to a sealed class
      • Remove CardClient.approveOrder(CardRequest) method
      • Add CardClient.approveOrder(CardRequest, CardApproveOrderCallback) method
      • Add CardClient.finishApproveOrder(Intent, String) method
      • Add CardFinishApproveOrderResult type
      • Remove CardResult type
      • Remove CardClient.vault(Context, CardVaultRequest) method
      • Remove CardClient.completeAuthChallenge(Intent, String) method
      • Remove CardClient.removeObservers() method
      • Add CardClient.vault(CardVaultRequest, CardVaultCallback) method
      • Add CardClient.finishVault(Intent, String) method
      • Add CardFinishVaultResult type
      • Add CardVaultCallback interface
      • Convert CardVaultResult to a sealed class
    • PayPalWebPayments
      • Remove PayPalWebCheckoutClient.listener property
      • Add PayPalWebCheckoutClient.finishStart(Intent, String) method
      • Remove PayPalWebCheckoutResult type
      • Add PayPalWebCheckoutFinishStartResult type
      • Remove PayPalWebCheckoutClient.vaultListener type
      • Add PayPalWebCheckoutClient.finishVault(Intent, String) method
      • Remove PayPalWebCheckoutClient.removeObservers() method
      • Add PayPalWebCheckoutFinishVaulResult type
      • Remove PayPalWebVaultResult type

2.0.0-beta1

Choose a tag to compare

@github-actions github-actions released this 20 Nov 19:42
  • Breaking Changes
    • PayPalNativePayments
      • Remove entire PayPalNativePayments module
    • CardPayments
      • Remove CardClient(FragmentActivity, Config) constructor
      • Add CardClient(Context, Config) constructor
      • Remove CardClient.approveOrder(FragmentActivity, CardRequest) method
      • Add CardClient.approveOrder(CardRequest) method
      • Remove CardClient.presentAuthChallenge(FragmentActivity, CardAuthChallenge) method
      • Add CardClient.presentAuthChallenge(ComponentActivity, CardAuthChallenge) method
      • Add CardPresentAuthChallengeResult type
      • Add CardClient.completeAuthChallenge(Intent, String) method
      • Add CardStatus type
      • Add ApproveOrderListener.onApproveOrderAuthorizationRequired(CardAuthChallenge) method
      • Add CardVaultListener.onVaultAuthorizationRequired(CardAuthChallenge) method
      • Remove authChallenge property from CardVaultResult
      • Remove deepLinkUrl and liabilityShift properties from CardResult
      • Annotate CardResult and CardVaultResult constructors as restricted to the library group
      • Add didAttemptThreeDSecureAuthentication property to CardVaultResult
    • PayPalWebPayments
      • Remove PayPalWebCheckoutClient(FragmentActivity, CoreConfig, String) constructor
      • Add PayPalWebCheckoutClient(Context, CoreConfig, String) constructor
      • Remove PayPalWebCheckoutClient.start(PayPalWebCheckoutRequest) method
      • Add PayPalWebCheckoutClient.start(ComponentActivity, PayPalWebCheckoutRequest) method
      • Remove PayPalWebCheckoutClient.vault(PayPalWebVaultRequest) method
      • Add PayPalWebCheckoutClient.vault(ComponentActivity, PayPalWebVaultRequest) method
      • Add CardClient.completeAuthChallenge(Intent, String) method
      • Add PayPalPresentAuthChallengeResult type
      • Add PayPalWebStatus type
    • Gradle
      • Update browser-switch version to 3.0.0-beta
      • Update Kotlin version to 1.9.24
      • Update Android Gradle Plugin (AGP) to version 8.7.1
      • Explicitly declare Java 17 version as the target JVM toolchain

1.7.1

Choose a tag to compare

@github-actions github-actions released this 29 Oct 21:07
  • Gradle
    • Update Android Gradle Plugin (AGP) to version 8.5.2
    • Remove jacoco code coverage integration that was causing build failures after upgrading to latest AGP version
    • Remove hardcoded compileSdk version from each module's build.gradle file
    • Update Demo app to use Java 17 to fix kapt build errors
  • GitHub Actions
    • Bump Java Version to 17 for all build actions

1.6.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 18:55
  • All Modules
    • Upgrade compileSdkVersion and targetSdkVersion to API 35
  • CardPayments
    • Deprecate CardResult.liabilityShift property
    • Deprecate CardResult.deepLinkUrl property
    • Add CardResult.status property
    • Add CardResult.didAttemptThreeDSecureAuthentication property

1.5.0

Choose a tag to compare

@github-actions github-actions released this 10 Jul 14:42
  • PayPalWebPayments
    • Deprecate PayPalWebVaultRequest(setupTokenId, approveVaultHref)
    • Add PayPalWebVaultRequest(setupTokenId)
  • PayPalNativePayments (DEPRECATED)
    • NOTE: This module is being deprecated and will be removed in the future version of the SDK. Use PayPalWebPayments module instead.
    • Add deprecated warning message to all classes