question

kcinfuse avatar image
kcinfuse asked kcinfuse commented

Error: Could not capture preauth. Order has 7 line items!

Whenever I am capturing a pre-auth, I get an error message "999, Could not capture preauth. Order has X line items!" where X corresponds with the number of line items in the order.

I've even seen this error with 0 line items.


Can someone give me more detail on what this error message means and how I can rectify it?

PaymentsClover Android SDKPaymentConnector
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

· Write an Answer
David Marginian avatar image
David Marginian answered kcinfuse commented

It would be helpful if you could explain how you are integrating with us. You are leaving things quite wide open with this question.

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

I'm just trying to pre-auth by using the Clover SDK then capture the pre-auth.

It does seem like we can only capture pre-authorizations if there is only one line item. Is there a reason for that? I can only get it to work with an order with one line item.

0 Likes 0 ·

You are using a Remote Pay SDK? Payment Connector?

0 Likes 0 ·
kcinfuse avatar image kcinfuse David Marginian ♦♦ ·

I am using the ACTION_SECURE_PAY intent to start secure pay: https://clover.github.io/clover-android-sdk/com/clover/sdk/v1/Intents.html#ACTION_SECURE_PAY


Then I use payment connector to capture it. I tried using solely payment connector but for some reason paymentConnector.preAuth() wasn't triggering the secure payment screen on my Mini Gen 1 or Station 2018.



I also tried using the TRANSACTION_TYPE_CAPTURE_PREAUTH transaction type instead of using paymentConnector.capturePreAuth(), but I couldn't find any examples of how to do it purely via intents

0 Likes 0 ·
Show more comments

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