question

andru avatar image
andru asked andru edited

Android clover secure payment order id issue

I'm using clover secure pay in my android application like the code given below. But it shows an error "Transaction failed: Invalid order ID. Print receipt?", while payment. Is it not possible to pass a random number(unique) as order id for the payment? I need such a number for future reference. Please help me;

Intent intent = new Intent(Intents.ACTION_SECURE_PAY);
intent.putExtra(Intents.EXTRA_AMOUNT, amount);
intent.putExtra(Intents.EXTRA_ORDER_ID, orderId);
startActivityForResult(intent, SECURE_PAY_REQUEST_CODE);
OrdersClover Flex
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

andru avatar image
andru answered
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