Skip to content

Releases: braintree/braintree_ios

6.39.0

01 Oct 19:04
Compare
Choose a tag to compare
  • BraintreeCore
    • Fix crash related to data race in BTWebAuthenticationSession (fixes #1653)
  • BraintreePayPal
    • Add recurringBillingDetails, recurringBillingPlanType, and amountBreakdown properties to BTPayPalCheckoutRequest. Enables RBA metadata to be passed for the PayPal Checkout Vault with Purchase flow
    • Add userAction property to BTPayPalVaultRequest
    • Add paypal:tokenize:default-browser-switch:started event for when the appSwitch fails for universalLink and openURLInDefaultBrowser is triggered.
    • Add paypal:tokenize:default-browser-switch:succeeded and paypal:tokenize:default-browser-switch:failed events for when the browser switch succeeds or fails.

6.38.0

09 Sep 16:55
Compare
Choose a tag to compare
  • BraintreeShopperInsights (BETA)
    • Add createCustomerSession(request:) to BTShopperInsightsClientV2
    • Add updateCustomerSession(request:sessionID:) to BTShopperInsightsClientV2
    • Add generateCustomerRecommendations(request:sessionID:) to BTShopperInsightsClientV2
    • Add BTPageType.paymentMethodSelection and BTPageType.paymentMethodAddition
  • BraintreePayPal
    • Send application_state to FPTI for tracking UIApplication state

6.37.0

26 Aug 20:31
Compare
Choose a tag to compare
  • BraintreePayPal
    • Fix an issue where BTPayPalRequest was sending phone_number instead of payer_phone
    • Add merchant and flow_type as query parameters to the app switch URL.
    • Add paymentID to BTPayPalAccountNonce

6.36.0

13 Aug 19:48
Compare
Choose a tag to compare
  • BraintreeCore
    • Analytics updates for PayPal's analytics service (FPTI)
      • Add space_key and product_name to batch_params
      • Add context_type to event_params
      • Rename paypal_context_id to context_id

7.0.0-beta2

29 Jul 20:18
Compare
Choose a tag to compare
  • BraintreeCore
    • Improve latency for analytic events.

6.35.0

23 Jul 19:41
Compare
Choose a tag to compare
  • BraintreePayPal
    • Bug fix: BTPayPalRequest.userPhoneNumber could be passed as an empty string resulting in an error
    • Bug fix: Ensure that ASWebAuthenticationSession.start is only called with one URL at a time by blocking additional start calls until the current one completes.
    • Bug fix: Pass unitTaxAmount as expected in BTPayPalLineItem
    • Make BTPayPalLineItem parameters settable
    • Bug fix: only attempt to call UIApplication.shared.open on one URL at a time blocking other open calls until the current one is finished
    • Bug fix: Ensure that the browserLoginAlertCanceled event is not fired off when the ASWebAutheniticationSession popup is disabled.
    • Add paypal:tokenize:browser-presentation:started event for when the ASWebAuthenticationSession.start is launched.
    • Update url FPTI tag to represent the approval URL prior to checkout and the success URL after checkout.

6.34.0

18 Jun 16:05
Compare
Choose a tag to compare
  • BraintreePayPal
    • Set the prefersEphemeralWebBrowserSession flag based on query parameter experiment to enable/disable the WAS popup.

6.33.0

22 May 16:20
Compare
Choose a tag to compare
  • BraintreeCore
    • Update batching for conversion events to send immediately using beginBackgroundTask

7.0.0-beta1

30 Apr 20:17
Compare
Choose a tag to compare
  • Require Xcode 16.2+ and Swift 5.10+
  • Breaking Changes
    • Bump minimum supported deployment target to iOS 16+
    • countryCodeAlpha2 now returns a 2 character country code instead of a 3 character country code
    • BraintreePayPalNativeCheckout
      • Remove entire PayPal Native Checkout module
    • BraintreeVenmo
      • Update BTVenmoRequest to make all properties accessible on the initializer only vs via the dot syntax.
      • Remove fallbacktoWeb property from BTVenmoRequest. All Venmo flows will now use universal links to switch to the Venmo app or fallback to the web flow if the Venmo app is not installed
      • Remove BTAppContextSwitcher.sharedInstance.returnURLScheme
      • BTVenmoClient initializer now requires a universalLink for switching to and from the Venmo app or web fallback flow
      • Update initializer to BTVenmoClient(authorization:)
    • BraintreeSEPADirectDebit
      • Update BTSEPADirectDebitRequest to make all properties accessible on the initializer only vs via the dot syntax.
      • Update initializer to BTSEPADirectDebitClient(authorization:)
    • BraintreeLocalPayment
      • Update BTLocalPaymentRequest to make all properties accessible on the initializer only vs via the dot syntax.
      • Update initializer to BTLocalPaymentClient(authorization:)
    • BraintreeCard
      • Update BTCard to make all properties accessible on the initializer only vs via the dot syntax.
      • Remove BTCardRequest, use BTCard directly instead
      • Update initializer to BTCardClient(authorization:)
    • BraintreePayPal
      • Update BTPayPalRequest, BTPayPalVaultRequest and BTPayPalCheckoutRequest to make all properties accessible on the initializer only vs via the dot syntax.
      • Update PayPal app URL query scheme from paypal-app-switch-checkout to paypal
      • Update initializer to BTPayPalClient(authorization:)
    • BraintreeThreeDSecure
      • Update BTThreeDSecureRequest to make all properties accessible on the initializer only vs via the dot syntax.
      • Update BTThreeDSecureRequest.amount to be a String
      • Remove cardAddChallenge - use cardAddChallengeRequested instead
      • Update initializer to BTThreeDSecureClient(authorization:)
    • BraintreeCore
      • Remove fetchPaymentMethodNonces methods and parser
    • BraintreeAmericanExpress
      • Update initializer to BTAmericanExpressClient(authorization:)
    • BraintreeApplePay
      • Update initializer to BTApplePayClient(authorization:)
    • BraintreeDataCollector
      • Update initializer to BTDataCollector(authorization:)
    • BraintreeShopperInsights (BETA)
      • Update initializer to BTShopperInsightsClient(authorization:shopperSessionID:)
    • BraintreePayPalMessaging (BETA)
      • Update initializer to BTPayPalMessagingView(authorization:)

6.32.0

29 Apr 16:46
Compare
Choose a tag to compare
  • BraintreePayPal
    • Bug fix: remove internal code signing from framework
    • Make userAuthenticationEmail property optional for all App Switch flows
  • BraintreeThreeDSecure
    • Bug fix: remove internal code signing from framework