braintree / braintree_ios

Braintree SDK for iOS
https://developer.paypal.com/braintree/docs/start/hello-client/ios/v5
MIT License
557 stars 291 forks source link

Expose `prefersEphemeralWebBrowserSession` #1297

Open gersonmdesouza opened 2 months ago

gersonmdesouza commented 2 months ago

Is your feature request related to a problem? Please describe.

Hello,

We recently started offering Local Payment Methods to our users and we can see a gap on payment acceptance rate comparing Braintree to the old provider that we were using. We added tracking and logging to every place that we could and we noticed that iOS users are dropping mainly because of Apple's consent popup asking the user to share their credentials with paypal.com website. This is causing user misunderstanding what was the selected payment method, first the user selected iDeal or P24, but now the app is showing paypal.com message, so the user is canceling the flow.

Is there any way to control this field and stop sharing user credentials with the web browser session? https://github.com/braintree/braintree_ios/blob/main/Sources/BraintreeCore/BTWebAuthenticationSession.swift#L9

Describe the solution you'd like.

As a software developer and Braintree's client, I want to control whenever the user shares their credentials with web browser session during Local Payment Method flow, in order to increase payment acceptance rate and decrease misunderstandings.

KunJeongPark commented 2 months ago

Thank you for letting us know about this concern. I will check with product and get back to you as soon as possible to let you know if this is possible.

KunJeongPark commented 1 month ago

Hello, I am waiting for product to follow up with this. I will check with them today.

They said that they'd follow up within a week.