Flutter 的支付网关

Payment gateway for flutter

如何在 flutter 框架中集成支付网关。有没有我可以轻松使用的库? iOS 和 Android 需要分开做吗? 在那种情况下,哪个是印度最好的图书馆? 查看新的付款套餐 https://pub.dev/packages/flutter_paystack

flutter暂无支付插件

要将支付集成到 Flutter 应用中,只需在本地集成支付并通过实现 platform channel.

调用它。

显示了平台渠道实施示例 here

希望对您有所帮助!

我能够使用 webview 和 flutter_webview_plugin

集成 stripe
 String test = "Test Charge";
 int amount = 100;
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
        home: new WebviewScaffold(
      url: new Uri.dataFromString('''
      <html>
        <head>
         <meta name="viewport" content="width=device-width">
        </head>
        <center>
          <body>      
            <form action="Your Server" method="POST">
              <script
                src="https://checkout.stripe.com/checkout.js" class="stripe-button"
                data-key="pk_test_key"
                data-amount="$amount"
                data-name="$test"
                data-description="My Order"
                data-image="https://stripe.com/img/documentation/checkout/marketplace.png"
                data-locale="auto"
                data-currency="eur">
              </script>
            </form>            
          </body>
        </center>
      </html>
            ''', mimeType: 'text/html').toString(),
    ));
  }

您需要为实时支付设置服务器。可以找到更多信息: https://stripe.com/docs/checkout#integration-simple