Skip to content

Commit

Permalink
Fix Typos (#2038)
Browse files Browse the repository at this point in the history
  • Loading branch information
palenciavik authored Jan 17, 2025
1 parent 3ad42b9 commit b53fda8
Show file tree
Hide file tree
Showing 24 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion docs/customer_sheet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ First initialize the customer sheet
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text(
'Payment succesfully modified option selected: ${result?.paymentOption?.label}}'),
'Payment successfully modified option selected: ${result?.paymentOption?.label}}'),
),
);
} on Exception catch (e) {
Expand Down
4 changes: 2 additions & 2 deletions docs/google_pay.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Then add the `startGooglePay` method to your screen.
);
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(
content: Text('Google Pay payment succesfully completed')),
content: Text('Google Pay payment successfully completed')),
);
} catch (e) {
if (e is StripeException) {
Expand Down Expand Up @@ -200,7 +200,7 @@ In the callback generate the correct stripe token and confirm the payment.
);
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(
content: Text('Google Pay payment succesfully completed')),
content: Text('Google Pay payment successfully completed')),
);
} catch (e) {
ScaffoldMessenger.of(context).showSnackBar(
Expand Down
2 changes: 1 addition & 1 deletion docs/ideal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Future<void> _pay(BuildContext context) async{
);
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
} on Exception catch (e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class _PaymentSheetScreenState extends State<PaymentSheetDefferedScreen> {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class _PaymentSheetScreenState extends State<PaymentSheetScreen> {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class _PaymentSheetScreenState extends State<PaymentSheetScreenWithCustomFlow> {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class AffirmScreen extends StatelessWidget {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class AliPayScreen extends StatelessWidget {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class _AubecsExampleState extends State<AubecsExample> {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class CashAppScreen extends StatelessWidget {
if (!context.mounted) return;
scaffoldMessenger.showSnackBar(
const SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
} on Exception catch (e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class FpxScreen extends StatelessWidget {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class GrabPayScreen extends StatelessWidget {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class IdealScreen extends StatelessWidget {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class KlarnaScreen extends StatelessWidget {
if (context.mounted) {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class _PayPalScreenState extends State<PayPalScreen> {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class SofortScreen extends StatelessWidget {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class _UsBankAccountDirectDebitScreenState
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class WeChatPayScreen extends StatelessWidget {

ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
} on Exception catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/wallets/apple_pay_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class _ApplePayScreenState extends State<ApplePayScreen> {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
const SnackBar(
content: Text('Apple Pay payment succesfully completed')),
content: Text('Apple Pay payment successfully completed')),
);
}
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/wallets/apple_pay_screen_plugin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class _ApplePayExternalPluginScreenState
if (context.mounted) {
scaffoldMessenger.showSnackBar(
const SnackBar(
content: Text('Apple Pay payment succesfully completed')),
content: Text('Apple Pay payment successfully completed')),
);
}
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/wallets/google_pay_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class _GooglePayScreenState extends State<GooglePayScreen> {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
const SnackBar(
content: Text('Google Pay payment succesfully completed')),
content: Text('Google Pay payment successfully completed')),
);
}
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/wallets/google_pay_stripe_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class _GooglePayStripeScreenState extends State<GooglePayStripeScreen> {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
const SnackBar(
content: Text('Google Pay payment succesfully completed')),
content: Text('Google Pay payment successfully completed')),
);
}
} catch (e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class _PaymentSheetScreenState extends State<ApplePayPaymentSheetScreen> {
if (context.mounted) {
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('Payment succesfully completed'),
content: Text('Payment successfully completed'),
),
);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/stripe_checkout/lib/src/platforms/checkout.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class CheckoutResponse with _$CheckoutResponse {
/// Web only
const factory CheckoutResponse.redirected() = _Redirect;

/// The checkout payment has been completed succesfully
/// The checkout payment has been completed successfully
/// Mobile only
const factory CheckoutResponse.success() = _Success;

Expand Down

0 comments on commit b53fda8

Please sign in to comment.