구글 인앱결제 시 등록 item에
기간제한을 두려고 합니다.
그래서 각 기간별 아이템을 만들어서
기간체크는 서버에서 하려고 하는데요.
이럴 때... 기간별 등록 item들을
managed로 해야 할까요?
아니면 unmanaged로 해야 할까요?
보통 실무에서 기간제 인앱제품 추가할때
어떤 옵션으로 하는지 궁금합니다...
감사합니다. 먼저 구독으로 만들긴 했었어요. 그런데
구독이 자동결제가 된다는 장점이 있어서 사용할 예정이었는데...
통신사결제 옵션이 안 뜨더라구요. 그래서 다시 인앱제품으로
등록하고 따로 관리를 하려고 시도를 해보고 있습니다.
그런데 혹시 제가 적용을 잘 못한건지.. subscription에서 통신사결제는
원래 안 되는 건가요?
그리고 말씀대로 딱 두가지.. monthly와 yearly 이 두개밖에 안되는 것 같아요.
저는 3개월... 또는 6개월 단위로 하고 싶은데 subscription에서
혹시 가능할까요?
통신사 결제 부분에 대해서는 모르겠네요;; 구글 지갑에 등록된 신용카드로 결제하는거 아닌가요??
http://developer.android.com/guide/google/play/billing/billing_subscriptions.html 이 api 문서를 꼭 읽어보세요 번역기를 돌려서라도 꼭 봐야 합니다. 여기서는 결제 주기를 결정할 수 있다고 읽은 것 같은데 막상 할때 보니 월별, 년별 밖에 없어서 저도 조금 당황했었어요
만료날짜는 알수가 있으니 3개월 6개월 같은 날짜는 체크가 가능할 것 같은데 구매자가 아닌 어플리케이션 단에서 취소시키는 api는 제공하지 않는다고 하네요..날짜 체크가 되면 제품페이지를 로드해서 취소를 유도? 해야 되나..도움이 못되는것 같네요..
In-app Billing does not currently provide an API to let users directly view or cancel subscriptions from within the purchasing app. Instead, users can launch the Play Store app on their devices and go to the My Apps screen to manage subscriptions. In My Apps, users can see a list of their subscriptions organized by application. Tapping one of the subscriptions loads the app's product page, from which users can see active subscriptions and billing status and cancel subscriptions as needed.
To make it easier for users to find and manage their subscriptions from inside your app, we recommend that you offer a "View My Subscriptions" or "Manage Subscriptions" option in your UI that directly loads your app's product page in the Play Store app.
To do this, create an intent with the ACTION_VIEW action and include the market:// URI (rather than thehttp:// URI) of your app's details page. Here’s an example:
Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse("market://details?id=com.example.app")); startActivity(intent);



