mirror of
https://github.com/SoPat712/RUSwipeShare.git
synced 2025-08-21 10:58:47 -04:00
hi
This commit is contained in:
@@ -773,7 +773,7 @@ class _BuyScreenState extends State<BuyScreen> {
|
||||
// add close button
|
||||
ElevatedButton(
|
||||
onPressed: () async {
|
||||
Navigator.pop(context);
|
||||
|
||||
try {
|
||||
// 1. create payment intent on the server
|
||||
int price = (SellerPrice*100).toInt();
|
||||
@@ -804,9 +804,9 @@ class _BuyScreenState extends State<BuyScreen> {
|
||||
);
|
||||
rethrow;
|
||||
}
|
||||
|
||||
|
||||
await Stripe.instance.presentPaymentSheet();
|
||||
|
||||
Navigator.pop(context);
|
||||
|
||||
},
|
||||
child: Text(
|
||||
|
Reference in New Issue
Block a user