Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added google_pay_create_payment_method.dart file as example code #1568

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ziagit
Copy link

@ziagit ziagit commented Dec 23, 2023

This example code showing how to create Stripe payment method using Google pay.

Copy link
Member

@remonh87 remonh87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks left a few comments . Most of it looks good

_ApplePayScreenState createState() => _ApplePayScreenState();
}

class _ApplePayScreenState extends State<GooglePayPaymentMethod> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you rename this to googlepayscreenstate?

import 'package:flutter/material.dart';
import 'package:flutter_stripe/flutter_stripe.dart';

class GooglePayPaymentMethod extends StatefulWidget {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you also make an entry in screens.dart so people can open it from the example app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants