Object passed in to VerifySignatureRequest. This must also be used to either accept or reject a signature as requested from the clover device.
예제 #1
0
 public virtual void OnVerifySignatureRequest(VerifySignatureRequest request)
 {
 }
예제 #2
0
 public void OnVerifySignatureRequest(VerifySignatureRequest request)
 {
     throw new NotImplementedException();
 }
 ////////////////// CloverSignatureLister Methods //////////////////////
 /// <summary>
 /// Handle a request from the Clover device to verify a signature
 /// </summary>
 /// <param name="request"></param>
 public void OnVerifySignatureRequest(VerifySignatureRequest request)
 {
     if (autoApproveSigYes.Checked)
     {
         request.Accept();
     }
     else {
         CloverExamplePOSForm parentForm = this;
         uiThread.Send(delegate (object state)
         {
             SignatureForm sigForm = new SignatureForm(parentForm);
             sigForm.VerifySignatureRequest = request;
             sigForm.Show();
         }, null);
     }
 }
 public void OnVerifySignatureRequest(VerifySignatureRequest request)
 {
     Send("/VerifySignatureRequest", Serialize(request));
 }
 public void RejectSignature(VerifySignatureRequest request)
 {
     Send("/RejectSignature", request);
 }
 public RESTSigVerRequestHandler(RemoteRESTCloverConnector cloverConnector, VerifySignatureRequest request)
 {
     restCloverConnector = cloverConnector;
     svr = request;
     Payment = request.Payment;
     Signature = request.Signature;
 }
 public void OnVerifySignatureRequest(VerifySignatureRequest request)
 {
 }
 public void AcceptSignature(VerifySignatureRequest request)
 {
     Send("/AcceptSignature", request);
 }
 public void RejectSignature(VerifySignatureRequest request)
 {
     if (Device != null)
     {
         Device.doVerifySignature(request.Payment, false);
     }
 }
예제 #10
0
 public void AcceptSignature(VerifySignatureRequest request)
 {
     if (Device != null)
     {
         Device.doVerifySignature(request.Payment, true);
     }
 }
 public WebSocketSigVerRequestHandler(RemoteWebSocketCloverConnector cloverConnector, VerifySignatureRequest request)
 {
     WSCloverConnector = cloverConnector;
     svr = request;
     Payment = request.Payment;
     Signature = request.Signature;
 }
 public void RejectSignature(VerifySignatureRequest request)
 {
     if (websocket != null)
     {
         RejectSignatureRequestMessage message = new RejectSignatureRequestMessage();
         message.payload = request;
         websocket.Send(JsonUtils.serialize(message));
     }
 }
 public void OnVerifySignatureRequest(VerifySignatureRequest request)
 {
     OnVerifySignatureRequestMessage onVerifySignatureRequest = new OnVerifySignatureRequestMessage();
     onVerifySignatureRequest.payload = request;
     WebSocket.Send(Serialize(onVerifySignatureRequest));
 }