Android (Google Play) IAP Subscriptions

Hi,

Searching, testing and trying but seem to be stuck in loadProducts where i cant seem to get any returned products, however i do get 1 returned as invalidProduct, which I dont understand.

The tutorial in the Corona documentation only got me this far, so I wonder if anyone got this working and wouldnt mind sharing a snippet or two, to get me going?

Any hints are appreciated.  :slight_smile:

Subscriptions *used* to work on Android, but now I see that the store.purchase method says “This call does not work for subscription purchases.”

This link https://stackoverflow.com/questions/16377755/google-play-in-app-purchase-returns-error-code-1008-null-puchasedata-or-datasi says that "If you call mHelper.launchPurchaseFlow(…) with an SKU that is registered as a subscription on Google Developer Console it will result in the error: IAB returned null purchaseData or dataSignature (response -1008:Unknown error).

If you have a SKU that is registered as an subscription you have to use the method: mHelper.launchSubscriptionPurchaseFlow(…) instead."

So yeah, I have the same problem 

Ahhh this is probably relevant :D https://forums.coronalabs.com/topic/72216-google-iap-product-details-for-subscription-is-not-showing-up-need-little-info/

Subscriptions *used* to work on Android, but now I see that the store.purchase method says “This call does not work for subscription purchases.”

This link https://stackoverflow.com/questions/16377755/google-play-in-app-purchase-returns-error-code-1008-null-puchasedata-or-datasi says that "If you call mHelper.launchPurchaseFlow(…) with an SKU that is registered as a subscription on Google Developer Console it will result in the error: IAB returned null purchaseData or dataSignature (response -1008:Unknown error).

If you have a SKU that is registered as an subscription you have to use the method: mHelper.launchSubscriptionPurchaseFlow(…) instead."

So yeah, I have the same problem 

Ahhh this is probably relevant :D https://forums.coronalabs.com/topic/72216-google-iap-product-details-for-subscription-is-not-showing-up-need-little-info/