Amazon Payment not working with MonkeyV69 or newer
Monkey Targets Forums/Android/Amazon Payment not working with MonkeyV69 or newer
| ||
Hi, Has somebody ported your apps for the Amazon app store and is using the amazon in app purchases. I've ported some on my apps (I'm using this code for the purchases: https://bitbucket.org/joemanaco/fairlight/src/91e39be6b9b32fc3590ecb3f8e6e7843de07f0dc/vendor/amazon/native/payment.amazon.java?at=master ) The thing is - when I'm using the Amazon Sandbox everythings fine: I can test and purchase the products. When I submit the app to amazon everything is fin with Monkey V68 or older, but when I'm using Monkey V69 or newer the app gots rejected saying that in app purchases aren't working. MichaelContento has the same problem with his apps he told me. I talked to amazon quite a lot, and they send me log files and everything but we cannot identify the problem and it must have something to do with the changes from Mmonkeyv68 to v69 - but I had a look into these changes and have no idea what change could be causing this problem. Has somebody here on the forum a working app with amazon in app purchases build with Monkey 69 or newer? Or probably some idea, what change can cause such effect? |
| ||
You are using a 3rd party solution but not the official MonkeyStore module, right? |
| ||
As far as I know MonkeyStore only supports GooglePlay and iTunes right now?!? Or is there already support for other stores? |
| ||
I think only these two. |
| ||
Same problem here. Amazon IAP just don't work in v69 and higher. |
| ||
Yes, same problem here :/ |
| ||
did anyone get this resolved? |
| ||
I'll do a module for that, having the same interface as Mark's IAP Monkeystore. |
| ||
xaron, any progress? |
| ||
Aye just had no time but started it, yes. Will take another look, sorry for the delay! |
| ||
I'm also looking forward to this :) |
| ||
Would be great if you solve this issue. At the moment I'm using a custom Monkey-version based on v69 and than patched/merged with some of the newer features. It's very hacky, and a clean solution would be awesome. But remember that you have to test it live because with the Amazon sandbox everything works fine (which is the main problem I cannot fix the bug as I cannot reproduce it in my development environment). |
| ||
I see! As I have a Kindle Fire HDX this should be doable. :) I want to achieve the usage of the same interface as the other store implementations from Mark, |
| ||
Any new developments regarding Amazon IAP? I switched from heavily customized ver.66b to almost original ver.82b and ran into the same problem: IAPs work when testing offline, but there is a problem when running in live testing (and the app is rejected by Amazon's testers). I wrote some glue code modeled after brl.monkeystore. When I test against the live server, the app receives user id, receives items, and receives purchase updates without any problems. However, when it tries to initiate a purchase, Amazon's purchase dialog is never displayed. |
| ||
I still have the same problem... :( |
| ||
@secondgear Have you tried the IAP v.2.0 API already from Amazon. Probably it will work better with the new version?!? |
| ||
I tried 2.0.1 and 1.0.7 and 1.0.3 with the same result. In fact, I also tried different versions of Monkey as well. It didn't work in 82b and it DIDN'T work in 67f, but it worked in 66b. I talked to Amazon, they had the same problem with my apk. Now the issue is redirected to the "appropriate technical team", and I'm still waiting for the answer. You said you had it working in ver. 68? Could please you tell me which Monkey versions did you try and what was the result? |
| ||
Sorry, was a typo: I also use an own custom patched version based on 66b. I didn't know which version exactly I've tested but 66b was the last monkey version that worked for me as far as I remember. |
| ||
Amazon has offered a solution: Solution: AndroidGame should be a public class for their in-app to work. I modified the Eclipse project by cutting out the AndroidGame class and pasting it into a new separate .java file. Then I added public in front of class AndroidGame, and the game worked fine in both offline and live testing. I haven't tried submitting it to Amazon for review yet, so if anybody does the same thing with their game, and it fails, please let me know. |
| ||
Great tipp. Will try that. Will there be a chance to change the default android targets of Monkey to work with Amazon? |
| ||
I can confirm that moving the AndroidGame class to a separate file works - I was going crazy with Amazon's testers, convinced that they were using an old version or something! Only when I tried using their live testing feature could I reproduce the problem. I think a new Amazon target would be a great idea - it's a real pain having to maintain an Eclipse project for this... And if you would like to try it out (and give a nice 5-star rating please :-)), here it is! Real Roulette, Monkey-X style! |
| ||
I think a new Amazon target would be a great idea - it's a real pain having to maintain an Eclipse project for this... VOTE!!! THUMBS UP!!! ;) |