Android in-app billing cancel payment, application not active
<p>I'm having trouble figuring out how the in-app billing process is supposed to work for broadcast events when the application isn't running.  I have a managed product setup and as far as I can see, is working well.  With a test account I'm able to purchase my published component and my test application handles it, retaining its state.  I then cancel this order via my merchant account and the application again receives the event and removes the item.</p>

<p>The problem occurs when instead of cancelling the order while the application is active.  I exit out of it (not with home, with multiple back buttons).  If I cancel the item now, my '<em>device</em>' gets a notification 'purchase failed', but when I start my application nothing seems to happen and thus the state of the item is still purchased.</p>

<p>I'm not sure if billing service is still running or not.  Given the <a href="http://developer.android.com/guide/google/play/billing/billing_overview.html#billing-action-notify" rel="nofollow">documentation</a> says my application must send back a CONFIRM_NOTIFICATIONS or it keeps sending it I can only assume it is.  However why is it unable to interact with my database and remove the item like it does correctly if the application is active?</p>

<p>I hope tihs is clear, and I apologize if it has been discussed before, I couldn't find anything in my searches.</p>
