question

aakashmcoderz avatar image
aakashmcoderz asked aakashmcoderz commented

Partial Refund using Android SDK Payment Connector

I want to make partial refund (refund 2 line items out of total 10 lineitems)
I don't see a way to make partial refund request using any SDK documentation, example or any other way.

It is very difficult to find any relevant example as nothing regarding it is properly documented.
Any one from Clover Team Kindly Intervene.


Thanks

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

bryanvargas avatar image bryanvargas ♦♦ commented ·

Have you tried looking into our Intents to see if there is anything you are looking for:

https://github.com/clover/clover-android-sdk/blob/d9aaed6d6f590e378d8ac384f48a33c1df9e52e2/clover-android-sdk/src/main/java/com/clover/sdk/v1/Intents.java


Historically the payment Connector was used for payment/refund amounts,

0 Likes 0 ·
aakashmcoderz avatar image aakashmcoderz bryanvargas ♦♦ commented ·

Thank you for the response @bryanvargas

I can see Intents.ACTION_REFUND but that does not seem to work for my use case.

1. I have a specific detail screen (PFA Image for clarity) that displays all lineitems of order.
2. I want to select items to be returned and on clicking on refund, those line items should be returned (As it happens with `Orders` app.)
3. I want all the refund process inside my own app without navigating to any other application because I have a validation weather any item is allowed to be returned or not.


1697522692414.png

0 Likes 0 ·
1697522692414.png (26.5 KiB)
aakashmcoderz avatar image aakashmcoderz aakashmcoderz commented ·
Hello Clover Team

Kindly Intervene.

0 Likes 0 ·

1 Answer

·
aakashmcoderz avatar image
aakashmcoderz answered

Hello Clover Team
Kindly provide any way to achieve above functionality?
Is it even possible by any way?

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