Oleg Koretsky

Results 102 comments of Oleg Koretsky

Well, onActivityResult not called at all. When you making purchase for a first time, library calls startIntentSenderForResult of activity and there is no result. When you making purchase for a...

Ok, there is error 102 on first purchasing. So, my solution is to call .purchase() with null activity inside onBillingError: public void onBillingError(int i, Throwable throwable) { if (i ==...

My license key is also copied from Developer Console, so it's valid. But my solution with calling .purchase(null, ITEM_ID) on 102 error code still works well.

@mustii82 anyway at the second time onActyvityResult will not be called, so it does not matter which activity you gonna use there. For me, "null" is just for clarity.

@mustii82 I watched BillingProcessor code to get shure that onActyvityResult will not be called when the item is already purchased. But I don't know if it is another way to...

Glad someone did this 😍 Thanks

I think there is a bug in the library. You get this error when using the Implicit flow (response type `token`), where auth result is passed to the client not...

I suggest using explicit flow (response type `code`) until it is fixed 🤷‍♂️

@wyllyamjesus-hotmart 1. You set the response type of your authorization request to `ResponseTypeValues.CODE` 2. Once you've received `AuthorizationResponse` in your activity, get the access token by `authService.performTokenRequest(authResponse.createTokenExchangeRequest())` This is the...

@wyllyamjesus-hotmart then I think this is not the implicit flow issue, can't help you with that.