4/17/1
This commit is contained in:
@@ -114,8 +114,8 @@ GetBuilder<MapPassengerController> leftMainMenuIcons() {
|
||||
child: IconButton(
|
||||
onPressed: () async {
|
||||
// await PaymobManager().payWithPayMob(100, 'EGP');
|
||||
await Get.find<PaymentController>()
|
||||
.payWithPayMob(context, '11', 'EGP');
|
||||
// await Get.find<PaymentController>()
|
||||
// .payWithPayMob(context, '1100', 'EGP');
|
||||
// Initiates a payment with a card using the FlutterPaymob instance
|
||||
|
||||
// NotificationController()
|
||||
@@ -150,8 +150,8 @@ class PaymobPackage extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return InkWell(
|
||||
onTap: () async {
|
||||
await Get.find<PaymentController>()
|
||||
.payWithPayMob(context, '11', 'EGP');
|
||||
// await Get.find<PaymentController>()
|
||||
// .payWithPayMob(context, '11', 'EGP');
|
||||
},
|
||||
child: Container(
|
||||
width: 50,
|
||||
|
||||
Reference in New Issue
Block a user