title: Buy same item over and over without consuming - In App purchase android
body: <p>I have kept a donate tab and want to let the users buy the items over and over again. I have implemented a code but it lets the user buy the specific item only once. I have used managed products in play console for products. </p>
  
  <pre><code> btn.setOnClickListener(new View.OnClickListener() {
      @Override
      public void onClick(View v) {
             if(billingClient.isReady()){
               SkuDetailsParams params=SkuDetailsParams.newBuilder()
               .setSkusList(Arrays.asList("purchase_aaa","purchase_bbb","purchase_ccc","purchase_ddd"))
               .setType(BillingClient.SkuType.INAPP).build();
  
   billingClient.querySkuDetailsAsync(params, new SkuDetailsResponseListener() {
           @Override
            public void onSkuDetailsResponse(int responseCode, List&lt;SkuDetails&gt; skuDetailsList) {
             if(responseCode==BillingClient.BillingResponse.OK)
          {
                loadProductToRecyclerView(skuDetailsList);
                    }
               else{
                 Toast.makeText(Donate.this, "Cannot query product", Toast.LENGTH_SHORT).show();
                    }
                    }
                  });
                  }
                  else
          {
                  Toast.makeText(Donate.this, "Not ready", Toast.LENGTH_SHORT).show();
                  }
              }
          });
  
    @Override
      public void onPurchasesUpdated(int responseCode, @Nullable List&lt;Purchase&gt; purchases) {
          if(purchases!=null){
          Toast.makeText(this, "Purchased"+purchases.size(), Toast.LENGTH_SHORT).show();
      }
      }
  </code></pre>