Skip to content

Commit

Permalink
Update Venice app query scheme URL
Browse files Browse the repository at this point in the history
  • Loading branch information
scannillo committed Nov 25, 2024
1 parent 9692962 commit 7257796
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<array>
<string>com.braintreepayments.Demo.payments</string>
<string>com.venmo.touch.v2</string>
<string>paypal-app-switch-checkout</string>
<string>paypal</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
Expand Down
2 changes: 1 addition & 1 deletion Sources/BraintreeCore/BTCoreConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Foundation
public static let venmoURLScheme: String = "com.venmo.touch.v2"

/// URL Scheme for PayPal App
public static let payPalURLScheme: String = "paypal-app-switch-checkout"
public static let payPalURLScheme: String = "paypal"

static let apiVersion: String = "2016-10-07"

Expand Down
14 changes: 14 additions & 0 deletions V7_MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ _Documentation for v7 will be published to https://developer.paypal.com/braintre
1. [SEPA Direct Debit](#sepa-direct-debit)
1. [Local Payments](#local-payments)
1. [3D Secure](#3d-secure)]
1. [PayPal](#paypal)
1. [PayPal Native Checkout](#paypal-native-checkout)


Expand Down Expand Up @@ -40,6 +41,19 @@ v7 updates `BTLocalPaymentRequest` to require setting all properties through the
## 3D Secure
All properties within `BTThreeDSecureRequest` can only be accessed on the initializer vs via the dot syntax.

## PayPal

### App Switch
For the App Switch flow, you must update your `info.plist` with a simplified URL query scheme name, `paypal`.

```diff
<key>LSApplicationQueriesSchemes</key>
<array>
- <string>paypal-app-switch-checkout</string>
+ <string>paypal</string>
</array>
```

## PayPal Native Checkout
The PayPal Native Checkout integration is no longer supported. Please remove it from your app and
use the [PayPal (web)](https://developer.paypal.com/braintree/docs/guides/paypal/overview/ios/v6) integration.

0 comments on commit 7257796

Please sign in to comment.