• Stars
    star
    135
  • Rank 269,297 (Top 6 %)
  • Language
    Dart
  • License
    Other
  • Created over 6 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A flutter plugin to use alipay.

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");

More Repositories

1

flutter_swiper

The best swiper for flutter , with multiple layouts, infinite loop. Compatible with Android & iOS.
Dart
3,501
star
2

transformer_page_view

PageTransformer for flutter
Dart
518
star
3

flutter_amap_location

高德地图flutter定位组件
Dart
274
star
4

flutter_dropdown_menu

A dropdown menu for Flutter.
Dart
265
star
5

flutter_page_indicator

Page indicator for flutter, with multiple build-in layouts.
Dart
180
star
6

flutter_jpush

Flutter版本jpush
Objective-C
142
star
7

flutter_amap

A Flutter plugin use amap.高德地图flutter组件
Objective-C
136
star
8

flutter_refresh

A Flutter plugin for refreshing every scrollable view by pulling down-up.
Dart
71
star
9

flutter_location_picker

A location area picker for flutter 省市区位置选择器
Dart
63
star
10

sweetalert

sweetalert for flutter
Dart
56
star
11

flutter_wechat_ble

ble 4.0 with wechat style api for flutter. flutter版微信api风格的低功耗蓝牙
Dart
53
star
12

gbk2utf8

A flutter package to convert gbk to utf-8
Dart
43
star
13

flutter-lover

我们是一群热爱flutter的开发者,我们的目标是让更多人爱上flutter,让移动开发变得更加高效、简单。
36
star
14

easy_alert

A package for flutter to use alert and toast within one line code.
Dart
32
star
15

disk_lru_cache

Disk lru cache for flutter.
Dart
31
star
16

flutter_baidu_location

A flutter plugin for baidu geo location.百度地图定位flutter插件
Dart
22
star
17

linker

A plugin for flutter to link with other app.
Dart
21
star
18

lazy_indexed_stack

懒加载IndexedStack,IndexedStack默认全部加载children,在某些情况下我们不希望这样,lazy_indexed_stack在index被访问之后才加载对应的视图
Dart
20
star
19

flutter_statusbar

A flutter plugin to fetch statusbar info like height.
Ruby
16
star
20

binding_helper

A easy way to use WidgetsBind like get rect of your widget
Dart
10
star
21

flutter_easy_nfc

nfc for flutter,android only
Java
7
star
22

dva

dva for flutter, flutter版dva。
Dart
4
star
23

flutter_rongcloud

融云im flutter版本,开发中
Dart
4
star
24

flutter_umpush

flutter友盟推送插件
3
star
25

flutter_issue

flutter的问题、坑汇总,总结便于大家查找
3
star
26

puremvc

flutter版本puremvc
Dart
2
star
27

refresh_view

Dart
2
star
28

flutter_awesome

flutter资源整理, flutter教程、flutter开源库、flutter问题汇总、flutter文章
1
star