6/18/4
This commit is contained in:
@@ -67,10 +67,10 @@ class PaymobPayout extends GetxController {
|
||||
if (dec['disbursement_status'] == 'successful') {
|
||||
var paymentToken = await Get.find<CaptainWalletController>()
|
||||
.generateToken(
|
||||
((-1) * (double.parse(dec['amount'])) + 5).toStringAsFixed(0));
|
||||
((-1) * (double.parse(dec['amount'])) - 5).toStringAsFixed(0));
|
||||
await CRUD().post(link: AppLink.addDrivePayment, payload: {
|
||||
'rideId': DateTime.now().toIso8601String(),
|
||||
'amount': ((-1) * (double.parse(dec['amount'])) + 5).toStringAsFixed(0),
|
||||
'amount': ((-1) * (double.parse(dec['amount'])) - 5).toStringAsFixed(0),
|
||||
'payment_method': 'payout',
|
||||
'passengerID': 'myself',
|
||||
'token': paymentToken,
|
||||
|
||||
Reference in New Issue
Block a user