razorpay / razorpay-flutter

Razorpay Flutter Plugin
MIT License
108 stars 149 forks source link

Paying via upi does not open the googlepay app instead ask for upi id in the razorpay app #407

Closed neeluagrawal04 closed 2 months ago

neeluagrawal04 commented 3 months ago

Description

Paying via upi does not open the googlepay app instead ask for upi id in the razorpay app while running app in ios application.

After integrating the Razorpay flutter sdk, it will ask for the available payment options, once I am selecting UPi, the user will be re-directed to upi page where it will ask for upi id for the user instead of re-directing to the google pay application which is the feature in android or ios native sdk

Flutter Version :

razorpay version: razorpay_flutter: ^1.3.7

Xcode Version : 1.15.1

Cocoapod Version : razorpay-pod (1.3.10) and razorpay_flutter (1.1.10)

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. integrate razorPay sdk> click on purchase cta > it will redirect user to payment options
  2. select google pay UPI
  3. user will be redirected to UPi asking for upi id

Expected Results

User should be re-directed to particular google pay application instead of asking user to open upi id

Snack, code example, screenshot, or link to a repository:

IMG_0311 IMG_0312

vivekshindhe commented 3 months ago

@neeluagrawal04 For using UPI Intent flow in iOS, you will need to add the applications in the info.plist file. You can find the details for this, here

neeluagrawal04 commented 3 months ago

Hi @vivekshindhe since we have already added the details in info.plist like below, but still the razorpay is giving us option to add the upi id instead of moving to the google pay app, and we are using razorPay flutter sdk for ios. Kindly help here!

<key>LSApplicationQueriesSchemes</key>
    <array>
        <string>tez</string>
        <string>phonepe</string>
        <string>paytmmp</string>
    </array>