Skip to main content

Posts

Showing posts from March, 2022

A Developer's Guide to verify In-App purchase

  Disclaimer: Helpful document for the coder This document is providing the API calls needed from the mobile device to verify the purchase from the respective stores. The RESTful API will connect with the respective store and verify the purchase, update the user data and will provide the necessary response to the user call. We are going to verify the receipt data from the Apple Store and the purchase token from the Google Play Store. Both stores provide steps to verify/get details of the transaction but this document comes in handy and provides action plans for the mobile app developer and the backend team. Objective Verify In-App purchase/subscription from Google Play Store and Apple Store Requirements Apple IAP Verification: Apple shared secret    Google IAP Verification: Service Account Key file (JSON file)  Key factors: Expertise & Patience  RESTful APIs Purchase subscription/product This will be the first API call from the mobile app to send the purcha...

Google Play Developer API: How to Create a Service Account

Why am I reading this? Mobile applications are surrounded by so many modules in addition to that, the IN-APP Purchase and Subscriptions play a good amount of role, where you as an owner of the app, can generate revenue by selling consumable and non-consumable goods such as Coins for Games, Subscription plans for your app many things. Now, as you are selling some goods on your app, there must be a way to validate that purchase or get the details. But obviously, you can do it from the app itself as Google does provide SDK for the same. (SDK – Software Development Kit). But, we are living in a world where Android and iOS exist and in a very competitive market! Google Play Developer API gives us the power to check the user’s transaction from the RESTful APIs which leads you to read this blog. With the RESTful API, we can do this call from the BACKEND and leave the app standalone and do other stuff Offering Google Play Developer API lets you manage the two main components in your project Th...