ACTION_SECURE_PAY
to take payments.
Currently testing in SANDBOX environment and use "Fist Data - Test Card 01" for testing.
Also my Test Merchant have pointed to CERT gateway.
First I create an Order using Clover OrderConnector (in Android) and passing that OrderID (Intents.EXTRA_ORDER_ID) when start Secure_Pay intent...
Following is a sample code of how I start Secure_Pay Intent for the Payment
TransactionSettings transactionSettings = new TransactionSettings(); transactionSettings.setCardEntryMethods(Intents.CARD_ENTRY_METHOD_ICC_CONTACT | Intents.CARD_ENTRY_METHOD_MAG_STRIPE | Intents.CARD_ENTRY_METHOD_NFC_CONTACTLESS); // To stop asking Customer Signature transactionSettings.setSignatureEntryLocation(DataEntryLocation.NONE); transactionSettings.setSignatureThreshold(new Long(1000000)); transactionSettings.setDisableRestartTransactionOnFailure(true); transactionSettings.setDisableDuplicateCheck(true); // Create Intent to Start Secure Pay App. Intent intent = new Intent(Intents.ACTION_SECURE_PAY); intent.putExtra(Intents.EXTRA_AMOUNT, new Long(totalAmount)); intent.putExtra(Intents.EXTRA_ORDER_ID, strCloverOrderID); intent.putExtra(Intents.EXTRA_TRANSACTION_SETTINGS, transactionSettings); // Start 'CLOVER Secure Pay' App. startActivityForResult(intent, SECURE_PAY_REQUEST_CODE);
After executing a successful TEST payment using the FirstData Test Card, I just then opened the ' Transactions' APP (default installed Application with CloverMINI) and checked more information about the Payment.
There I can see following things
- Payment NOT CLOSED
- Transaction Type: PREAUTH
- Transaction State: PENDING
Question 1).
Seeing above information I just get the feeling that the Payment has gone through successfully (as got the AuthCode) but still got to do something else to finish the settlement?
If so please can you guide me on how to finish this fully because I do NOT want to STOP the payment in any way, after executed successfully in Secure_Pay App (Intent).
Question 2).
When I print a receipt for the same transaction using 'Transactions' APP, there I see it says " NO CARDHOLDER VERIFICATION". Hope this is because I've asked the Secure_Pay APP to ignore user signature for the payment. Is that why?
So can the Payment NOT settle for any reason after finish it successfully with an AuthCode for NOT asking customer signature in payment process?
More info... I am allowing following payment options in Secure_Pay APP.
a). ChipAndPIN (CARD_ENTRY_METHOD_ICC_CONTACT)
b). SWIPE (CARD_ENTRY_METHOD_MAG_STRIPE)
c). Contactless (CARD_ENTRY_METHOD_NFC_CONTACTLESS)
Question 3).
I see there is an option to Refund the Payment in 'Transactions' APP.
Can I stop this (passing extra parameter when creating the Order or when start Payment with Secure_Pay)?
I just want to STOP refunding after taken payment, specially outside of my Application.
I just don't even see the option that I can unInstall this 'Transaction' APP in test device, thinking of refunding outside of my APP.
Thanks