newUniqIdentifier property
Implementation
static Future<String> get newUniqIdentifier async {
String identifier = _newTransactionIdentifier;
bool identifierExists = (await verifyPaymentViaPaygateV2(
token,
identifier: identifier,
))
.exists;
while (identifierExists) {
identifier = PaygateConfig._newTransactionIdentifier;
identifierExists = (await verifyPaymentViaPaygateV2(
token,
identifier: identifier,
))
.exists;
}
return identifier;
}