question

resicons avatar image
resicons asked ·

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 characters needed characters left characters exceeded

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 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.


Share
10 |2000 characters needed characters left characters exceeded

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