Skip to main content
Question

Failure to re-purchase a product on iOS.

  • 7 September 2022
  • 0 replies
  • 80 views

After a few re-purchases of the same product (after it expired normally) it becomes impossible to re-purchase it again. The Apple native purchase dialog is not displayed, PurchaseProduct callback is called with no errors, but the CustomerInfo does not include any active Entitlement or any ActiveSubscription.

(We are using RevenueCat SDK 4.0.0 and Unity 2021.3.8)

Of course, those purchases are in sandbox. But it's impossible for us to determine if this is a sandbox-only issue. We never had a similar issue with in our current implementation of Unity IAP, so answering this is actually an important for us as we are currently trying to assess if the SDK is stable enough to transition to.


Here are the [Purchases] logs from one of those failed purchase:

 

2022-09-01 12:06:22.334218-0400 AppNamee18946:594262]  Purchases] - DEBUG: ℹ️ Skipping products request because products were already cached. products: c"com.company.app.subscription_one_month_01"]
2022-09-01 12:06:22.337390-0400 AppNamep18946:593336] 3Purchases] - INFO: 💰 Purchasing Product 'com.company.app.subscription_one_month_01'
2022-09-01 12:06:22.340405-0400 AppName 18946:593336] 5Purchases] - DEBUG: ℹ️ PaymentQueue updatedTransaction: com.company.app.subscription_one_month_01 XXXXXXXXXXXXXXX1 XXXXXXXXXXXXXXX2 1
2022-09-01 12:06:22.341816-0400 AppName018946:593336] 9Purchases] - DEBUG: ℹ️ Force refreshing the receipt to get latest transactions from Apple.


2022-09-01 12:06:23.055246-0400 AppName218946:594262] ePurchases] - DEBUG: ℹ️ Loaded receipt from url file:///private/var/mobile/Containers/Data/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/StoreKit/sandboxReceipt
2022-09-01 12:06:23.055986-0400 AppName.18946:594262] pPurchases] - DEBUG: ℹ️ Skipping products request because products were already cached. products: r"com.company.app.subscription_one_month_01"]
2022-09-01 12:06:23.056637-0400 AppName618946:593336] 0Purchases] - DEBUG: ℹ️ Found 0 unsynced attributes for App User ID: XXXXXXXXXXXXXXXX
2022-09-01 12:06:23.088693-0400 AppName118946:594262] -Purchases] - DEBUG: ℹ️ PostReceiptDataOperation: Started
2022-09-01 12:06:23.089212-0400 AppName-18946:594262] 9Purchases] - DEBUG: ℹ️ There are no requests currently running, starting request POST receipts
2022-09-01 12:06:23.097133-0400 AppName218946:594262] 3Purchases] - DEBUG: ℹ️ API request started: POST /v1/receipts
2022-09-01 12:06:25.050778-0400 AppName>18946:594262] 0Purchases] - DEBUG: ℹ️ API request completed: POST /v1/receipts 200
2022-09-01 12:06:25.066365-0400 AppNameb18946:594262] Purchases] - DEBUG: ℹ️ PostReceiptDataOperation: Finished
2022-09-01 12:06:25.066750-0400 AppNameh18946:594262] 9Purchases] - DEBUG: ℹ️ Serial request done: POST receipts, 0 requests left in the queue
2022-09-01 12:06:25.071697-0400 AppNamee18946:593336] 2Purchases] - INFO: 😻💰 Purchased product - 'com.company.app.subscription_one_month_01'
2022-09-01 12:06:25.073391-0400 AppNameo18946:593336] rPurchases] - INFO: 💰 Finishing transaction com.company.app.subscription_one_month_01 XXXXXXXXXXXXXXX1 (XXXXXXXXXXXXXXX2)

I did originally post a reply on this thread, but the post never appeared for some reason.

0 replies

Be the first to reply!

Reply