paypal / PayPal-iOS-SDK

Accept credit cards and PayPal in your iOS app
Other
973 stars 369 forks source link

PayPal app not launched after PayPal payment method selected by user #551

Closed ramunasjurgilas closed 7 years ago

ramunasjurgilas commented 7 years ago

I did integrate PayPal to my project using pod 'Braintree/PayPal'. When user chooses to make payment throw PayPal user is not redirected to the PayPal app. Instead it opens view controller within my app. Is it bug or it should be like this for PayPal?

In documentation is written that needs to provide URL schemes which are needed for switching from one app to another.

I am using latest Braintree SDK:

bluk commented 7 years ago

@ramunasjurgilas The PayPal app is not used for app switching currently. It is expected that a SFSafariViewController or SFAuthenticationSession is presented. The custom URL schemes are required to switch back from those flows to your app.

For related issues, you may want to open issues on the Braintree iOS repository since a few different folks monitor each repository.