New Payment module with Apple, Google and Amazon

Monkey Programming Forums/User Modules/New Payment module with Apple, Google and Amazon

michaelcontento(Posted 2012) [#1]

I've published a few games in all three markets, "enjoyed" the whole IAP handling and therefore created a new payment module that I like to share with you.

Docs? There is a file ;)

But (!!) the whole thing is only tested / capable of non-consumable products. Simply because I haven't used the consumable or subscription types yet.

All the best,

Soap(Posted 2012) [#2]

Thank you for doing this. Making things like this available makes it much easier for new people to get going. :)

MikeHart(Posted 2012) [#3]
Nice! Great job Michael and thanks alot for sharing this!

pantson(Posted 2013) [#4]
any chance someone can test this with v67+ please?

I tried installing it on v67e and it gave lots of errors. Not sure if its something I've done in the setup or incompatibility with v67e

many thanks

michaelcontento(Posted 2013) [#5]
Hi Pantson,

I haven't tests the payment part or anything else of bono with v67+ yet. Maybe there is some spare time at the weekend and I'll have an eye on it.

Can you share some error messages? Maybe there's a slight chance of some remote debugging magic? :)


pantson(Posted 2013) [#6]
I'm getting furthur with it now.
Need to change the MonkeyGame.activity for Android.
I'm doing it in my spare time at lunch so getting there slowly.

Aymes(Posted 2013) [#7]
Great stuff, thanks for posting this. Should make life a lot easier!

I'm having a couple of difficulties getting things to work though (still getting used to the way Monkey works so this might be obvious to others).

In the paymentproviderandroidgoogle.monkey file you say:
"Copy the billing library from the following link into src"

Which src did you mean? I've tried putting it in:

I've copied the whole root of the project in too. Should it only be part of it? More guidance would be appreciated :D