Deeplinking issues with different mobile UPI applications

Home Forums UPI API Deeplinking issues with different mobile UPI applications

Tagged: ,

This topic contains 4 replies, has 3 voices, and was last updated by  shyam 7 months, 2 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1828

    nraj
    Participant

    Essentially I am trying to open UPI app with prefilled values from a web page.

    I have followed the syntax in
    http://www.npci.org.in/documents/UPI-Linking-Specs-ver-1.1_draft.pdf

    When I click a url like this

    <a href="upi://pay?pa=9886798867@upi&am=2&tn=Test%transaction"><img src="http://relier.in/upi.png" height="35" width="100"> </a>

    in Android phones, it does give the list of UPI apps, but when I choose one of them, it opens that UPI app ignoring all the parameters..

    I have tried with Bhim, AXIS, HDFC and behaviours are different. The idea of deeplinking is to prefill (and possibly dont allow modification) of values and take
    to the app.. Only AXIS bank App honoured the values and prefilled in the app.

    Am I missing something here?

    #1829

    rselva
    Participant

    Apps which have BROWSABLE intent filter in manifest (<category android:name=”android.intent.category.BROWSABLE” />) honor the uri. AXIS, Phone_Pe have the intent hence they honor the uri. Below is the axis pay app manifest :

    <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
                <intent-filter>
                    <action android:name="android.intent.action.VIEW" />
                    <category android:name="android.intent.category.DEFAULT" />
                  <category android:name="android.intent.category.BROWSABLE" />
                    <data android:scheme="axispay" />
                </intent-filter>
    
    <intent-filter android:label="0x7f0800c7">
                    <action android:name="android.intent.action.VIEW" />
                    <category android:name="android.intent.category.DEFAULT" />
                    <category android:name="android.intent.category.BROWSABLE" />
                    <data android:scheme="upi" android:host="pay" />
                </intent-filter>
    
    • This reply was modified 8 months, 2 weeks ago by  rselva.
    • This reply was modified 8 months, 2 weeks ago by  rselva.
    #1839

    nraj
    Participant

    Dear Selva, thanks for clarifications.

    Meanwhile I tried Canara bank, United bank of India and SBI UPI apps – they all seem to work fine. But BHIM, PhonePe ignore the deeplinking.

    Since all UPI apps should follow the specs in NPCI web site, shouldnt they all support the deeplinking as mentioned the specs? How they can ignore BROWSABLE intent filter and not support this feature?

    Thanks,
    raj

    #1840

    rselva
    Participant

    @nraj
    Please note PhonePe has BROWSABLE intent.

    <intent-filter>
                    <action android:name="android.intent.action.VIEW"/> android:priority="1000"
    <category android:name="android.intent.category.DEFAULT"/>
                    <category android:name="android.intent.category.BROWSABLE"/>
                    <data android:scheme="phonepe"/>
                </intent-filter>
                <intent-filter>
                    <action android:name="android.intent.action.VIEW"/>
                    <category android:name="android.intent.category.DEFAULT"/>
                    <category android:name="android.intent.category.BROWSABLE"/>
                    <data android:host="pay" android:scheme="upi"/>
                </intent-filter>
    

    However the app activity ignores many tags including amount(am). Try
    <a href="upi://pay?pn=NRAJ&pa=9886798867@upi">Pay NRAJ</a>
    Many apps ignore the specs citing various security issues. It would be good if the apps follow the specs.
    NCPI considers BHIM as a reference app. It is more like proof of concept. It was never meant to be full fledged UPI app.

    #1900

    shyam
    Participant

    @nraj I am also using deep link url on my website but unable to figure out how to capture the response from PSP app. Do you know how to get the transaction status from the PSP apps.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.