Hello, I’m trying to develop an external app that can get info of the payment that was made in the Register app, such as card type and number, purchase amount, if the payment was authorized or not, authorization code, etc.
I tried with this intent and with many others:
In onCreate:
Intent save = new Intent(Intents.INTENT_EXTRAS_PAYMENT);
startActivityForResult(save, 20);
And in onActivityResult:
public void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == 20) {
if (data != null)
Log.d(TAG, "Data: " + data.getDataString());
}
}
But this is not working, Intent data always comes null. How can I obtain this data? Thank you