Android app - google in-app purchase implementation -
developing application (android) band. application freely available in play store , in every month add new album ( movie ) application. user can view requested video in app ( via streaming vimeo pro, youtube pro etc ).
but need restrict paid / purchased user can view corresponding video. there user table in our db saving "which user bought album", can view purchased album anytime, multiple times.
come question have implement in-app purchase buying each album. possible ? ie if user liked 1 album, process be
choose album -> purchase via in-app store ( single album, not entire ) -> if payment received, save user-video details in db -> user can view movie in device
is can done in android app ? or alternative way available ?
please advise in advance
solution:
- you have create number of
product_id
number ofalbum
.and rest of flow same. - for testing,you can make testing account , if don't wish create testing account,you can use
android.test.purchased
id testing - sample application of
in-app v3
provided android-sdk,please @ download sample application reference
have @ in-app billing version 3, testing in-app billing reference
i hope helpful !!
Comments
Post a Comment