Transaction Result Integration Point
Overview
This hook will be triggered via Explicit broadcast.
To receive the hook request, create a BroadcastReceiver with the intent filter as below:
<intent-filter>
<action android:name="com.moneris.hooks.BroadcastRequest" />
</intent-filter>The sample code to retrieve the request in the BroadcastReceiver would look like this:
...
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (action.equals(“com.moneris.hooks.BroadcastRequest”)) {
String response = intent.getStringExtra(EXTRA_JSON_REQUEST);
}
}
…
