question

rthor avatar image
rthor asked Mark Mullan Deactivated answered

Updating payment with external payment ID

Attempting to use the SDK to add an external payment ID to a payment. using the orderConnector.updatePayment(orderId, payment) I get the following exception:

09-21 17:35:46.481 1697-1708/? E/OrderBinderImpl: isCallerClover(OrderBinderImpl.java:3043): Calling process doesn't have appropriate permission
                                                  java.lang.SecurityException: Access denied to package com.mypackage
                                                      at com.clover.engine.authenticator.AccountAuthenticator.checkCallerClover(AccountAuthenticator.java:586)
                                                      at com.clover.engine.order.v3.OrderBinderImpl.isCallerClover(OrderBinderImpl.java:3040)
                                                      at com.clover.engine.order.v3.OrderBinderImpl.updatePayment(OrderBinderImpl.java:2830)
                                                      at com.clover.engine.order.v3.OrderBinderV3_1.updatePayment(OrderBinderV3_1.java:311)
                                                      at com.clover.sdk.v3.order.IOrderServiceV3_1$Stub.onTransact(IOrderServiceV3_1.java:1137)
                                                      at android.os.Binder.execTransact(Binder.java:404)
                                                      at dalvik.system.NativeStart.run(Native Method)

My sandbox app package has all permissions set. Tried re-authenticating using CloverAuth which did not solve it either. What would be the proper way to achieve this?
REST APIClover Android SDKAuth
10 |2000

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

0 Answers

Welcome to the
Clover Developer Community