How to download Unity IAP 1.23.1 version ?

I updated Unity IAP to version 1.23.2. But I’m having problems. But when I stop buying products show “PurchaseFailureReason.UserCanceled” log, but also completes the purchase and displays the “ProcessPurchase: PASS. Product:” log.

I wasn’t having this problem in version 1.23.1. How can I revert to version 1.23.1? I couldn’t find the unitypackage file anywhere.

1 Like

Can you share the logs from such a test? Text not image

Starting Game

06-26 18:32:28.792 27430 27515 I Unity : UnityIAP Version: 1.23.2
06-26 18:32:30.300 27430 27515 I Unity : Using configuration builder objects
06-26 18:32:30.916 27430 27515 I Unity : OnInitialized: PASS
06-26 18:32:30.917 27430 27515 I Unity : UnityIAP: Promo interface is available for 1 items
06-26 18:32:35.583 27430 27515 I Unity : Purchasing product asychronously: 'product.bundle'
06-26 18:32:35.603 27430 27515 I Unity : purchase({0}): product.bundle

I click the Purchase button in the game and the Google purchase window appears and immediately press the phone’s back button

06-26 18:32:37.045 27430 27515 I Unity : onPurchaseFailedEvent({0}): product.bundle
06-26 18:32:37.045 27430 27515 I Unity : OnPurchaseFailed: FAIL. Product: 'product.bundle', PurchaseFailureReason: UserCancelled

06-26 18:32:37.978 27430 27515 I Unity : ProcessPurchase: PASS. Product: 'product.bundle'
06-26 18:32:37.980 27430 27515 I Unity : UnityIAP Promo: Clearing promo product metadata
1 Like

The IAP version that is live on the Google Play Store is 1.23.1. I download it from the Google Play Store and try same.

Starting Game

06-26 18:41:48.143 29358 29426 I Unity : UnityIAP Version: 1.23.1
06-26 18:41:48.809 29358 29426 I Unity : Using configuration builder objects
06-26 18:41:49.924 29358 29426 I Unity : OnInitialized: PASS
06-26 18:41:49.930 29358 29426 I Unity : UnityIAP: Promo interface is available for 1 items
06-26 18:41:53.888 29358 29426 I Unity : Purchasing product asychronously: 'product.bundle'
06-26 18:41:53.904 29358 29426 I Unity : purchase({0}): product.bundle

I click the Purchase button in the game and the Google purchase window appears and immediately press the phone’s back button

06-26 18:41:55.048 29358 29426 I Unity : onPurchaseFailedEvent({0}): product.bundle
06-26 18:41:55.048 29358 29426 I Unity : OnPurchaseFailed: FAIL. Product: 'product.bundle', PurchaseFailureReason: UserCancelled

1 Like

@lowLevell Got it, I will follow up and provide the link to 1.23.1

Thanks. I’m waiting

How’s it going? It’s really annoying that IStoreListener.ProcessPurchase() is called right after IStoreListener.OnPurchaseFailed() (by user cancel).

For me, this situation is always occurred by this way:

  • Make a pending receipt.
  • Restarts the app.
  • Consume the receipt.
  • Try to buy a product, but cancel this time.
  • OnPurchaseFailed() is called with a code: user canceled.
  • Right after that, ProcessPurchase() is called.

When the situation occurs, the transaction ID value on ProcessPurchase() is actually the purchase token and the product info is same to the previously consumed one. I think it’s natural that there’s no transaction ID because the transaction was never happen by user cancel.
This problem lead my logging system to be totally screwed up, so I want to know any workaround or when it will be solved.

1 Like

We are working on a solution

@JeffDUnity3D
When can you upload version 1.23.1? I need to send an update to the google play.

Here you go Unity IAP Previous Versions (Obsolete - please see Package Manager)

Thanks

1 Like

Thank you for the fast and helpful reports of the behavior after reinstallation!

[Unity IAP 1.23.3 is now released]( Unity IAP package 4.12.2 is now available page-2#post-6041324) and includes the functionality of 1.23.2 with a change to disable by default the problematic behavior @lowLevell (and @ryule_unity ) reported, “stop buying products [cancel purchase, then it] completes the purchase”.

Please see the release notes for more detail on how to opt-in to this feature for more immediate recovery and notification of successful purchases which were previously interrupted, which is safe to use if the game supplements the erasable TransactionLog Unity IAP on-device database with a transaction-ID de-duplication server.