activePinpadWithCredentials method
Create external functions from invoke methodChannel Function to active pinpad with SDK the Stone with credentials
Implementation
Future<bool> activePinpadWithCredentials({
required String appName,
required String stoneCode,
required String qrCodeAuthroization,
required String qrCodeProviderid,
bool printCustomerSlip = true,
}) async {
try {
await channel.invokeMethod(PaymentTypeCall.activePinpadCredentials.method, {
"appName": appName,
"stoneCode": stoneCode,
"qrCodeAuthorization": qrCodeAuthroization,
"qrCodeProviderid": qrCodeProviderid,
"printCustomerSlip": printCustomerSlip,
});
return true;
} catch (e) {
return false;
}
}