braintree_ios

Braintree SDK for iOS

MIT License

Stars
555
Committers
125

Bot releases are visible (Hide)

braintree_ios - 5.24.1

Published by github-actions[bot] 11 months ago

  • BraintreePayPalDataCollector
    • Update previously incorrect version of PPRiskMagnes 5.4.1 with staging removed
braintree_ios - 6.9.0

Published by github-actions[bot] 11 months ago

  • BraintreeThreeDSecure
    • Add cardAddChallengeRequested, uiType, and renderTypes to BTThreeDSecureRequest
    • Deprecate BTThreeDSecureRequest.cardAddChallenge
    • Fix bug where defaults for BTThreeDSecureRequest.accountType, BTThreeDSecureRequest.requestedExemptionType, and BTThreeDSecureRequest.dfReferenceID were improperly returning an error if not passed into the request
  • BraintreeCard
    • Deprecate unused BTCardRequest class
braintree_ios - 5.24.0

Published by github-actions[bot] 12 months ago

  • BraintreePayPalDataCollector
    • Update PPRiskMagnes with 5.4.1 - staging removed (fixes #1107)
braintree_ios - 6.8.0

Published by github-actions[bot] 12 months ago

  • BraintreeDataCollector
    • Update PPRiskMagnes with 5.4.1 - staging removed (fixes #1107)
braintree_ios - 6.7.0

Published by github-actions[bot] about 1 year ago

  • BraintreeCore
    • Fix bug where type was always returned as Unknown in fetchPaymentMethodNonces (fixes #1099)
    • Analytics
      • Send tenant_name in event_params to PayPal's analytics service (FPTI)
      • Update component from btmobilesdk to braintreeclientsdk for PayPal's analytics service (FPTI)
      • Send correlation_id, when possible, in PayPal analytic events
braintree_ios - 6.6.0

Published by github-actions[bot] about 1 year ago

  • BraintreePayPalNativeCheckout
    • Update PayPalCheckout from 1.0.0 to 1.1.0.
braintree_ios - 5.23.0

Published by github-actions[bot] about 1 year ago

  • BraintreeVenmo
    • Allow merchants to collect enriched customer data if enabled in the Braintree Control Panel
    • Add the following properties to BTVenmoRequest
      • collectCustomerBillingAddress
      • collectCustomerShippingAddress
      • totalAmount
      • subTotalAmount
      • discountAmount
      • taxAmount
      • shippingAmount
      • lineItems
braintree_ios - 6.5.0

Published by github-actions[bot] about 1 year ago

  • BraintreeVenmo
    • Add additional error parsing for Venmo errors
    • Throw cancelation specific error for BTVenmoClient.tokenize() (fixes #1085)
      • The callback style version of this function previously returned (nil, nil) for the cancel scenario, but will now return (nil, error) instead.
  • BraintreeCore
    • Send live instead of production for the merchant_sdk_env tag to PayPal's analytics service (FPTI)
braintree_ios - 6.4.0

Published by github-actions[bot] over 1 year ago

  • Expose reference documentation for BTAppContextSwitcher.handleOpen(_:) and BTAppContextSwitcher.handleOpenURL(context:)
  • BraintreeVenmo
    • Fix bug where tokenizations failed when sending an empty dictionary for transactionDetails in the CreateVenmoPaymentContext call (fixes #1074)
braintree_ios - 6.3.0

Published by github-actions[bot] over 1 year ago

  • BraintreePayPalNativeCheckout (General Availability release)
    • Update PayPalCheckout from 0.110.0 to 1.0.0. This is our newly released General Availability version
      • Note: This module will now be subject to semantic versioning
braintree_ios - 6.2.0

Published by github-actions[bot] over 1 year ago

  • BraintreePayPalNativeCheckout (BETA)
    • Fix bug where setting userAction does not update button as expected
  • BraintreeSEPADirectDebit
    • Add BTSEPADirectDebitRequest.locale
  • BraintreePayPal
    • Fix bug where BTPayPalAccountNonce values were not being returned as expected (fixes #1063)
braintree_ios - 6.1.0

Published by github-actions[bot] over 1 year ago

  • BraintreeVenmo
    • Allow merchants to collect enriched customer data if enabled in the Braintree Control Panel
    • Add the following properties to BTVenmoRequest
      • collectCustomerBillingAddress
      • collectCustomerShippingAddress
      • totalAmount
      • subTotalAmount
      • discountAmount
      • taxAmount
      • shippingAmount
      • lineItems
braintree_ios - 6.0.0

Published by github-actions[bot] over 1 year ago

Note: Includes all changes in 6.0.0-beta4, 6.0.0-beta3, 6.0.0-beta2, and 6.0.0-beta1

braintree_ios - 5.22.0

Published by github-actions[bot] over 1 year ago

  • Require Xcode 14.1 (per App Store requirements)
  • Deprecate 3DS v1. Any attempt to use 3DS v1 will now throw an error. See Migrating to 3D Secure 2 for more information.
  • Carthage .frameworks are no longer supported in Xcode 14.1, please replace all Frameworks with XCFrameworks and use --use-xcframeworks for all Carthage steps
braintree_ios - 6.0.0-beta4

Published by github-actions[bot] over 1 year ago

  • Require Xcode 14.1 (per App Store requirements)
  • Move from Braintree to PayPal analytics service
  • Make BTConfiguration extensions internal
  • Breaking Changes
    • Require Xcode 14.3+ and Swift 5.8+
    • Rename BraintreePaymentFlow module to BraintreeLocalPayment
    • BraintreeThreeDSecure
      • Add BTThreeDSecureClient
        • Remove BTPaymentFlowClient+ThreeDSecure extension
        • Move BTPaymentFlowClient+ThreeDSecure and BTThreeDSecureRequest methods to BTThreeDSecureClient
        • Remove BTThreeDSecureError.cannotCastRequest case
      • Remove dependency on BraintreePaymentFlow module
    • BraintreeLocalPayment (formerly named BraintreePaymentFlow)
      • Rename BTPaymentFlowClient to BTLocalPaymentClient
      • Rename BTPaymentFlowError to BTLocalPaymentError
        • Rename BTLocalPaymentError.errorDomain from BTPaymentFlowErrorDomain to BTLocalPaymentErrorDomain
      • Move BTLocalPaymentRequest methods to BTLocalPaymentClient
      • Add BTLocalPaymentError case
        • .webSessionError = 10
    • BraintreePayPal
      • Add BTPayPalError case
        • Add error .webSessionError = 8
    • BraintreeCard
      • Add BTCardError case
        • Add error .fetchConfigurationFailed = 4
    • BraintreeSEPADirectDebit
      • Add BTSEPADirectDebitError case
        • Add error .failedToCreateNonce = 7
      • Remove BTSEPADirectDebitError.presentationContextInvalid
braintree_ios - 6.0.0-beta3

Published by github-actions[bot] over 1 year ago

  • Remove iosBaseSDK, iosDeploymentTarget, iosIdentifierForVendor, deviceAppGeneratedPersistentUuid, and deviceScreenOrientation from BTAnalyticsMetadata
  • Fixes error @objcMembers attribute used without importing module 'Foundation' in Xcode 14.3+
  • Add async/await support back to all public Swift methods
  • Convert BraintreeVenmo module to Swift
  • Convert BraintreeCard module to Swift
  • Convert BraintreeThreeDSecure module to Swift
  • Convert BraintreePaymentFlow module to Swift
  • Breaking Changes
    • BraintreePaymentFlow
      • Replaced SFSafariViewController with ASWebAuthenticationSession
      • Removed BTViewControllerPresentingDelegate protocol and correlating methods
      • Rename BTLocalPaymentRequest.shippingAddressRequired to isShippingAddressRequired
      • Remove BTPaymentFlowErrorDomain global constant & BTPaymentFlowErrorType
      • Add BTPaymentFlowError cases
        • .noAccountData = 4
        • .failedToCreateNonce = 6
        • .fetchConfigurationFailed = 7
        • .missingRedirectURL = 8
        • .missingReturnURL = 9
      • Update BTPaymentFlowError values
        • .integration = 3
    • BraintreeApplePay
      • Rename BTApplePayClient.tokenizeApplePay(_:completion:) to BTApplePayClient.tokenize(_:completion:)
      • Rename BTApplePayClient.paymentRequest() to BTApplePayClient.makePaymentRequest()
      • Remove BTApplePayErrorDomain global constant
      • Remove BTApplePayErrorType
      • Make BTApplePayCardNonce initializer internal
    • BraintreeDataCollector
      • Update PPRiskMagnes to static XCFramework
    • BraintreeVenmo
      • Rename BTVenmoAccountNonce.externalId to BTVenmoAccountNonce.externalID
      • Remove BTVenmoErrorDomain global constant
      • Renamed BTVenmoClient.tokenizeVenmoAccount(with:completion:) to BTVenmoClient.tokenize(_:completion:)
      • Renamed BTVenmoClient.isiOSAppAvailableForAppSwitch() to BTVenmoClient.isVenmoAppInstalled()
      • Add new BTVenmoError
        • .invalidBodyReturned
        • .invalidRedirectURL
        • .fetchConfigurationFailed
      • Removed BTVenmoError.integration and BTVenmoError.requestURL
    • BraintreeAmericanExpress
      • Rename BTAmericanExpressClient.getRewardsBalance(forNonce:currencyIsoCode:completion:) to BTAmericanExpressClient.getRewardsBalance(forNonce:currencyISOCode:completion:)
    • BraintreeSEPADirectDebit
      • Rename BTSEPADirectDebitClient.tokenize(request:completion:) to BTSEPADirectDebitClient.tokenize(_:completion:)
    • BraintreeCard
      • Make BTAuthenticationInsight initializer internal
      • Remove BTCardClientErrorDomain global constant
      • Rename BTCardClient.tokenizeCard(_:completion) to BTCardClient.tokenize(_:completion:)
      • Rename BTCardClientErrorType to BTCardError
        • Remove unused BTCardClientErrorType.paymentOptionNotEnabled
        • Update enum values:
          • .unknown = 0
          • .integration = 1
          • .customerInputInvalid = 2
          • .cardAlreadyExists = 3
    • BraintreeThreeDSecure
      • 3D Secure version 1 is no longer supported
        • Removed the following: BTThreeDSecureV1UICustomization class, BTThreeDSecureRequest.v1UICustomization property, and BTThreeDSecureVersion enum
          • All 3D Secure requests will use version 2
        • Rename BTThreeDSecureV2ButtonType enum cases to: .verify, .continue, .next, .cancel, and .resend
        • Remove BTThreeDSecureFlowErrorDomain global constant
        • Add new BTThreeDSecureError
          • Add error .noBodyReturned = 4
          • Add error .canceled = 5
          • Add error .invalidAPIClient = 6
          • Add error .cannotCastRequest= 7
          • Add error .jsonSerializationFailure = 8
braintree_ios - 5.21.0

Published by github-actions[bot] over 1 year ago

  • Add missed deprecation warnings to BTCardRequest Union Pay properties
  • Update Cardinal SDK to version 2.2.5-6
  • BraintreePayPalNativeCheckout (BETA)
    • Expose payerID property on BTPayPalNativeCheckoutAccountNonce publicly
    • Expose all properties on BTPayPalNativeCheckoutAccountNonce to Objective-C
braintree_ios - 5.20.1

Published by github-actions[bot] over 1 year ago

  • BraintreePayPalNativeCheckout (BETA)
    • Fix bug where some request dictionaries were being constructed incorrectly
    • Fix bug where passing BTPayPalNativeVaultRequest.shippingAddressOverride as nil was incorrectly throwing an error
braintree_ios - 6.0.0-beta2

Published by github-actions[bot] over 1 year ago

  • Convert BraintreePayPal module to Swift
  • Breaking Changes
    • BraintreePayPal
      • Rename BTPayPalRequest.riskCorrelationId to BTPayPalRequest.riskCorrelationID
      • Removed BTPayPalRequest.activeWindow property
        • The window will be set to the first window or a new ASPresentationAnchor if the first window is nil
      • Update BTPayPalRequestLandingPageType enum default case to .none
        • Update enum values
          • .none = 0
          • .login = 1
          • .billing = 2
      • BTPayPalRequestUserAction
        • Update enum cases to .none and .payNow
        • Update enum values
          • .none = 0
          • .payNow = 1
      • Update BTPayPalRequestIntent enum values
        • .authorize = 0
        • .sale = 1
        • .order = 2
      • Update BTPayPalLineItemKind enum values
        • .debit = 0
        • .credit = 1
      • Create BTPayPalLocaleCode enum
      • BTPayPalRequest.localeCode now uses the BTPayPalLocaleCode enum instead of a String
      • Renamed and replaced BTPayPalClient.tokenizePayPalAccount with two methods called tokenize() taking in requests of either BTPayPalCheckoutRequest or BTPayPalVaultRequest
      • Removed BTPayPalErrorType
      • Replaced BTPayPalErrorDomain global constant with BTPayPalError.errorDomain
      • Added BTPayPalError
        • .disabled
        • .canceled
        • .fetchConfigurationFailed
        • .httpPostRequestError
        • .invalidURL
        • .asWebAuthenticationSessionURLInvalid
        • .invalidURLAction
        • .failedToCreateNonce
      • Make BTPayPalNonce initializer internal
    • BraintreePayPalNativeCheckout (BETA)
      • Renamed and replaced BTPayPalNativeCheckoutClient.tokenizePayPalAccount with two methods called tokenize() taking in requests of either BTPayPalNativeCheckoutRequest or BTPayPalNativeVaultRequest
      • BTPayPalNativeCheckoutRequest now takes in an intent of type BTPayPalRequestIntent instead of BTPayPalNativeRequestIntent
      • BTPayPalNativeCheckoutRequest.localeCode now uses the BTPayPalLocaleCode enum instead of a String value
    • BraintreeUnionPay
      • Remove BraintreeUnionPay module
        • UnionPay cards can now be processed as regular cards (through the BraintreeCard module) due to their partnership with Discover
    • BraintreeCore
      • Remove BTConfiguration+Extensions.isUnionPayEnabled property
      • Remove BTPreferredPaymentMethods and BTPreferredPaymentMethodResult
    • BraintreeSEPADirectDebit
      • The tokenize method no longer takes in a context parameter
      • Merchants no longer need to conform to the ASWebAuthenticationPresentationContextProviding protocol
braintree_ios - 5.20.0

Published by github-actions[bot] over 1 year ago

  • BraintreeThreeDSecure
    • Add requestedExemptionType to BTThreeDSecureRequest