Skip to content

A simple In-App Purchase example that handles an In-App purchase, and restoring a product.

Notifications You must be signed in to change notification settings

anas-p/In-App-Purchase---iOS

Repository files navigation

In-App Purchase - iOS

A simple In-App Purchase example that handles an In-App purchase, and restoring a product.

Make sure to read Apple's In-App Purchase documentation and Use a Sandbox test user to test IAP, not your actual App store credentials.

Test In-App Purchase on device, since it does not work on the iOS Simulator.

Preview

Purchase:

Restore:

Have to follow these steps to enable In-App Purchase:

  • The Certificates, Identifiers & Profiles section of Apple Developer Account is used to configure your App ID and Provisioning Profiles for in-app purchase.

Apple Developer Account

  • Enable In-App Purchase in Capabilities pane in the project editor for your target.

Capabilities pane

  • To test in-app purchase, you need to create products to purchase and test accounts to make the purchases. iTunes Connect allows you to create and manage in-app purchases and test user accounts.

iTunesConnect

About

A simple In-App Purchase example that handles an In-App purchase, and restoring a product.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages