Accept Payments Using Google Pay With Stripe In Flutter
Use the Stripe to start accepting Google Pay in your Android apps.
Setup Firebase CLI To implement Cloud Function
Go to Firebase Console in your project then click on the Functions tab from the drawer.
Run the following commands in terminal :
npm install -g firebase-tools
After running the last command you will get this window in the terminal.
Choose Functions: Configure and Deploy Cloud Functions.
After that please choose your project according to your project name and finish all the steps.
Please install all the npm dependencies which it’s asking for.
It generates some files into your functions folder.
- Google Pay Screen
- Google Pay Bottm Sheet with Card and Account Details
- Alert Dialog For Confirm and Cancel Payment Process
- Payment Successful Indicator
- Payment Unsuccessful Indicator
Screenshots for reference :
Contact me : email@example.com
Please Visit Google Pay With Stripe In Flutter Source Code at GitHub