question

edward avatar image
edward asked David Marginian Deactivated edited

Using action intents in the intent filter for an activity

I'm trying to follow the examples in the docs here:
https://docs.clover.com/docs/intents-and-broadcasts
and also here:
https://github.com/clover/android-examples/tree/master/modifyorderbutton

I'd like to get a button on the payment screen. I haven't been able to get anything to happen using


clover.intent.action.MODIFY_ORDER


No button and no log statements reached. I've tried several other intents with the same results.

When I filter the logcat output of my emulator for "clover.intent", the only intents I ever see are "com.clover.intent.action.PAY" and "com.clover.intent.action.START_ORDER_MANAGE". I've also tried using these in my intent filters, and nothing happens.


It looks like the examples in the github repository are very old. Is there a different way to do this now?

Intents
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

The payment flow is pretty tightly controlled, you can't just add a new arbitrary button (https://community.clover.com/questions/3041/add-button-on-register-to-perform-action.html). Are you perhaps looking to add a customer tender? https://docs.clover.com/docs/creating-custom-tender-apps


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