question

jasonbanks avatar image
jasonbanks asked jasonbanks commented

Android SDK Cash Payment Option

Is there a way to process a CASH payment within an Android app? The reason to do this, is that we want to be able to provide a receipt to the customer for the cash payment. This would have to be server/cashier facing to perform the transaction, I cannot find anything in the SDK that allows this.

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 jasonbanks commented

The the only way to do this is through the Payments (not Register) app. The "pay with register" example actually starts our Payments app and has nothing to do w/ our Register app.

Further, the example should be starting the Payments app (ACTION_CLOVER_PAY) via start for result, and examining the result to understand if it was successful. While it's theoretically possible to listen for ACTION_PAYMENT_PROCESSED, that's really for other apps to trigger off of complete payments. If your app is the one starting the payment, just start for result and examine the result in onActivityResult().

1 comment
10 |2000

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

jasonbanks avatar image jasonbanks commented ·

Ah okay, thank you Jeffrey, I will take a look at that.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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