Then,
onSaleResponse
returns an order ID in
_payment.getOrder().getId()
Now, in paymentConnector.refundPayment this call requires an OrderID. This is asymmetric to sale.
The reason it gets complex for us is that OrderID is something internally generated by Clover (?). Payment ID is now not an enough identifier. We need to maintain two IDs.
Is it possible for Clover SDK to internally resolve the OrderID given the Payment ID only? That is, make OrderID optional for RefundPaymentRequest?