Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

UPI payment failure

Discussion in 'Unity IAP' started by Senthil_Cmgt, Nov 30, 2019.

  1. Senthil_Cmgt

    Senthil_Cmgt

    Joined:
    Sep 19, 2019
    Posts:
    5
    When i am trying to do in-app through UPI in android, always its getting failed. Anyone face same issue ?
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    6,094
  3. Senthil_Cmgt

    Senthil_Cmgt

    Joined:
    Sep 19, 2019
    Posts:
    5
    @JeffDUnity3D IAP is working fine with Credit card, net banking and everything. But when i try to do with Google Pay or Phone pe in India, money is getting reduced in my bank account but transaction is failure in unity side. Then money is returning back.
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    6,094
    Sorry I don't follow. Please provide steps to reproduce. This sounds like a Google issue
     
  5. Senthil_Cmgt

    Senthil_Cmgt

    Joined:
    Sep 19, 2019
    Posts:
    5
    Configure IAP for google as
    @JeffDUnity3D After configuring, Make an APK, upload it in google play store. Install and make purchase with net banking, it is working.

    Try making purchase with UPI from google purchaser screen, it will send message to UPI for payment request, when you do payment and come back. Purchaser screen is already closed and no confirmation about payment. After some time in UPI money will be returned back to your bank account.
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    6,094
    Have you configured your bank account to accept UPI payments? Unity IAP doesn't handle any of the transaction process, so you will want to contact Google.
     
    Last edited: Dec 3, 2019 at 4:17 PM
  7. Senthil_Cmgt

    Senthil_Cmgt

    Joined:
    Sep 19, 2019
    Posts:
    5
    @JeffDUnity3D We have configured bank account and UPI. What we found by our observation is, when purchase popup from unity opens, after that if we go background and come back, purchase popup is getting closed. because if that we are not able to get payment success callback. If there any way to keep that purchase pop up open ?
     
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    6,094
    We have no control over that dialog, that is a native Google popup. What version of IAP are you using? Please test with 1.23.
     
  9. Senthil_Cmgt

    Senthil_Cmgt

    Joined:
    Sep 19, 2019
    Posts:
    5
    We are using unity IAP 2.0.3 from package manager in unity 2018.4.13f1.
     
  10. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    6,094
    That is the Package Manager version, what is the Asset version? It should be 1.23 . Go to menu Window/Unity IAP/IAP Updates... to see the version