question

andrewdzoom avatar image
andrewdzoom asked ·

Custom Tender Only In Secure Pay App

Is there a way to have custom tender only show in the secure pay app and not in the register as well?
OrdersSaleCustom Tenders
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Raymond Lee avatar image
Raymond Lee answered ·
Hi @andrewdzoom,

You can have your custom tender only show up in SecurePay by omitting the MERCHANT_TENDER intent filter, and only using the CUSTOMER_TENDER intent filter for your custom tender Activity.

So your AndroidManifest should have something like this in it for your custom tender Activity:
<activity
    android:name=".TenderActivity"
    android:label="@string/title_activity_tender"
    android:theme="@android:style/Theme.Holo.Light.NoActionBar.Fullscreen
    android:exported="true">
    <meta-data
        android:name="clover.intent.meta.CUSTOMER_TENDER_IMAGE"
        android:resource="@mipmap/thirdparty_white_example" />

    <intent-filter>
        <action android:name="clover.intent.action.CUSTOMER_TENDER" />
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
</activity>
More info can be found here (skip the Merchant-Facing Setup):
https://docs.clover.com/build/custom-tenders/#cust...

Hope that helps,

Raymond
2 comments Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

This only provides a customer tender though. We need a merchant tender only in the secure pay app.

0 Likes 0 · ·

Can you give more detail on what you are trying to accomplish?

The SecurePay app can be used by both Merchants and Customers, so Merchant only custom tenders should reside in the Register app, which is not customer facing.

0 Likes 0 · ·

Welcome to the
Clover Developer Community