Skip to content

Commit

Permalink
show dialog after successful payment
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Nov 17, 2023
1 parent 0035c65 commit abe92a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/plans/play_checkout.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ class _PlayCheckoutState extends State<PlayCheckout>
widget.plan.id,
emailController.value.text,
)
.onError((error, stackTrace) {
.then((value) async {
showSuccessDialog(context, widget.isPro);
}).onError((error, stackTrace) {
showError(
context,
error: e,
Expand Down

0 comments on commit abe92a6

Please sign in to comment.