Skip to content
pubscout

flutter_paypal_payment

1.0.8, released 2 years ago by an unverified publisher

Integrate PayPal payments into your Flutter mobile, web, and desktop application.

Unverified publisher
$ flutter pub add flutter_paypal_payment
Source repository

What it does

Simplifies PayPal integration by providing an in-app checkout view supporting both sandbox and production environments. It offers callbacks for payment success, errors, and cancellations alongside customizable transaction details.

AI-written summary of version 1.0.8, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to accept PayPal payments in your Flutter app.
  • You want to test payments using PayPal sandbox mode.

Skip it when

  • You require payment gateways other than PayPal.
  • You need complex subscription management not supported by the package.

Strengths

  • Seamless in-app PayPal integration
  • Supports sandbox and production environments
  • Provides success, error, and cancellation callbacks

Weaknesses

  • Limited to PayPal payments
  • Not documented for advanced subscription and recurring payment setups yet

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Add the package to pubspec.yaml and configure your PayPal client ID and secret key.

Navigator.of(context).push(MaterialPageRoute(builder: (BuildContext context) => PaypalCheckoutView(sandboxMode: true, clientId: "", secretKey: "", transactions: const [], onSuccess: (Map params) async {}, onError: (error) {}, onCancel: () {})));

Alternatives

Packages that do the same job and could replace flutter_paypal_payment.

Works with

Packages commonly used together with flutter_paypal_payment: ones it builds on, ones built on it, and its own family.