Swift 3.0+ : Paypal - Braintree integration - swift

I am currently integrating Braintree in my iOS app in order to receive payments via PayPal and I exactly followed this guide:
https://developers.braintreepayments.com/guides/paypal/client-side/ios/v4
My status: I can receive payments via PayPal, BUT only via Safari browser. Instead of opening the PayPal app, Safari is being launched.
Moreover, when i use the default paypal-ios-sdk (
https://github.com/paypal/PayPal-iOS-SDK ),
I can easily pay via the PayPal app and not the browser, but as mentioned here: https://developer.paypal.com/docs/integration/mobile/ios-integration-guide/
The paypal mobile sdk´s are deprecated and everybody should migrate to Braintree.
So, how can I open the PayPal app in my Braintree integration instead of Safari?

Related

Intregration Paypal Pro payment

I need to integrate the PayPal Pro in my iOS app instead of PayPal i.e being used in the my current app.
I couldn't find any documentation for integrate the PayPal Pro in iOS app.
Is there any difference between PayPal and PayPal Pro integration and therefor different iOS SDK.
Thanks in advance.

How to enable Mobile PayPal Payments Standard on sandbox?

I am using PayPal Standard in sandbox environment for subscriptions. But, when I try to go through the payment screens after clicking on Subscribe button, I find that the PayPal pages are not optimized for mobile screens. So, I decided to enable Mobile PayPal Payments Standard, but cannot find a way to do so in sandbox environment.
Question : How to enable Mobile PayPal Payments Standard in sandbox environment? I logged into Paypal with the seller account and tried to find some option under Profile tab but could not find anything to turn this feature on.
Below is a screen shot of how PayPal login page looks on iPhone 6, which clearly is not optimized for mobile.
Also, when I went to following URL: https://www.sandbox.paypal.com/us/webapps/mpp/paypal-payments-standard, I found that pages are mobile-optimized but actually they are not as I tested on my mobile device. So, I think PayPal is confusing readers or giving wrong information or there is something missing in their docs. You can see a screen shot below where PayPal confirms mobile-friendly pages.
Merchants that are integrated with the “Donate”, “Add to Cart”, or “Subscribe” buttons will not benefit from the mobile optimized experience at all at this time. Their customers will continue to go through the current payment experience on mobile devices.
Refer this link for more information about the Mobile PayPal payment Standard: https://developer.paypal.com/docs/classic/products/mobile-paypal-payments-standard/

Paypal integration for mobile apps

I'm developing an app using mobile jquery and my plan is to convert it to a android app using phonegap. I have integrated paypal payments to the app.
My problem is how can I redirect to the mobile app from the server once the payment is accepted or cancelled ?

Integrating new Paypal iOS SDK

I need to integrate new paypal ios sdk in my app.But my question is that which Paypal solution (e.g. Standard, Express checkout, Payflow etc.) client need to have in order to integrate this SDK?
Thanks in advance

difference between MPL and PayPal iOS SDK

I want to integrate my app with PayPal. I integrated using PayPal iOS SDK but i m facing some issues as in iOS SDK it doesn't have full support for non-US developers. I want to know what's difference between MPL and PayPal iOS SDK.
What are the advantages of PayPal iOS SDK over MPL ?
What are the disadvantages of PayPal iOS SDK over MPL?
Dave from PayPal here.
The main distinction is that MPL is an older SDK which PayPal is phasing out, while the PayPal iOS SDK (mobile SDK, or "mSDK") is a new SDK which PayPal is phasing in. mSDK is based on the new REST APIs, which themselves are under active development.
For simple one-time payment transactions, mSDK is easier to integrate into your app than MPL.
However, during this transition period, MPL includes several features that have not yet been implemented for mSDK. These features include pre-approved payments, chained payments, and more support for non-U.S. accounts.
There is also a third option, the Mobile Express Checkout ("MEC"). This is a webflow-based approach.
Some relevant links: SDKs Overview[1], MPL[2], MEC[3]
[1] https://developer.paypal.com/webapps/developer/docs/integration/mobile/mobile-sdk-overview/
[2] https://developer.paypal.com/webapps/developer/docs/classic/mobile/gs_MPL/
[3] https://developer.paypal.com/webapps/developer/docs/classic/mobile/gs_MEC/#concepts