question

jolly avatar image
jolly asked lilly Deactivated commented

Clover Register Pay Screen Custom tender label name not set ?

Hello,

I am add the custom button in register pay screen during order.button are set but i am not able to set custom label. it take by default android application name or package name i m try to set different label but not set , even in old register pay screen i m able to add static name ,but after update the pay app i m can't set label in screenshot i m add two custom button with different label but it take application default app.

OrdersPayments
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

lilly avatar image
lilly Deactivated answered lilly Deactivated commented
Hi @jolly - if you are following our ExtensibleTenderExample, you can rename your custom tender using the "tender_name" field in the strings.xml file. https://github.com/clover/android-examples/blob/ma...

If you are using the modifyOrderButton ( https://github.com/clover/android-examples/tree/master/modifyorderbutton) what you are experiencing is the expected behavior. The name of the button will match the name of the app.
2 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.

jolly avatar image jolly commented ·

hi , yes i want modifyOrderButton (https://github.com/clover/android-examples/tree/master/modifyorderbutton) just like this,but also this example i m also run but this example also print Application name by default in register application.not display Add discount lable it show up application name in clover station.

0 Likes 0 ·
lilly avatar image lilly jolly commented ·

Hi @jolly - yes that is expected behavior for the modifyOrderButton example. When implementing a modifyOrderButton, the button will match the name of the app that created it so you cannot customize this button.

0 Likes 0 ·

Welcome to the
Clover Developer Community