question

resicons avatar image
resicons asked David Marginian Deactivated answered

How to set payment note using android sdk?

as the title said, I want to add a note to a payment. Use this code below doesn't work:

payment.setNote(note);
orderConnector.updatePayment(orderId, payment);

it returns a permission issue even payment permission has been set READ and WRITE already.

any help would be appreciated.

PaymentsClover Android SDK
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

David Marginian avatar image
David Marginian Deactivated answered

updatePayment is not available to 3rd parties:

https://clover.github.io/clover-android-sdk/com/clover/sdk/v3/order/OrderV31Connector.html

Payment updatePayment(String orderId, Payment payment)

Not available to non-Clover apps.


10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community