In-App Billing    
This topic is assigned to Tina

Jul 14, 2014 08:03 AM
Do you plan to sell inside your application in-game currency, app feature upgrades, new content for Android application?Don't know how?

The solution to the problem leads in In-App Billing function that allows you to sell digital goods you offer inside the application to users.

Any application that you publish through Google Play can implement In-App Billing. No special account or registration is required other than Google Developer Console account and a Google Wallet merchant account.

Step 1.  Inside your application the purchase pages are compulsory. From SeattleCloud's Marketplace you may use "Magazine Store" and "Purchase" pages.

Moreover, you may use In-App Purchase Link from DESIGN TOOLBOX.

Note: For Android platform we support Non-Consumable and Consumable In-App Billings. For iOS we support besides these: Free Subscription and Auto-Renewable.

Step 2.  Enable In-App Billing for your app. For that go to the Application Dashboard - > App Settings -> Platform Specific Options.

Step 3.  In Platform Specific Options you need to set the Application Licensing Public key. For that go to your Google Developer Console account, press on Add new application(!!! do not upload any APK yet) and find the Services & APIs section. Here you may find your key for the application you are working on.

Select it and copy to the Platform Specific Options where you enabled the In-app Billing.

Step 4. After you finish all the steps below you should request an APK for your app. Submit the app from App Dashboard > Ready to Publish and request an Instant Build ( ,step3, point1) When you get .zip folder with APK file you have to upload it to Google Play Developer Console as a draft in beta. 

Step 5.  Create In-app products in Google Play Developer Console.You just have to press  "+Add new product".

Next you will have to fill the blank line with your Product ID (ID you create at this step should be the same with ID you use in one of the Purchase pages) and choose Managed product type.
!!! Set a Product ID when you create an In-App Product on your Google Developer Account, then copy and insert it in the Purchase Page (Magazine Store) on SeattleCloud website.

When you entered all the data about your product make sure to activate  the page in the right edge.

Step 5. Complete the remaining sections: "Store Listing" and "Pricing & Distribution" to publish your application.

Step 6. Test your application to know for sure that everything is working and is configured correctly  before you publish it. You will have to wait 1-2 hours until In-App Product will be available throughout Google Play to test on your device.The device you use for testing must run a standard version of the Android 2.2 or later platform, and have the most current version of the Google Play application installed. If a device is not running the most current Google Play application, your application won't be able to send In-app Billing requests to Google Play.

Step 7. Promote APK from BETA TESTING to Production.Go to Beta Testing and find in Actions column "Promote to Prod" and move APK to Promotion to publish the application.

Step 8. Publish your application on Google Play Store.

Jul 15, 2014 01:12 PM
Why do we have to choose Non-Consumable?  If we choose Consumable what happens? If I sell a digital magazine what do I have to use? Why not use Auto-Renewable?

Thank you

Hello Ioustini,

Please open a support ticket regarding the issue you have to get a detail answer on your technical questions.

Best regards!

Jul 16, 2014 07:13 AM
Hello Loustini,

You may choose Consumable or Non-Consumable In-App Purchase for Android. For iOS we support as well Free Subscriptions and Auto-Renewable.

best regards,
SC Team.  

Mar 06, 2015 12:17 AM
Thank you for this great tutorial. 

How can I test if my IAB option is working correctly without actually buying my own app? In my google play account i can add email address's of test users but i am not sure how to actually test the IAB option.

Hello Marco,

Thank you for your question.

After you have created your In-App Product on your Google Play Developer Console in BETA TESTING wait for 1-2 ours until the product will be available on Google Play. Then you need to request an instant build for your application on the website and install the APK file on your Android device. You cannot test the application in the SeattleCloud previewer application.

Your mobile phone should run a standard version of the Android 2.2 or later platform, ...

Jul 09, 2016 03:29 AM
When using the Purchase page for non-consumables, does the buy button dynamically change to an open button after purchase as it does on the MagazineStore page?

Nov 30, 2016 08:49 PM
Are auto-renewing subscriptions now supported for Android?