cash_wallet_plugin

flutter pub get

一个用于现金钱包 API 的 Flutter 插件。

用法

要使用此插件,请在您的 pubspec.yaml 文件中添加 cash_wallet_plugin 作为依赖项。

    void cashWallet(BuildContext context) async {
    CashAip cashAip = CashAip(
      spId: "//your spId get it from cash wallet supports",
      userName: "//your userName get it from cash wallet supports",
      keyEncrypt: "//your keyEncrypt get it from cash wallet supports",
      password: "//your password get it from cash wallet supports",
      context: context,
      amount: 1000,
      isArabic: true,
    );

    if (await cashAip.initialise()) {
      //your code when Success payment
    } else {
      //your code when error in payment
    }
  }

Screenshot from 2022-10-02 09-40-09Screenshot from 2022-10-02 09-40-45

有关 Flutter 入门指南,请参阅我们的在线 文档

GitHub

查看 Github