I'm not familiar with your particular flow but you should be able to trigger a print after the completion of the payment. If you're using the Secure Pay flow by launching ACTION_SECURE_PAY, listen for Activity#RESULT_OK - payment ok. Then run your static pay:
pj = new StaticReceiptPrintJob.Builder().order(o).build();
pj.print(getBaseContext(), mAccount);
1 Person is following this question.