Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to recover missing SKPaymentTransactions?
    primarykey
    data
    text
    <p>I have one test account that has exactly two purchases in its transaction history. Both products are Non-Consumable.</p> <p>I logged in on iPad 1 and bought product A.</p> <p>Then I logged out of iPad 1 and logged in on iPad 2 and bought product B.</p> <p>Then I attempted to restore previous transactions using <code>[[SKPaymentQueue defaultQueue] restoreCompletedTransactions];</code> to unlock product A on iPad 2.</p> <p>When the call comes back, only product B is in the list of restorable transactions.</p> <p>Additionally, when I attempt to buy product A again on iPad 2 using</p> <pre><code>SKPayment *payment = [SKPayment paymentWithProduct:productA]; [[SKPaymentQueue defaultQueue] addPayment:payment]; </code></pre> <p>I get a popup saying 'You've already purchased this. Tap OK to download it again for free.'</p> <p>If I've already purchased product A, why isn't it in the list of products when I try to restore previous purchases? Why do I have to have the user attempt to purchase it again?</p> <p>EDIT:<br> I've discovered that it doesn't matter which iPad I use (iPad 1 or iPad 2), only product B shows up in the list of restorable transactions and product A needs to be repurchased.</p> <p>EDIT:<br> I extrapolated the product request, restore and purchase work into its own project with the same bundle ID and product IDs as the original.</p> <p>Now <em>nothing</em> appears in the list of restorable transactions but the same popup appears when I attempt to buy either product.</p> <p>Another trip down the rabbit hole with broken Apple tools.</p> <p>EDIT:<br> The inspiration for this investigation is a rash of user complaints about missing entitlements. This largely started to become an issue when users were switching from their iPad 2s to new iPad 3s. This isn't consistent among all my users, but enough of them have raised a stink about it to make it a priority, and Apple customer support has directed them back to me, but I'm not sure this is a problem I can fix, especially since Apple insists on being the cash register for in-app purchasing.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload