question

Sumit Naru avatar image
Sumit Naru asked David Marginian Deactivated commented

How to pre-auth a credit card and latter charge the final bill with the external transaction ID and not credit card physically

Want to pre auth and refund in android

Payments
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered Sumit Naru commented

https://community.clover.com/page/asking-questions

Are you using the Remote Pay Android SDK?

1 comment
10 |2000

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

Sumit Naru avatar image Sumit Naru commented ·

I have implemented above mention library for clover , please help me out

0 Likes 0 ·
Sumit Naru avatar image
Sumit Naru answered
we are using these two library as mentioned below
 'com.clover.sdk:clover-android-sdk:221.9'
'com.clover.cfp:clover-cfp-sdk:1.0'
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

For on device payment actions you should use Payment Connector:

https://github.com/clover/clover-android-sdk/blob/master/clover-android-connector-sdk/src/main/java/com/clover/sdk/v3/connector/IPaymentConnector.java

You can vault a card (vaultCard) and then use the vaulted card when you create and execute the preauth.



15 comments
10 |2000

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

Sumit Naru avatar image Sumit Naru commented ·

Please share example code with implementation of IPaymentConnector

0 Likes 0 ·
Sumit Naru avatar image Sumit Naru David Marginian ♦♦ commented ·

I am facing issue , when I select PreAuth then why auth is showing in clover payment screen, please attached screenshot.Please help me out

0 Likes 0 ·
capture.png (113.9 KiB)
Show more comments
Show more comments
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

When you capture a preauth the card is not required. If you don't want to have the card for the preauth itself it will have to have been vaulted previously using Clover Connector's vault capability. See https://docs.clover.com/clover-platform/docs/vaulting-cards and the Remote Pay Android Example - https://github.com/clover/remote-pay-android-examples/blob/b2fc569ed0f9f62f357ae366edfbb72aaa6829f5/native-android-example-pos/src/main/java/com/clover/example/RegisterFragment.java (code in this link shows how to add vaulted card data to a payment request, you will need to have previously vaulted the card).

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