question

clover-dev-1 avatar image
clover-dev-1 asked ·

Clover Pay/ Manual Pay Multiple Payments

I was trying to use the Clover Pay intent for paying off an order with items. However, with the Clover Pay intent, you cannot send in an amount and you can only pay for the entire order at that time. I want to be able to split up the order for different payments, so I tried to use the Manual Pay intent. But, the Manual pay intent creates a new order every time and I am unable to link this new order with the original order of items. What is happening now is original order with items is never paid off, because no payments are associated with that order.
Is it possible to link this new order with the order with items, or associate the payment made on the new order with the order with items?

OrdersPayments
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

zgreathouse avatar image
zgreathouse answered ·
We discourage the use of intents for payment flows within your app, as we would not be able to guarantee the stability of your app across different Clover Device form factors. Please utilize our PaymentConnector SDK instead. When making a sale you can set an order reference so that the payment is tied to the order you specify.

Here is an example of the PaymentConnector SDK being implemented:
https://github.com/clover/android-examples/tree/master/native-android-example-pos

Here are some additional docs:
https://docs.clover.com/clover-platform/docs/take-a-payment-with-payment-connector

2 comments Share
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 the response. I am already using the PaymentConnector for credit payments, however, I tried setting the SaleRequest TransactionType as Payment (there isn't anything specifically for cash), and I am always getting the credit payment screen. Is it not possible to set up a cash payment screen with PaymentConnector?

0 Likes 0 · ·

Accepting cash does not require any processing on Clover's end. You would create your own cash acceptance activity with varying options.

Are you asking perhaps on how to create a payment record on an order where you can set the tender to cash? This cannot be accomplished with the PaymentConnector SDK, but it can be accomplished using our REST API. Please review the following post for direction on how to do this:
https://community.clover.com/questions/15588/how-to-close-an-order-if-i-take-cash-payment-or-ta.html

0 Likes 0 · ·

Welcome to the
Clover Developer Community