question

saad-bin-iqbal avatar image
saad-bin-iqbal asked Jeffrey Blattman answered

Can a Merchant(A app) have more than one Custom Tender?

I have already a Custom Tender namely "Coupon". Now I'm trying to create another Tender (namely Fuel Payment) using the same code mTenderConnector.checkAndCreateTender(tenderName, getPackageName(), true, false);
It does not create new tender and says "status code: 500 Label key and package name must match"

If it is possible to create more than one Custom Tender, so please provide some code snippet to work.
Clover Android SDK
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

Jeffrey Blattman avatar image
Jeffrey Blattman answered
No that's not possible. The error you are seeing means exactly what it says. The label key of the tender must match your package name. Since your app can only have one package name, that also prevents it from having >1 tender.

The workaround is to create a new app. I realize that's a lot of overhead, but those are the contraints of our system now.
10 |2000

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