Android in app payments how?

Hi,

I’ve searched how to implement in app payments for Android, but couldn’t find a lot of how to implement it for Android in Cocos2D-X. Whats the best way to implement it?

Regards,
Gjjansen

I’m sure someone must have done this before, try search around a little bit.
Otherwise, base on which app store you want to submit to
You can check out their api in Java and bridge to cocos2d-x with JNI, not a easy task, good luck.
Amazon:
https://developer.amazon.com/sdk/in-app-purchasing.html
Google:
http://developer.android.com/google/play/billing/index.html

Nite Luo wrote:

I’m sure someone must have done this before, try search around a little bit.
Otherwise, base on which app store you want to submit to
You can check out their api in Java and bridge to cocos2d-x with JNI, not a easy task, good luck.
Amazon:
https://developer.amazon.com/sdk/in-app-purchasing.html
Google:
http://developer.android.com/google/play/billing/index.html

Thank you, that’s my last choice. But if there are no plugins or whatever, i’ll have to :slight_smile:

Regards,
Gjjansen

Here you go:

http://project.soom.la/#cocos_anchor

Or this — but (!) with very very limited documentation available:

Vikas Patidar wrote:

Here you go:
>
http://project.soom.la/#cocos_anchor

Thanks, but i think Soomla is a bit overkill to handle a few simple in app payments.

Regards,
Gjjansen

Michael Contento wrote:

Or this — but (!) with very very limited documentation available:
>

Thanks, but like you said the documentation is like nothing. So it’s very complicated to implement.

Regards,
Gjjansen