question

sumit.naru4u@gmail.com avatar image
sumit.naru4u@gmail.com asked ·

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

David Marginian avatar image
David Marginian answered ·

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

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.

David Marginian avatar image
David Marginian answered ·

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

Please share example code with implementation of IPaymentConnector

0 Likes 0 · ·

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
sumit.naru4u@gmail.com avatar image
sumit.naru4u@gmail.com 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'
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.

David Marginian avatar image
David Marginian answered ·

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

Are you using the Remote Pay Android SDK?

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

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

0 Likes 0 · ·

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