I'm getting this error running a demo with SDK 'com.clover.sdk:clover-android-sdk:latest.release' and Clover 2.0-1836. The code block adds a test OnOrderUpdateListener2 listener which implements onPaymentProcessed
public class TestOrderChangeListener implements OrderConnector.OnOrderUpdateListener2 {
@Override
public void onPaymentProcessed(String orderId, String paymentId) {
System.out.printf("Payment processed: %s, %s\n", orderId, paymentId);
}
...
orderConnector = new OrderConnector(this, account, null);
orderConnector.addOnOrderChangedListener(new TestOrderChangeListener());
however this is not fired when a payment is complete. Currently trying to find a work around using android.app.Activity#RESULT_OK however ideally the listener process would be used. Any example code of this working would be welcomed.