safaricom / LNMOnlineAndroidSample

Lipa Na MPESA Online (STK Push) Android Sample Application. This app demonstrates an e-commerce purchase and checkout process via Mpesa and Daraja :smile:
https://developer.safaricom.co.ke/
Apache License 2.0
129 stars 128 forks source link

App doesn't call the callback #7

Closed ikiugu closed 7 years ago

ikiugu commented 7 years ago

I have done everything as described in the Readme file and the code is still now working. Could you please provide the second part of the code (the php code that is used in conjunction with the android code). I think it would me of much help if one could just clone the repo, change the config.java file and see the code working. That way going through the code would be understandable.

kisese commented 7 years ago

Hi @Ikiugu you need to setup a server to receive call backs as detailed in this tutorial https://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql the php code is available there

ikiugu commented 7 years ago

Thanks. I'll go through it. And wouldn't it be better to wait for the person who opened the issue to at least respond before closing it?