title: Flutter In App Purchase, check for refund
body: <p>I have a problem with refunds of my purchases. I query all past purchases when I start the app and check whether a InAppProduct was purchased or not.</p>
  
  <pre class="lang-dart prettyprint-override"><code>final QueryPurchaseDetailsResponse purchaseResponse =
          await _connection.queryPastPurchases();
  </code></pre>
  
  <p>Now a purchase was refunded, but the purchase is still queried via the <strong>queryPastPurchases()</strong> method. Also the <strong>PurchaseDetails</strong> class does not have any information about the purchase being refunded.</p>
  
  <p>Any idea how to handle this case ?</p>
  
  <p>Information :</p>
  
  <ul>
  <li>The refund was over 3 days ago</li>
  <li>I use the latest version of the official InApp package</li>
  <li>The purchase was made on an Android phone</li>
  </ul>
  
  <p>Regards</p>