distriqt / airnativeextensions

DEPRECATED: Original repository of the distriqt native extensions and is no longer maintained. Please see our site for the latest ANEs
https://airnativeextensions.com
2 stars 0 forks source link

InAppBilling: subscription error #80

Closed mahjongtime closed 10 years ago

mahjongtime commented 10 years ago

Hello,

I'm using InApBiling extension to buy content from Play Market. There are no problems purchasing regular content, but trying to purchase subscription, cause an error: (response -1008:Unknown error) same time subscription is purchased and money are taken from card.

As I understand extension call mHelper.launchPurchaseFlow() method instead of mHelper.launchSubscriptionPurchaseFlow().

Discussion: http://stackoverflow.com/questions/16377755/google-play-in-app-purchase-returns-error-code-1008-null-puchasedata-or-datasi

marchbold commented 10 years ago

I'm working on a fix now.

marchbold commented 10 years ago

This should be correctly working in the latest release, let me know if you are still having issues.

Cheers

mahjongtime commented 10 years ago

Hello. Thanks for your immediacy! I've downloaded latest master (#ANE Package update v1.42) The same code for purchasing subscription I used before, now returns just 'false' on makePurchase() call.

marchbold commented 10 years ago

Hi,

Can you send me the android log from when you are making this purchase. Include all the information after you call getProducts as well.

Cheers

mahjongtime commented 10 years ago

Hi, I've tested today 2 times - no errors and makePurchase returns true. Don't know what was the problem. Sorry for bothering you. Seems like everything is ok.

Thank you very much for quick fix!

marchbold commented 10 years ago

No problems,

Glad it's working for you.

Cheers