question

madmyke avatar image
madmyke asked litpro answered

ActivityNotFoundException when issuing Intents.ACTION_REFUND

We are getting the following exception when trying to issue a refund of a credit card payment processed via the ACTION_SECURE_PAY Intent.
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=clover.intent.action.REFUND (has extras) }

How do we issue a refund via our fully integrated POS app?
RefundIntents
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

litpro avatar image
litpro answered
I assume you have an activity to handle that intent, and it's just not getting called? Something configured in your android manifest like this?

<activity android:name=".RefundActivity">
    <intent-filter>
    <action android:name="clover.intent.action.REFUND" />
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
</activity>
10 |2000

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