Search packages, repositories and app categories

Package detailsv2.1.2

square_in_app_payments

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

AndroidiOS
30-day downloads
2.4K
Likes
111
Pub points
150

Install package

flutter pub add square_in_app_payments

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The square_in_app_payments package is a Flutter plugin that enables developers to integrate Square’s native In-App Payments SDK into their Android and iOS applications. It provides a seamless way to process card payments directly within the app, leveraging Square’s secure payment infrastructure. The plugin handles tokenization and payment authorization through native SDKs, ensuring compliance with PCI standards. It supports both card-on-file and one-time payments, making it ideal for e-commerce and service-based apps requiring in-app checkout functionality.

Use cases

  • In-app purchases
  • E-commerce checkout
  • Service booking payments
  • Digital product sales
  • Subscription billing

Key features

  • Native SDK integration
  • Card tokenization
  • PCI-compliant payments
  • Support for iOS and Android
  • Secure payment processing

Suitable for

  • Mobile e-commerce apps
  • On-demand service platforms
  • Digital marketplace apps
  • Subscription-based services
  • Apps requiring secure in-app payments

Considerations

  • Requires Square account setup
  • Needs native SDK configuration
  • Limited to Square payment processing
  • Dependent on Square's API availability
  • May require additional backend validation

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Flutter plugin for In-App Payments SDK

build Pub

The Flutter plugin for Square In-App Payments SDK is a wrapper for the native Android and iOS SDKs and supports the following native In-App Payments SDK versions:

  • iOS: 1.6.7
  • Android: 1.6.9

Additional documentation

In addition to this README, the following is available in the flutter plugin GitHub repo:

Build requirements

Flutter
  • Flutter version 3.44 or higher (required for the Swift Package Manager iOS integration)
  • Dart version 3.12 or higher
Android
  • Android minSdkVersion is API 28 (Android 9).
  • Android Target SDK version: API 36 (Android 16).
  • Android SDK build tools: 26.0.3
  • Android Gradle Plugin: the plugin inherits your app's version (the plugin build uses the Gradle Kotlin DSL).
  • Support library: 27.1.1
  • Google Play Services: 16.0.1
  • Google APIs Intel x86 Atom_64 System Image
iOS
  • Xcode version: 16 or greater (required for Swift Package Manager).
  • iOS Base SDK: 14 or greater.
  • Deployment target: iOS 14.0 or greater.
  • iOS integration uses Swift Package Manager (SPM), which Flutter 3.44 enables by default. CocoaPods is still supported and needs no Podfile changes.
  • This plugin will work on Mac with Intel processor and Apple silicon chips.

In-App Payments SDK requirements and limitations

  • In-App Payments SDK cannot issue refunds. Refunds can be issued programmatically using the Refunds API or manually in the Square Dashboard.

Sample applications

License

Copyright 2019 Square Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package