square_in_app_payments 1.7.10 copy "square_in_app_payments: ^1.7.10" to clipboard
square_in_app_payments: ^1.7.10 copied to clipboard

An open source Flutter plugin for calling Square’s native In-App Payments SDK to take in-app payments on iOS and Android.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add square_in_app_payments
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  square_in_app_payments: ^1.7.10
copied to clipboard

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:square_in_app_payments/google_pay_constants.dart';
import 'package:square_in_app_payments/in_app_payments.dart';
import 'package:square_in_app_payments/models.dart';
import 'package:square_in_app_payments/models.g.dart';
copied to clipboard
108
likes
150
points
1.27k
downloads

Publisher

verified publishersquareup.com

Weekly Downloads

2024.09.13 - 2025.03.28

An open source Flutter plugin for calling Square’s native In-App Payments SDK to take in-app payments on iOS and Android.

Repository (GitHub)
Contributing

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

built_collection, built_value, flutter, meta

More

Packages that depend on square_in_app_payments