구독 아이템 환불 처리시 내부 db에 결제내역을 삭제해주려고 합니다...
검색해도 잘 안나오네요...
mHelper.queryInventoryAsync(mGotInventoryListener); //이걸 호출해서
IabHelper.QueryInventoryFinishedListener mGotInventoryListener = new IabHelper.QueryInventoryFinishedListener() {
public void onQueryInventoryFinished(IabResult result, Inventory inventory) {
if (result.isFailure()) {
return;
}
Purchase premiumPurchase = inventory.getPurchase(SKU_GOLF);
if (premiumPurchase != null) {
if (premiumPurchase.getPurchaseState() == 0) {
//환불처리
}
}
}
}
이렇게 해주고 있습니다...
그런데 전혀 처리가 안되네요...
어떻게 해야하는건가요 ㅠㅠ?? 가르쳐주세요...
그리고... 환불시 환불메일이 따로 구매자에게 가게되나요??
그럼 그 시점이 환불이 완료된 시점인건가요??
어제 google wallet에서 구독한걸 환불해줬는데 구매자 계정으로 환불완료 메일이 안오네요...