PayPal SDK for Flutter?

3,299

Edit: There is a new Native Checkout SDK for Android and iOS: https://developer.paypal.com/docs/business/native-checkout/


Old answer:

If you need a native SDK, you can use PayPal's Braintree Mobile SDK to accept payments to any normal PayPal business account.

In addition to that SDK running in your app, you will also need a webservice/server to run the server-side portion of this integration.

Here is the documentation: https://developer.paypal.com/docs/accept-payments/express-checkout/ec-braintree-sdk/get-started/

Share:
3,299
Quick Click
Author by

Quick Click

Updated on December 16, 2022

Comments

  • Quick Click
    Quick Click over 1 year

    I'm creating an app and I need in app payments (not GooglePay or ApplePay) There lots of in app payments plugins! but they are all not supported in my country... I searched for more than 3 days and found 0 plugins that support my country. My last resort is PayPal but from my searches there is no plugin for flutter or any tutorial on youtube. I really really need this to work, I don't care if it is PayPal or any other in app payment method, just so it can work in my country. Can someone help me?

    P.S.: I'm from Israel

  • Quick Click
    Quick Click about 4 years
    Is this the easiest way to get the "Pay with PayPal" in Flutter/Dart?
  • Preston PHX
    Preston PHX about 4 years
    It is the way that uses a native SDK. The easiest way is with a link of the form: paypal.com/…
  • Quick Click
    Quick Click about 4 years
    Braintree is not supported in Israel, will it affect the process? and is there a full guide on how to do what you described on video? I have a hrad time just doing what I read from the page.. they assume a lot of stuff and things like that
  • Preston PHX
    Preston PHX about 4 years
    Braintree Direct (the fully payment gateway) is not supported in Israel. PayPal payments via the Braintree Mobile SDK are supported, following the linked guide on developer.paypal.com
  • Quick Click
    Quick Click about 4 years
    Is there any video showing how to do it? I found nothing.
  • Preston PHX
    Preston PHX about 4 years
    Video? No. Sample code, maybe. This plugin seems to have an option for standalone PayPal (no dropin UI, which you do not want): github.com/DeligenceTechnologies/… -- however, it probably authenticates with gateway credentials, and you will be using a braintree access token from developer.paypal.com . So, you will need to modify the sample code to use a different credential type, at least on the server end
  • Márcio Valim
    Márcio Valim over 3 years
    @PrestonPHX could you explain how to use this link "paypal.com/webapps/…" in my project?
  • Preston PHX
    Preston PHX over 3 years
    That's a link of a checkout in progress, so there's no way or reason to use it directly. Use one of the normal integration methods for whatever your environment is.