siramix / buzzwords

A mobile word game that will change the word.
www.siramix.com/buzzwords
GNU General Public License v3.0
10 stars 1 forks source link

purchaseStatus failure is not handled #123

Closed lucasrowe closed 11 years ago

lucasrowe commented 11 years ago

Users who receive a purchaseStatus failure will get no response from the app when their purchase does not go through.

To Reproduce:

  1. Open the SDK tester and set Purchase Update to Failed
  2. Attempt to buy a pack
  3. open adb logcat and look for the following message but note no user facing errors

I/AmazonSDKTester( 1088): Sending Purchase Response Broadcast ({"requestId":"f4d028c6-9832-4968-a4b9-b4da087f5f88","purchaseStatus":"FAILED","userId":"wer"}) I/AmazonSDKTester( 1088): Sending UserId Response Broadcast ({"status":"SUCCESSFUL","requestId":"3d1dd285-530f-43ff-a7be-fd4421e05dd4","userId":"wer"})

lucasrowe commented 11 years ago

This actually doesn't need to be handled according to the comments in PurchaseObserver. Removed toast cause it was showing up even when the user clicked cancel on the amazon purchase popup.