Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Bug Unity IAP 4.9.3 Android Slow Card Automatic Refund

Discussion in 'Unity IAP' started by lowLevell, Aug 6, 2023.

  1. lowLevell

    lowLevell

    Joined:
    Nov 22, 2013
    Posts:
    27
    Hi. I discovered a case of "Slow test card, approves after a few minutes" option on Android in Unity IAP plugin 4.9.3.

    1) Buy product with slow card > App stays open > ProcessPurchase triggered in a few minutes > Purchase success

    2) Buy product with slow card > Close app > Order status changes to "Chargeable" in Google Play Console > Open app > ProcessPurchase triggered on startup > Purchase success

    3) Buy product with slow card > Close app > Order status changes to "Chargeable" in Google Play Console > Order status changes to "Charged" in Google Play Console > Open app within 3 minutes after "Charged" status > ProcessPurchase triggered on startup > Purchase success

    4) Buy product with slow card > Close app > Order status changes to "Chargeable" in Google Play Console > Order status changes to "Charged" in Google Play Console > Don't open the app within 3-4 minutes after the "Charged" status > 3-4 minutes after the "Charged" status, Order status automatically changes to "Processing refund" in Google Play Console

    As can be seen cases 1,2 and 3 work fine. But I think there is a problem in the 4. case.
     
  2. lowLevell

    lowLevell

    Joined:
    Nov 22, 2013
    Posts:
    27
    Does anyone have an idea?