So, the sample code has some information on voiding a transaction:
// start Payment activity to display transaction details try { Intent displayPaymentIntent = new Intent(Intents.ACTION_DISPLAY_PAYMENT); displayPaymentIntent.putExtra(Intents.INTENT_EXTRAS_TRANSACTION_ID, transactionId); startActivityForResult(displayPaymentIntent, DISPLAY_PAYMENT_REQUEST); } catch (ActivityNotFoundException ex) { Log.e(TAG, "Poynt Payment Activity not found - did you install PoyntServices?", ex); }
However, it doesn’t show us what we can do with the result. With a normal payment, you can get back the Payment object, convert it to a json string, and you’re good to go. How can I retrieve information returned from ACTION_DISPLAY_PAYMENT?
Thanks!
-Michael