25.12.2013 Views

In-App Purchase Programming Guide - Apple Developer

In-App Purchase Programming Guide - Apple Developer

In-App Purchase Programming Guide - Apple Developer

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Designing Your <strong>App</strong>’s Products<br />

Differences Between Product Types<br />

Differences Between Product Types<br />

Each product type is designed for a particular use. The behavior of different product types varies in certain<br />

ways, as summarized in Table 1-1 and Table 1-2.<br />

Table 1-1<br />

Comparison of product types<br />

Product type<br />

Users can buy<br />

<strong>App</strong>ears in the receipt<br />

Synced across devices<br />

Restored<br />

Non-consumable<br />

Once<br />

Always<br />

By the system<br />

By the system<br />

Consumable<br />

Multiple times<br />

Once<br />

Not synced<br />

Not restored<br />

Table 1-2<br />

Comparison of subscription types<br />

Subscription type<br />

Auto-renewable<br />

Non-renewing<br />

Free<br />

Users can buy<br />

Multiple times<br />

Multiple times<br />

Once<br />

<strong>App</strong>ears in the receipt<br />

Always<br />

Once<br />

Always<br />

Synced across devices<br />

By the system<br />

By your app<br />

By the system<br />

Restored<br />

By the system<br />

By your app<br />

By the system<br />

Products that expire or get used up—consumable products, auto-renewable subscriptions, and non-renewing<br />

subscriptions—can be purchased multiple times to get the consumable item again or extend the subscription.<br />

Non-consumable products and free subscriptions unlock content that remains available to the user indefinitely,<br />

so these can only be purchased once.<br />

Consumable products and free subscriptions appear in the receipt after being purchased but are removed the<br />

next time the receipt is updated, as discussed in more detail in “Persisting Using the <strong>App</strong> Receipt” (page 26).<br />

All other types of products have an entry in the receipt that is’t removed.<br />

Consumable products, by their nature, aren’t synced or restored. Users understand that, for example, buying<br />

ten more bubbles on their iPhone doesn’t also give them ten more bubbles on their iPad. All other types of<br />

products are made available across all of the user’s devices. They’re also restored so users can continue to<br />

access their purchased content even after buying a new device. Store Kit handles the syncing and restoring<br />

process for auto-renewable and free subscriptions and for non-consumable products.<br />

2013-10-22 | Copyright © 2013 <strong>App</strong>le <strong>In</strong>c. All Rights Reserved.<br />

10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!