All Projects → best-flutter → Flutter_alipay

best-flutter / Flutter_alipay

Licence: other
A flutter plugin to use alipay.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Flutter alipay

Flutter Adaptivecards
AdaptiveCards for Flutter 🐦
Stars: ✭ 117 (-14.6%)
Mutual labels:  flutter-plugin
Nautilus
阿里百川电商Flutter插件。
Stars: ✭ 123 (-10.22%)
Mutual labels:  flutter-plugin
Mediumclapflutter
A Custom Floating Action Button (FAB) library like clapping effect on Medium
Stars: ✭ 133 (-2.92%)
Mutual labels:  flutter-plugin
Flutter contacts
A Flutter plugin to retrieve and manage contacts on Android and iOS devices. Maintainer: @lukasgit
Stars: ✭ 119 (-13.14%)
Mutual labels:  flutter-plugin
Facebook audience network
Flutter Facebook Audience Network
Stars: ✭ 122 (-10.95%)
Mutual labels:  flutter-plugin
Plugins
go-flutter implementations for popular Flutter plugins
Stars: ✭ 125 (-8.76%)
Mutual labels:  flutter-plugin
Super enum
Create super-powered dart enums similar to sealed classes in Kotlin
Stars: ✭ 114 (-16.79%)
Mutual labels:  flutter-plugin
Icanpay
ICanPay是一个简单易用的支付平台支付处理类库,目前支持的支付平台有:支付宝(Alipay)、微信支付(WeChatPay)、财付通(Tenpay)、易宝(Yeepay)。
Stars: ✭ 136 (-0.73%)
Mutual labels:  alipay
Flutter Concentric Transition
A Flutter plugin to create views using concentric transition effect.
Stars: ✭ 122 (-10.95%)
Mutual labels:  flutter-plugin
Flutter android
Android bindings plugin for Flutter.
Stars: ✭ 131 (-4.38%)
Mutual labels:  flutter-plugin
Esys Flutter Share
A Flutter plugin for sharing files & text with other applications.
Stars: ✭ 119 (-13.14%)
Mutual labels:  flutter-plugin
Best Pay Demo
best-pay-sdk demo
Stars: ✭ 120 (-12.41%)
Mutual labels:  alipay
Background location
Flutter background location plugin for Android and iOS
Stars: ✭ 127 (-7.3%)
Mutual labels:  flutter-plugin
Youtube player
A flutter plugin to play Youtube Videos without API Key in range of Quality(144p, 240p,360p,480p,720p and 1080p).
Stars: ✭ 118 (-13.87%)
Mutual labels:  flutter-plugin
K chart
Maybe it is the best k chart in Flutter.
Stars: ✭ 134 (-2.19%)
Mutual labels:  flutter-plugin
Edge detection
This is a flutter plugin to detect edges in a live camera, take the picture of detected edges object, crop it, and save.
Stars: ✭ 116 (-15.33%)
Mutual labels:  flutter-plugin
Apiproject
[https://www.sofineday.com], golang项目开发脚手架,集成最佳实践(gin+gorm+go-redis+mongo+cors+jwt+json日志库zap(支持日志收集到kafka或mongo)+消息队列kafka+微信支付宝支付gopay+api加密+api反向代理+go modules依赖管理+headless爬虫chromedp+makefile+二进制压缩+livereload热加载)
Stars: ✭ 124 (-9.49%)
Mutual labels:  alipay
Modal progress hud
A simple modal progress HUD (heads-up display, or progress indicator) for flutter
Stars: ✭ 137 (+0%)
Mutual labels:  flutter-plugin
Analog clock
⌚️Analog Clock widget for Flutter ⏰
Stars: ✭ 136 (-0.73%)
Mutual labels:  flutter-plugin
Flutter credit card
A credit card widget for Flutter application.
Stars: ✭ 126 (-8.03%)
Mutual labels:  flutter-plugin

flutter_alipay

A flutter plugin to use alipay.

因为项目很久了,所以之前的项目都推倒重新来了。

有任何问题,欢迎加入qq群854192563交流

功能列表

  • 调用支付

安装

增加依赖 pubspec.yaml

dependencies:
  flutter_alipay: "^1.0.0"

开始

  • ios集成

    • 在info.plist增加一条URL scheme
    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Editor</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>org.zoomdev.flutter.alipay</string>
            </array>
        </dict>
    </array>

如果需要定制URL scheme可以这么做:

  • 或者
 <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Editor</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>__YOUR APP SCHEME NAME__</string>
            </array>
        </dict>
    </array>

然后在app中调用

await FlutterAlipay.setIosUrlSchema('YOUR APP SCHEME NAME');

使用

import 'package:flutter_alipay/flutter_alipay.dart';
  • 调取支付
var result = await FlutterAlipay.pay("you pay info from server");
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].