This commit is contained in:
Hamza-Ayed
2024-07-03 02:54:06 +03:00
parent b271101979
commit a1e4325988
11 changed files with 366 additions and 179 deletions

View File

@@ -29,8 +29,7 @@ class PaymobPayout extends GetxController {
'client_secret': AK.payMobOutClientSecrret
};
var res = await http.post(
Uri.parse(
'https://stagingpayouts.paymobsolutions.com/api/secure/o/token/'),
Uri.parse('https://payouts.paymobsolutions.com/api/secure/o/token/'),
headers: headers,
body: body,
);
@@ -55,8 +54,7 @@ class PaymobPayout extends GetxController {
"msisdn": msisdn, // "01023456789"
});
var res = await http.post(
Uri.parse(
'https://stagingpayouts.paymobsolutions.com/api/secure/disburse/'),
Uri.parse('https://paymobsolutions.com/api/secure/disburse/'),
headers: headers,
body: body,
);
@@ -131,8 +129,7 @@ class PaymobPayout extends GetxController {
};
var res = await http
.post(
Uri.parse(
'https://stagingpayouts.paymobsolutions.com/api/secure/disburse/'),
Uri.parse('https://paymobsolutions.com/api/secure/disburse/'),
headers: headers,
body: body,
)