question

msaleem avatar image
msaleem asked David Marginian Deactivated edited

Manual Refund Id

Hi Team,


I am trying to manual refund process using clover device. But I don't know how to fetch manual refund id using broadcast receiver or clover provided any connector to get fetch manual refund id.

I write below code for fetching manual refund id

<receiver android:name=".receivers.PS_ManualRefundProcessedReceiver">
    <intent-filter>
        <action android:name="clover.intent.action.STORE_CREDIT" />
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
</receiver>


Thanks

M Saleem

Clover Android SDKclover developer community
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

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

Have you tried:

  1. <intent-filter>
  2. <action android:name="com.clover.intent.action.REFUND_PROCESSED" />
  3. <action android:name="com.clover.intent.action.CREDIT_PROCESSED" />
  4. <category android:name="android.intent.category.DEFAULT" />
  5. </intent-filter>
11 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.

msaleem avatar image msaleem commented ·

I tried it. But it's not working.



0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ msaleem commented ·

Please read through our community guidelines here - https://community.clover.com/page/community-guidelines. Specifically, how to ask questions. You are not providing enough information for us to be helpful, what does "not" working mean. You need to provide all of the details of what you are doing, and what you expect.

0 Likes 0 ·
msaleem avatar image msaleem David Marginian ♦♦ commented ·
  1. <intent-filter>
  2. <action android:name="clover.intent.action.REFUND_PROCESSED" />
  3. <action android:name="clover.intent.action.CREDIT_PROCESSED" />
  4. <category android:name="android.intent.category.DEFAULT" />
  5. </intent-filter>


I tried the above intent filter code in my Broad Cast Receiver but after run the application broadcast. I am not getting response in my Broad cast receiver.

Please see below code

<receiver android:name=".receivers.PS_ManualRefundProcessedReceiver">
<intent-filter>
<action android:name="clover.intent.action.MANUAL_REFUND" />
<action android:name="clover.intent.action.STORE_CREDIT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>


Thanks

M Saleem

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