搜索插件、代码仓与 APP 分类

插件详情v2.1.2

square_in_app_payments

一个开源的 Flutter 插件,用于调用 Square 的原生应用内支付 SDK,以在 iOS 和 Android 上实现应用内支付。

AndroidiOS
近 30 天下载
2390
喜欢数
111
Pub 分数
150

安装插件

flutter pub add square_in_app_payments

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

square_in_app_payments 包是 Flutter 插件,可让开发者将其 Android 和 iOS 应用程序与 Square 的原生应用内支付 SDK 集成。它提供了一种无缝的方式,在应用程序内直接处理信用卡支付,利用 Square 安全的支付基础设施。该插件通过原生 SDK 处理令牌化和支付授权,确保符合 PCI 标准。它支持卡存档和一次性支付,非常适合需要应用内结账功能的电子商务和服务类应用程序。

适合场景

  • 应用内购买
  • 电子商务结账
  • 服务预订付款
  • 数字产品销售
  • 订阅计费

主要特点

  • 原生 SDK 集成
  • 卡券令牌化
  • 符合PCI标准的支付
  • 支持 iOS 和 Android
  • 安全支付处理

适合对象

  • 移动电子商务应用
  • 按需服务平
  • 数字市场应用
  • 基于订阅的服务
  • 需要安全应用内支付的应用

使用建议

  • 需要设置 Square 账户
  • 需要原生SDK配置
  • 仅限 Square 支付处理
  • 取决于 Square API 的可用性
  • 可能需要额外的后端验证

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

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.

所属分类

依赖

依赖清单 3 项

源码仓库

使用此插件的项目