Local app store has some means to do IAP, can I embed them?

Hi,

A local android app store is interested in my WIP game and emailed me instructions on how to do IAP with their app market, it consists of calling some java code I think.

I asked them about this and they said that we are doing IAP the same way that Google does. Here is their documentation:

http://pardakht.cafebazaar.ir/doc/implementing-api/?l=en

So I was wondering two things:

  1. Is there any way to implement their API in my non-Enterprise Corona game?

and if not:

  1. Is their API compatible with Corona’s Google API so I can make my game Google compatible and then upload it to their servers and *hope* that it works? In other words, how compatible they are comparing to google’s?

It’s very important that if we can release our game to their market, so please help in any way you may seem fit.

Thanks.

Hi Aidin,

I’m not familiar with this market, but just looking at their documentation and based on my understanding of how things work, (1) no, you would need Enterprise to implement their API, and (2) there’s zero chance that it’s “compatible” with Google Play in-app billing (it’s a completely different billing system).

  • Andrew

Thanks man for the reply.

The reason I’m thinking that their API is/would be compatible with Google API is that

A) Their developer told me so as we met briefly in expo and

B ) Their API documentation page has a reference to TrivialDrive sample which I believe is Google’s.

Thanks.

Their API may be call compatible with Google, but it would have to be coded to work with their servers.  Therefore we would need to have their SDK built into Corona SDK which it is not.  There are two choices.

  1. Have them build a plugin for their SDK that is Corona Compatible.   They can contact us to get that going.

  2. Use Enterprise to link their SDK into your app.

Thanks Rob for the reply.

I forwarded your reply to them but I seem it unlikely they build a plugin for Corona as I’m yet to see another Corona dev in my vicinity.

* deep sighs* I really wished I would be able to incorporate their IAP and ad service into my game as I see it as my only hope for my current game.

Thanks.

They agreed to implement it, how they can contact you regarding this?

Aidin - have them send me an email (david@coronalabs).

Thanks David, I passed your contact info.

What about USSD, does Corona support it?

I’ll answer on the other thread: http://forums.coronalabs.com/topic/38786-ussd-protocol-possible/

Hi Aidin,

I’m not familiar with this market, but just looking at their documentation and based on my understanding of how things work, (1) no, you would need Enterprise to implement their API, and (2) there’s zero chance that it’s “compatible” with Google Play in-app billing (it’s a completely different billing system).

  • Andrew

Thanks man for the reply.

The reason I’m thinking that their API is/would be compatible with Google API is that

A) Their developer told me so as we met briefly in expo and

B ) Their API documentation page has a reference to TrivialDrive sample which I believe is Google’s.

Thanks.

Their API may be call compatible with Google, but it would have to be coded to work with their servers.  Therefore we would need to have their SDK built into Corona SDK which it is not.  There are two choices.

  1. Have them build a plugin for their SDK that is Corona Compatible.   They can contact us to get that going.

  2. Use Enterprise to link their SDK into your app.

Thanks Rob for the reply.

I forwarded your reply to them but I seem it unlikely they build a plugin for Corona as I’m yet to see another Corona dev in my vicinity.

* deep sighs* I really wished I would be able to incorporate their IAP and ad service into my game as I see it as my only hope for my current game.

Thanks.

They agreed to implement it, how they can contact you regarding this?

Aidin - have them send me an email (david@coronalabs).

Thanks David, I passed your contact info.

What about USSD, does Corona support it?

I’ll answer on the other thread: http://forums.coronalabs.com/topic/38786-ussd-protocol-possible/

I asked the developers of the local app market and they told me their differences with Google’s API:

First, the change that should be done in the manifest:

\<uses-permission android:name="com.farsitel.bazaar.permission.PAY\_THROUGH\_BAZAAR"\>\</uses-permission\>

Second, this:

@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity\_main); bindService(new Intent("ir.cafebazaar.pardakht.InAppBillingService.BIND"), mServiceConn, Context.BIND\_AUTO\_CREATE);

Since I can’t afford the Enterprise edition, my question is if I can build for Google API and then do these changes afterwards. Apparently I can alter the manifest, and my question is the second change that is code which needs to be compiled and added to my APK. Is it possible to do these to the already-compiled-for-Google-API APK?

Thanks!

The first thing you can add to your build.settings.  We don’t support manually editing the Manifest file.

The second thing would require Enterprise.  Did you approach them about doing the plugin?

Rob

I talked to them about it and even gave David’s email to them but apparently they are not willing to help.

Is there anything else I can do beside Enterprise? Like those hacks I mentioned?

Thanks.