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

add ConfirmSetup to stripe web #1958

Closed
wants to merge 7 commits into from

Conversation

cedvdb
Copy link
Contributor

@cedvdb cedvdb commented Oct 13, 2024

This effectively adds setup intent support for any kind of payment method on the web.

This adds ConfirmSetup to stripe web as confirmSetupIntent is deprecated. I used [ConfirmPayment] as a template to follow the conventions of this package.

This does not have test yet

@@ -368,6 +368,7 @@ ExpressCheckoutConfirmEvent _$ExpressCheckoutConfirmEventFromJson(

/// @nodoc
mixin _$ExpressCheckoutConfirmEvent {
/// The method that was used to pay.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was added by dart run build_runner build

@@ -12,7 +12,7 @@ part of 'confirm_payment_options.dart';
T _$identity<T>(T value) => value;

final _privateConstructorUsedError = UnsupportedError(
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was changed when running dart run build_runner build

@cedvdb
Copy link
Contributor Author

cedvdb commented Oct 13, 2024

closing , will do 2 separate PRs

@cedvdb cedvdb closed this Oct 13, 2024
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.

1 participant