title: Google Pay UPI Integration not working in android
body: <p>GPay integration was working totally fine before 2 days but now its showing same error in gpay app. Intent calling for gpay payment is not working.
  I have completed transaction successfully days before. but now its not working. Any help would be appreciated! Thanks in Advance.</p>
  <p>My Code</p>
  <pre><code> uriapp = new Uri.Builder()
              .scheme(&quot;upi&quot;)
              .authority(&quot;pay&quot;)
              .appendQueryParameter(&quot;pa&quot;, getString(R.string.vpa))
              .appendQueryParameter(&quot;pn&quot;, getString(R.string.payee))
              .appendQueryParameter(&quot;tr&quot;, orderId)
              .appendQueryParameter(&quot;tn&quot;, description)
              .appendQueryParameter(&quot;am&quot;, String.valueOf(amount))
              .appendQueryParameter(&quot;cu&quot;, &quot;INR&quot;)
              .build();
  
   Intent intent = new Intent(Intent.ACTION_VIEW);
          intent.setData(uriapp);
          intent.setPackage(model.getPackageName());
          if (intent.resolveActivity(getPackageManager()) != null) {
              startActivityForResult(intent, GOOGLE_REQUEST_CODE);
          } else {
              Toast.makeText(this, &quot;This payment mode is not available on your device.&quot;, Toast.LENGTH_LONG).show();
          }
  </code></pre>
  <p>I am using correct vpa business Id.</p>
  <p>GPay Error:</p>
  <pre><code>this transaction may be risky. for your safety it cant be completed at this time
  </code></pre>