2016-05-31 2 views
0

Image example of my error이 결제 수단이 거부되었습니다. (신용 카드, 직불 카드, PayPal 및 PayPal)

상품에 액세스 할 수 있지만 어떤 방법으로도 결제 할 수 없습니다. 결제 수단이 거부되었습니다. (신용 카드, 직불 카드, PayPal 및 Redeem) 이러한 작업 중 하나도. 어디서 수정해야하는지, 아니면 내 콘솔에 특별한 설정을 추가해야하는지 잘 모르겠습니다. 도와주세요!

내 코드 : 공공 무효 inAppBilling() {

ArrayList<String> skuList = new ArrayList<>(); 
    skuList.add(idReal); 
    Bundle querySkus = new Bundle(); 
    querySkus.putStringArrayList("ITEM_ID_LIST", skuList); 
    Bundle skuDetails; 
    try{ 
     //Toast.makeText(PurchaseActivity.this, "Ya has entrado chaval", Toast.LENGTH_LONG).show(); (“inapp” or "subs"). 
     skuDetails = mService.getSkuDetails(3,getPackageName(),"inapp",querySkus); 

     int response = skuDetails.getInt("RESPONSE_CODE"); 
     if (response == 0) { 
      ArrayList<String> responseList 
        = skuDetails.getStringArrayList("DETAILS_LIST"); 

      for (String thisResponse : responseList) { 

       JSONObject object = new JSONObject(thisResponse); 
       String sku = object.getString("productId"); 
       String price = object.getString("price"); 
       System.out.println("price "+price+" Sku" +sku+" "+currentUser.getBoolean("completeContent")); 
       if (sku.equals(idReal)){ 
        System.out.println("price "+price+" Sku" +sku+" "+currentUser.getBoolean("completeContent")); 
        //Bundle buyIntentBundle = mService.getBuyIntent(3, getPackageName(), sku, "inapp", "bGoa+V7g/yqDXvKRqq+JTFn4uQZbPiQJo4pf9RzJ"); 

        Bundle buyIntentBundle = mService.getBuyIntent(3, getPackageName(), sku, "inapp",null); 

        //"+U7F9DbU//IE+Xl1kOuMM2xkTIpL58FjWAoyh5WriyC8jqoQYMOvMrpwIDAQAB"); 

        PendingIntent pendingIntent = buyIntentBundle.getParcelable("BUY_INTENT"); 

        startIntentSenderForResult(pendingIntent.getIntentSender(), 1001, 
          new Intent(), Integer.valueOf(0), Integer.valueOf(0), Integer.valueOf(0)); 
       } 
      } 
     } 
    } catch (RemoteException e) { 
     // TODO Auto-generated catch block 
     e.printStackTrace(); 
    } catch (JSONException e) { 
     // TODO Auto-generated catch block 
     e.printStackTrace(); 
    } catch (IntentSender.SendIntentException e) { 
     e.printStackTrace(); 
    } 

} 

답변

0

안녕하세요이 질문을 확인하려면, 구글 개발자 계정의 문제, 그것은 너무, 너무 오래된 7 또는 8 년이었다 보인다되었다 -app 구매 또는 결제 대금이 지원되지 않았습니다. 건배!

관련 문제