question

Evgeny Valavin avatar image
Evgeny Valavin asked Evgeny Valavin commented

Sale response is unsuccessful (User canceled)

Hi,

I'm trying to run a simple transaction via PaymentConnector on the Android Emulator as described here: https://docs.clover.com/clover-platform/docs/take-a-payment-with-payment-connector

My code is the exact same, but i get the unsuccessful response:

{SaleResponse{json='{"success":false,"result":"CANCEL","reason":"User canceled","isSale":false,"isAuth":false,"isPreAuth":false}', bundle=null, changeLog=Bundle[{success=null, isAuth=null, isSale=null, reason=null, result=null, isPreAuth=null}]}}

There are no any Clover windows appear when the saleRequest sent. So, please give me a hand to resolve the issue.

semi-integrationsPaymentConnectorSale
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

David Marginian avatar image
David Marginian answered Evgeny Valavin commented

You must purchase a devkit if you would like to test payments. Payments are performed via the Secure Payments application which cannot run on an emulator. https://docs.clover.com/clover-platform/docs/setting-up-an-android-emulator

We recommend using a Clover Developer Kit (or DevKit) to fully test your user experience. With DevKits, you have access to hardware-specific functionalities, such as:

NFC and Bluetooth Low Energy (BLE)
Secure payments
Printing
Scanning

1 comment
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.

Thanks for your help

0 Likes 0 ·

Welcome to the
Clover Developer Community