-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nothing happened when payment success. #199
Comments
Hi i have the same problem . also the purchase is working fine. But i´m getting (after hitting the "OK" button) the error "Error ! You already own this product! and then nothing happens. Only hitting the purchase button again will restore the purchase and it works. would be nice to fix this ! Thanx in advance |
Same issue here with suscriptions. Nothing happens when payment is complete... |
No the payment is fine and works for me but the bug after buying sucks :) and i really do not now how to fix it |
I use this
|
The point is that there is no errors so onBillingError is not called. |
Im getting only this error here after successfull purchase in my preferencefragment |
Is this working? You tested? On Sep 3, 2016 1:00 AM, "Musti" notifications@github.com wrote:
|
Who developed the library ? |
Can someone wrap it out into PR? Happy to merge it anytime |
@frankyxcs I think you must consume it first to purchase the item again |
@YasirAmeen Yes I tested and it works if you get this error codes |
@mustii82 no i do not want to consume the purchase. One time purchase is ok for me. And i was wrong here BILLING_RESPONSE_RESULT_ITEM_ALREADY_OWNED = 7; i hope somebody here is deeper with this billing stuff and maybe nows hopefully how to fix it or the developer here there must be a bug in billingprocessor.java nearby here |
Ok good and what if, we have multiple products for selling, how can i On Sep 4, 2016 3:10 AM, "Musti" notifications@github.com wrote:
|
@YasirAmeen Thats easy make a Static String lastPurchase and on every purchase attempt you can set lastPurchase with the purchased itemID and if it failed the variable lastPurchase will contain the last purchase Item ID |
@frankyxcs you can't do this you must consume it the api changed so you must consume every purchase before you can buy some more of it. so consume it directly after purchase like i do |
@mustii82 |
i am facing same error as @frankyxcs after purchased it say "Error ! You already own this product!" and did not called onProductPurchased |
@frankyxcs you can use purchase("ITEMID") on onProductPurchase() thats a hot fix |
@mustii82 |
@umashankarpandey @frankyxcs i'm seeing this same bug as well. |
override the purchase method the Library is very buggy but I think this is a good hot fix @OverRide |
Hm, i'm not sure that's a good hot fix. Any idea if this repo is still being maintained? I know the issue count is pretty high and it's been a few months since a commit. I wonder if one of the devs would be available to work on this library. Unfortunately this looks like the only IAP billings libraries. |
Anyone hast tested the library from this guy here yet ? It´s based on this library |
@caman9119 I never said that this hot fix is the best solution but a quick one thats because it called hot fix. this library is not the only IAP Library for Android |
@mustii82 so i have to put this into billingprocessor.java ?? |
@mustii82 Sorry, didn't mean it negatively. I'll test it out though. |
Hi All i think this lib has no issue because i am using Trivial Drive suggested by android after purchased success when press "OK" it say "Error ! You already own this product!" This is error due to google policy for first Time if product cost is 60 INR then google deduct 60+50(as $1) 50 for google account verification once it is verified then it google will return you amount 50INR after this for next purchase you will be never charged extra and no errors as we are mentioned promo codes also will be working after this so try first purchase only with credit card Thanks to all of you |
@umashankarpandey so are you sure about that ? can we use it in a production app ? |
Yes sure bro i am using it in my app https://play.google.com/store/apps/details?id=com.spraato.teenpatti |
Bro can i have your whatsapp contact bro ? email me here yasirameen92@gmail.com |
+919711090237 whatsapp and uspmca@gmail.com email i just send you an email also |
one more suggestion is that there is some issue with |
I have this same problem just now. handleActivityResult is being called. requestCode is 32459, resultCode is -1. |
I was having the same issue, turned out I just forgot to override onActivityResult, did that and it's working. |
Check above my answer please |
I want to show custom dialog when payment process complete. Nothing happened when payment success, we have to click again to purchase for receiving a result. In short onProductPurchased() is useless for the first time buy click.
The text was updated successfully, but these errors were encountered: