Payment payment = data.getExtras().getParcelable(Intents.EXTRA_PAYMENT); new StaticPaymentPrintJob.Builder().payment(payment).build().print(context, mAccount);
Order order = mOrderConnector.getOrder(orderId); String paymentId = data.getStringExtra(Intents.EXTRA_PAYMENT_ID); new StaticPaymentPrintJob.Builder().paymentId(paymentId).order(order).build().print(context, mAccount);
It appears that will work with the Payment response, but what about Manual Refund? There does not appear to be a "Payment" object available and no appropriate Static<>PrintJob. We do not use Orders explicitly, so unless Clover is automatically creating one behind the scenes, that option won't work for us.
Have you looked into using StaticCreditPrintJob? Yes, we create an order behind the scenes.
I have not, as I did not know about it. I searched Clover Docs for StaticCreditPrintJob, but there are no results.
1 Person is following this question.