payV2 static method
Implementation
static Future<NewTransactionResponse> payV2({
String? identifier,
String? description,
String? callbackUrl,
String? phoneNumber,
PaygateProvider? provider,
required double amount,
}) async {
return payViaPaygateV2(
_token,
amount,
(identifier ?? "").isNotEmpty
? identifier!
: (await PaygateConfig.newUniqIdentifier),
description: description,
callbackUrl: callbackUrl,
phoneNumber: phoneNumber,
provider: provider,
color: PaygateConfig.customTabColor,
);
}