![]() App Store Product Configurationįirst task in our hands is to configure App Store account for the Apple in-app purchases. App Store Product configuration, App Store Sandbox configuration and Server configuration. ![]() As this blog is targeted to server-side implementation of in-app purchases, it’s better not to explain how to set up Xcode or App Store for the iOS app. I’m giving preference to VS Code because it’s easy to operate and offers a lot in terms of plugins & code management.Īlso, you can use any language other than Ruby as overall procedure to implement in-app purchases is very much similar.Īnd lastly, we need App Store account which will be used for setting up iOS client app & configuring in-app products’ details. App Store & Heroku account for configuring in-app purchases & deploying our app.We’ll be using following things to get started: Your server should be responsible for letting users know of events of initiate, renewal, revoke & expiry.Your server should be responsible for updating user status by renewals, cancellations, restorations & payment failures.Your server should be responsible for providing benefits or premium features to the User.If your server is down or not accessible, make sure your app will try to verify successful but unverified purchases until server is back online. ![]() After successful completion of the purchase, your app will hit your server’s API to verify this purchase.Avoid purchase verification on your server without / verifyReceipt endpoint.Avoid purchase verification on the device using App Store server / verifyReceipt endpoint.Your server should be responsible for verifying the purchase.We’ll implement Automatically Renewable Subscription & Consumable type of in-app products.So you’ve spent substantial amount of time over something which seems so unproductive & quite illogical, right? Been there, done that & it sucks! I know this because I’ve been to dark side before!Īnyway, I assume you’d have little bit idea about Apple’s in-app purchases, right? So let’s take follow up of certain things:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |