payNow static method
Future<String?>
payNow(
- double discountedProductAmount,
- double taxAmount,
- double shippingAmount,
- double addedShippingAmount,
- double addedBillingAmount,
- String currency,
- String merchantID,
- String merchantName,
- String orderNumber, {
- bool isTest = false,
})
Implementation
static Future<String?> payNow(
double discountedProductAmount,
double taxAmount,
double shippingAmount,
double addedShippingAmount,
double addedBillingAmount,
String currency,
String merchantID,
String merchantName,
String orderNumber,
{bool isTest = false}) async {
String result = await _channel.invokeMethod('payNow', {
"ProductAmount": discountedProductAmount,
"TaxAmount": taxAmount,
"ShippingAmount": shippingAmount,
"AddedShippingAmount": addedShippingAmount,
"AddedBillingAmount": addedBillingAmount,
"currency": currency,
"merchantID": merchantID,
"merchantName": merchantName,
"orderNumber": orderNumber,
"testMode": isTest,
});
return result;
}