2/9/1
This commit is contained in:
@@ -125,8 +125,8 @@ class PaymentController extends GetxController {
|
||||
late String clientSecret;
|
||||
|
||||
Future<void> makePaymentStripe(
|
||||
int amount, String currency, Function method) async {
|
||||
var newAmount = amount * 100;
|
||||
double amount, String currency, Function method) async {
|
||||
var newAmount = (amount * 100).toInt();
|
||||
|
||||
try {
|
||||
// Check if local authentication is available
|
||||
@@ -427,7 +427,7 @@ class PaymentController extends GetxController {
|
||||
|
||||
final body = {
|
||||
'amount': amount, //amount
|
||||
'currency': 'aed',
|
||||
'currency': 'usd',
|
||||
'destination': account //'acct_1OKIjQRgcWrsdyDT' //account id
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user