question

jasonbanks avatar image
jasonbanks asked David Marginian Deactivated answered

Error updating record for the externalId to paymentId

Testing a new application on development terminal, payment appears to be okay as it is in the Transactions list, but I am getting the following exception resulting in the payment request to loop back and ask for payment again:


2021-07-14 14:41:38.383 2447-3318/? E/RecentDevicePaymentsService: updatePayment(RecentDevicePaymentsService.java:304)[IntentService[com.clover.commonpayments.RecentDevicePaymentsService]]: Error updating record for the externalId to paymentId
java.lang.IllegalStateException: Could not update link from externalId '2118214405227' to paymentId 'GW2B2ZJEM84GP'.
at com.clover.commonpayments.RecentDevicePaymentsDbHelper.updatePayment(RecentDevicePaymentsDbHelper.java:162)
at com.clover.commonpayments.RecentDevicePaymentsService.updatePayment(RecentDevicePaymentsService.java:302)
at com.clover.commonpayments.RecentDevicePaymentsService.onHandleIntentInternal(RecentDevicePaymentsService.java:104)
at com.clover.commonpayments.ResultIntentService.onHandleIntent(ResultIntentService.java:56)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:76)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
        at android.os.HandlerThread.run(HandlerThread.java:65)
PaymentConnector
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

Can you provide a bit more detail on when you see this exception, what API calls are you making?

10 |2000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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