Problem Description
By following the recommended tutorial and exporting Crosswalk using Intel Xdk there are many problems with the Official IAP Plugin. These are the 6 I came across, there might be more.
Bug 1. IAP expression: ProductName(productid). Does not display product name (when not purchased product)
Bug 2. IAP expression: ProductPrice(productid). Does not display price. (when not purchased product)
Bug 3. When purchasing product and googles purchase page opens, closing the googles page causes the whole app to freeze (Not every time. It might be 2nd time the purchase screen is opened or more). Clicking the purchase button works and the purchase screen pops up, the rest of the app freezes when the Googles purchase screen is closed.
Bug 4. IAP properties: Test mode. Test mode is not working and purchases the product when Test Mode is set to yes.
Bug 5. IAP conditions: Has product is continued to be returned when product has been refunded through google play.
Bug 6. IAP conditions: Invert Has product continues to be returned when user does have product.
Attach a Capx
https://drive.google.com/file/d/0B-3-x6 ... sp=sharing
Description of Capx
Demonstrates problems with official IAP
Steps to Reproduce Bug
Bug 1. Use IAP expression: ProductName(productid).
Bug 2. Use IAP expression: ProductPrice(productid).
Bug 3. Click purchase button and close the googles purchase screen. Repeat several times (sometimes it freezes after 2 tries, other time it could freezes after 8 tries) until the app freezes and only purchase button will work (everything else will freeze completely).
Bug 4. Make a purchase in Test mode.
Bug 5. Refund the purchase through google play and use IAP condition Has product.
Bug 6. Purchase product using official IAP and invert condition Has product.
Observed Result
Bug 1. Does not display ProductName
Bug 2. Does not display ProductPrice
Bug 3. App freezes
Bug 4. Payment went through
Bug 5. Shows user still IAP has product after a refund.
Bug 6. Shows user does not have product when he really does.
Expected Result
Bug 1. Display ProductName
Bug 2. Display ProductPrice
Bug 3. App not freeze when purchase screen closed multiple times.
Bug 4. Test mode should not charge the credit card.
Bug 5. IAP should not show has product after a refund.
Bug 6. IAP should show that the user does not have product.
Operating System and Service Pack
Android Lollipop
Construct 2 Version ID
r221