question

chrisgriffith avatar image
chrisgriffith asked chrisgriffith commented

Can the Select Payment modal be modified with custom elements?

When the ACTION_MODIFY_ORDER event (or some other notice) is broadcast, can it be used to modify the items shown in the select payment modal dialog? Or does it only allow for adding items to the Other section on the payment screen? We would like to be able to add intents to open our application from the modal if possible.
Modifiers
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

chanel avatar image
chanel Deactivated answered chrisgriffith commented
ACTION_MODIFY_ORDER is used for exactly that. You can add a button during the normal payment flow that will open your app, allow you to manipulate an order, then pass it back to Clover.

More information can be found here: https://docs.clover.com/build/intents-broadcasts/#action-intents
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.

chrisgriffith avatar image chrisgriffith commented ·

Thanks! I got this working, at least for the payment screen. Is there no way to customize the text in the button? It appears to be using the application's name as opposed to that of the activity name.

0 Likes 0 ·
chanel avatar image chanel chrisgriffith commented ·

You can customize the text by changing the label of your application in your AndroidManifest.xml file.

android:label="Custom Label Here"
1 Like 1 ·
chrisgriffith avatar image chrisgriffith chanel commented ·

Thanks so much!

0 Likes 0 ·

Welcome to the
Clover Developer Community