I had code working for applying discounts to the correct line item but it has stopped working properly as of recently. Would this potentially be caused by the Sandbox being down? I'm working in sandbox. I get the error of "com.clover.sdk.v1.BindingException: Could not bind to Android service". Around this time my code stopped applying discounts and only returning that error, we upgraded our Dev Kit (I think Station Duo) to a register bungle for testing with other discount types. Would any of this cause OrderConnector to work differently? I create my order connector and call orderConnector.connect() which appears to function correctly. Then I start a new thread to apply my discount like so
orderConnector.addLineItemDiscount2(order.id, order.lineItems[i].id, discount1)
Do you have any idea why my discounts (which worked for days and I have rolled back my code to then) would stop working?
Any advice would be greatly appreciated. Thank you.
I asked this question the other day but did not get an answer. It may provide more insight to my problems. https://community.clover.com/questions/35283/orderconnector-fails-to-be-connected-for-applying.html