libgdx / gdx-pay

A libGDX cross-platform API for InApp purchasing.
Apache License 2.0
224 stars 83 forks source link

Fix convertJSONPurchaseToTransaction not handling null data #187

Closed piotr-j closed 5 years ago

piotr-j commented 5 years ago

Fix consist of throwing JSONException when data is null, causing the purchase to fail. This can easily be tested by trying to purchase 'android.test.canceled'. See #163 and #137.