I am listening for the PAYMENT_PROCESSED broadcast within my AndroidManifest.xml
- <receiver android:name=".activities.ProcessPayment">
- <intent-filter>
- <action android:name="clover.intent.action.PAYMENT_PROCESSED" />
- </intent-filter>
- </receiver>
and receiving it with this code
- public class ProcessPayment extends BroadcastReceiver {
- @Override
- public void onReceive(Context context, Intent intent) {
- Log.v("Process Payment","Process Payment AOEUEOAOEU");
- }
- }
I don't receive the broadcast when I complete the order on either the emulator or the DevKit
When I manually fire the broadcast
- adb -s emulator-5554 shell am broadcast -a clover.intent.action.PAYMENT_PROCESSED
I do receive the broadcast