谷歌flutter
Google’s Flutter is an excellent platform and I like its capability to build robust hybrid apps the most. Flutter app development services can help entrepreneurs come up with feature-rich apps in a short time. As a Flutter app developer, I keep on exploring the possibilities of integrating innovative features and functionality in Flutter apps.
Google的Flutter是一个出色的平台,我最喜欢其构建健壮的混合应用程序的能力。 Flutter应用程序开发服务可以帮助企业家在短时间内提出功能丰富的应用程序。 作为Flutter应用程序开发人员,我一直在探索在Flutter应用程序中集成创新功能的可能性。
Recently I was searching How to integrate Google Pay using Stripe Payment Gateway in Flutter. I have also checked Stripe Official Documentation For Google Pay. But documentation is not for the Flutter Platform. So I decided to publish an article to integrate Google Pay using Stripe in Flutter.
最近,我在搜索如何使用Flutter中的Stripe Payment Gateway集成Google Pay。 我还检查了Stripe的 Google Pay 官方文档 。 但是文档不适用于Flutter平台。 因此,我决定发表一篇文章,在Flutter中使用Stripe集成Google Pay。
Stripe is the software platform for running an internet bussiness. It’s a suite of payment APIs that powers commerce for online businesses of all sizes.
Stripe是用于运行Internet商务的软件平台。 这是一套支付API,可为各种规模的在线企业提供商务支持。
Use of these platforms in this integration.
在集成中使用这些平台。
Lets first make a note of the tasks we are going to do :
让我们首先记下我们要完成的任务:
- Use Android Studio and Visual Studio Code as an Editor. 使用Android Studio和Visual Studio代码作为编辑器。
- Create a new Flutter Project named as per your choice. 根据您的选择创建一个新的Flutter项目。
Use a stripe_native plugin.
使用stripe_native插件。
Create an Account on Stripe. Just Sign up and Sign in, not required other details as we will be using the test API keys.
在Stripe上创建一个帐户。 只需注册并登录,不需要其他详细信息,因为我们将使用测试API密钥。
Create Flutter Project on Firebase Console and Upgrade your Firebase plan to Blaze Plan(Paid Plan). A paid account is the most important one.
在Firebase控制台上创建Flutter Project,并将Firebase计划升级到Blaze Plan(付费计划)。 付费帐户是最重要的帐户。
Setup the Node.js environment in your system.
在系统中设置Node .js环境。
Setup Firebase CLI to deploy Firebase Cloud Functions.
设置Firebase CLI以部署Firebase Cloud Functions。
Create a Flutter Project in your Android Studio or VS Code.
在Android Studio或VS Code中创建Flutter项目。
使用stripe_native插件 (Use stripe_native Plugin)
Add this plugin into pubspec.yaml file.
将此插件添加到pubspec.yaml文件中。
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.3
stripe_native: ^1.2.3
Please run the following command
请运行以下命令
flutter pub get
扑吧获得
在条带上创建帐户 (Create Account on Stripe)
Go to Stripe Website then perform Sign up and Sign In.
转到Stripe网站,然后执行“注册并登录”。
After Creating Stripe Account Go to Dashboard.
创建Stripe Account后,转到Dashboard 。

Click on Get your test API keys. It gives you two API keys (Publishable Key, Secret key).
单击获取您的测试API密钥。 它为您提供了两个API密钥(可发布密钥,秘密密钥)。
Note : I have followed coding standards into this so when there is requirement to show details of particular word then its written belo