Issue with Android Intent not opening in latest version (110) of Android Chrome app

I've been attempting to open a UPI payment link in the Chrome browser on mobile devices, but for some unknown reason, it's not working.

Issues encountered in:

Chrome: 110, Android 12, Nokia device

Successful in:

Chrome: 110, Android 11, One Plus device,

Safari: 16, iOS 16,

Firefox

Check out sample UPI links here

<a target="_self" href="upi://pay?tr=202101345671229366&tid=121313202101345671229366&pa=juspay@axisbank&mc=1234&pn= Merchant%20Inc&am=1.00&cu=INR&tn=Pay%20for%20merchant">Link3</a>

Answer №1

You've made a few minor errors in the URL provided. To start, the & symbol should be properly escaped as &amp; Additionally, make sure to specify the currency as INR using cu=INR

A correct working link would look something like this:

<a href="upi://pay?pa=Naukri.payu@indus&amp;pn=Info Edge India Limited&amp;tr=16796361409&amp;am=1.00&amp;cu=INR">Pay Now !</a>

For a more general URL structure, consider the format below-

upi://pay?pa=UPI_ID&amp;pn=NAME_OF_MERCHANT&amp;tr=TRANSACTION_ID&amp;am=AMOUNT&amp;cu=INR

Note: Feel free to include spaces in the URL - they will automatically be converted to the %20 ASCII code.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Unlocking Column Data Tooltips in Angular Datatables: A Step-by-Step Guide

I have a single datatable and was wondering how to implement tooltips for when hovering over table cells. I tried the following code snippet, which successfully populated the tooltips. However, I am interested in achieving the same functionality using Angu ...

Attempting to retrieve an object's attribute

Hey! I have a question regarding the screenshot in this link: I'm trying to access the user object with the property team. So far, I've attempted using data.Object, but it returns an undefined output. I also tried using data.user but that resul ...

What causes the indexOf method to return -1 even when the values are present in the array?

Could someone explain why the indexOf() method returns -1 even though the values are present in the array? The includes() function also returns false for me. I feel like I must be missing something or forgetting a crucial detail. Any insights on why the ...

Setting up a personalized JSPM registry configuration

I have chosen to use Verdaccio as the platform for hosting a private package. In my current project, I am looking to incorporate this package locally. The package has been successfully published and is now hosted on Verdaccio running on localhost (http://l ...

When receiving a parameter in Javascript, one common issue is that the

So far, I have attempted to use both 'cv' and "cv" in the code, but it still returns as undefined. Using HTML (Laravel Blade) <button class="btn btn-danger" onclick="deleteType({{$cv->id,"cv"}})"> ...

The issue with the jQuery library arises when attempting to duplicate or insert a new row

As I work on creating a table, one of the requirements is to include a row with a multiple-select tags field in a cell. To achieve this functionality, I am utilizing a jQuery library as shown below. Additionally, there should be an option to add new entrie ...

The FirebaseVisionImage error message states that the variable 'image' may have not been initialized yet

I'm encountering an issue while working with the Google Firebase example for machine learning kit in Android Studio. Specifically, I am facing an error when trying to pass the image variable into the detector.processImage method (the error message is ...

Upon a successful AJAX post request, the page fails to display

I'm encountering an issue connecting my front-end JavaScript to my back-end Node/Express. Although the requests from my client-side js to the server return successful, the page I am requesting fails to render. On the server side, here is my code: ap ...

Experiencing difficulties with a click event function for displaying or hiding content

Struggling with implementing an onClick function for my two dynamically created components. Currently, when I click on any index in the first component, all content is displayed. What I want is to show only the corresponding index in the second component ...

JavaScript - Reveal a div when a grid item is clicked

I have created a grid with a 5x7 layout using divs. I am trying to achieve a feature similar to the Netflix interface where, upon clicking on a div, a larger div will appear beneath it. This larger div should expand to 100% width of the parent container, p ...

Utilize Android Room to maintain data integrity and privacy without compromising encapsulation

I have encountered a challenge while using Room to store data for my entity objects. In order to comply with Room's requirement that all fields be publicly accessible(with getters/setters), I had to compromise on encapsulation for my Model in the MVVM ...

To access ES Module, importing is necessary

I'm currently working on a project to develop a service that can convert SVG files into PNG format using the svg2img package. Everything is running smoothly when testing locally with vercel dev, but I keep encountering an error whenever I try to deplo ...

An efficient method for removing a column using JavaScript

Hello, I'm seeking assistance with the following code snippet: $(document).on('click', 'button[id=delete_column]', function () { if (col_number > 1) { $('#column' + col_number).remove(); $('#col ...

How can I modify the material and color of the result in Three.js CSG?

Upon creating a union of two meshes, I want to apply MeshLambertMaterial specifically on the object named 'result': var lathe = new THREE.Mesh(latheGeometry); var cube_bsp = new ThreeBSP( lathe ); var box = new THREE.BoxGeometry( 2,30,3); var ...

Tips for preventing the browser from freezing when incorporating a large HTML chunk retrieved through AJAX requests

I've developed a web application that showcases information about various items. Initially, only a small portion of the items are displayed at the top level. Upon loading the page for the first time and displaying these initial items, I make an AJAX r ...

Why does the del command delete the parent folder as well?

I am looking to remove all files within the ./dist/* directory while leaving the ./dist folder itself untouched (it should be empty once the task completes). const del = require('del'); gulp.task('clean:dist', function(cb){ del([ ...

Troubleshooting issues with ember-data's belongsTo relationship

I am facing an issue with the model I have: Whenever I make a call to this.store.find('history'); A request is sent to http:://www.example.com/api/histories/ and I receive the following JSON response: { "tracks":[ { "id":83, ...

Is it possible to send an HTTP request from the renderer process to the main process in Electron?

Currently, I am in the midst of developing an electron video player project. My main objective is to stream video from a readable stream to an HTML video-tag. I am exploring different solutions and strategies to achieve this goal. In particular, I am cur ...

By setting up a keydown event listener, I am unable to inspect HTML elements by using the F-12 key shortcut in Chrome

Recently, I encountered an issue where adding a keydown event listener in my JavaScript code prevented F-12 from working properly. window.addEventListener("keydown", function (event) { if (event.defaultPrevented){ retu ...

Using AJAX to Query a PHP Database

Currently, I am implementing an AJAX call from the YouTube player JavaScript to a PHP page that contains various functions, mainly involving database inserts. In my PHP code, I use a case statement to determine which function is being called based on the d ...