question

Omar Reyes avatar image
Omar Reyes asked racheladmin Deactivated edited

How to add payment to a partially paid order?

I'm working with this semi-integration browser sdk https://github.com/clover/remote-pay-...

How do we add a second payment to a partially paid order so a customer can pay the remaining amount? Or do we have to create a new order for the remaining amount?

Remote Pay Cloud
3 comments
10 |2000

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

Omar Reyes avatar image Omar Reyes commented ·

Thanks for the quick reply. I know how I would add a new payment through the clover "Orders" app but I can't find the way to add a second payment through the browser sdk. Do you have any examples on how to do this so I can reference?

0 Likes 0 ·
sam avatar image sam commented ·

@omarreyes

These should give you some solid examples for Browser SDK: https://github.com/clover/clover-clou...

This is another example but I think you'll find the first one to be more help. https://github.com/clover/clover-clou...

0 Likes 0 ·
Omar Reyes avatar image Omar Reyes commented ·

I looked through these examples, specifically the testSale example here https://github.com/clover/clover-clou... but it doesn't explain how to add a second payment after the first partial payment for the same order.

Sophia mentioned that we should complete the sale and issue a second sale for the remaining amount but this results in another order being created (new order id). https://devask.clover.com/question/49... I don't know if or how to pass the order id as part of the sale request to add payment

0 Likes 0 ·

1 Answer

sam avatar image
sam Deactivated answered sam Deactivated commented

The semi integrated solutions do not currently address payments on existing Clover orders. It is strictly a payment oriented interface.

3 comments
10 |2000

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

Omar Reyes avatar image Omar Reyes commented ·

I see. Should we handle partial payments by creating a second order for the remaining amount that wasn't paid in the first order? Where the first order will remain as "partially paid"?

0 Likes 0 ·
sam avatar image sam commented ·

Yes, you will be creating a second payment/order. But in a semi-integrated setup, your order record should be handled by your main POS device and the Mini is strictly used as a payment interface. The Mini should not be handling any kind of record keeping other than sending over payment information to your main POS device.

0 Likes 0 ·
Omar Reyes avatar image Omar Reyes commented ·

Thank you Sam.

0 Likes 0 ·

Welcome to the
Clover Developer Community