iOS in App Purchase: Test a Real Purchase Without Submitting to Apple

iOS In App Purchase: test a real purchase without submitting to Apple

You can actually test the in-app purchasing in the sandbox environment, basically you'll need to set up an test user account in your iTunesConnect.

Check the apple documentation here:
http://developer.apple.com/library/ios/#technotes/tn2259/_index.html

You'll be able to find all the information related to In-App Purchasing, including sandbox testing.

Test In app purchase with out submitting app in iTunes and not verified Products

Yes, you can test your in-app Purchasing for Sandbox without submitting it to the app store and without getting your product validated by Apple.

You can follow these steps:

1) Create the app using a developer account and enter in the app purchase.

2) Create the app in iTunes, and enter which products you want to check in the in-app purchase in the feature tab.

3) Create a Sandbox tester email in iTunes.

4) Provide all data, otherwise you will get Metadata Missing error.

5) Uncheck Sales in Products.

6) Implement in-app Purchase in your app.

7) Make sure to clearly sign out your iTunes account from your device.

8) Now you are able to use in-app purchase in your app.

9) Make sure you use your Sandbox tester email only.

Can I use a real Apple ID for testing In-App Purchases while developing an app?

If your app is in sandbox mode, you need an iTunes test account to test the In-App purchases. Both scenarios you describe apply. If you try to use real accounts, it will just throw you an error.

The same occurs with Game Center accounts.



Related Topics



Leave a reply



Submit