question

Bryanne Vega avatar image
Bryanne Vega asked Bryanne Vega answered

Register Pay Activity Pre-Filled Amount

My app requires that a minimum amount is pay for an order before proceeding.

How may I start the Register app in the Payment activity with a pre-filled partial payment?

Example: Order total is $100.00 but I can't proceed my logic until the order has been partially paid up to 10% ($10.00).

How do I say: Register, here's order id 123, pre-fill the split custom amount to "X.00$" & get the payment from the customer. When finished, let me know (using startActivityForResult).

#2. (If A doesn't work) can I start a manual sale & then assign that payment to an order? How will it be applied if so? Thanks!
OrdersPayments
10 |2000

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

Terry Davis avatar image
Terry Davis answered
nice thanks
10 |2000

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

Danielle Cox avatar image
Danielle Cox answered Bryanne Vega commented
http://clover.github.io/clover-android-sdk/com/clover/sdk/v1/Intents.html#ACTION_SECURE_PAY should work
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.

Bryanne Vega avatar image Bryanne Vega commented ·

Works, but doesn't allow for cash?

0 Likes 0 ·
chanel avatar image
chanel Deactivated answered Bryanne Vega commented
Perhaps http://clover.github.io/clover-android-sdk/com/clover/sdk/v1/Intents.html#ACTION_MERCHANT_TENDER or http://clover.github.io/clover-android-sdk/com/clover/sdk/v1/Intents.html#ACTION_CUSTOMER_TENDER is what you're looking for.
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.

Bryanne Vega avatar image Bryanne Vega commented ·

The case needs to be where if an order requires a minimum purchase in order to use my tender, the user can be prompted to use any other tender type (cash, card etc) so reach that minimum so my application can continue it's logic.

The above only allows me to credit the order an amount using my own payment method not cash or credit/debit, check or other means.

Thanks for the help tho!

0 Likes 0 ·
Bryanne Vega avatar image
Bryanne Vega 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