question

Vishal avatar image
Vishal asked Miguel Deactivated commented

How to process 2 consecutive payment from POS to Clover?

Hi

In POS, some case the total amount may be splited into 2 payment like card 1 some amount and card 2 balance amount, in this case i have to process 2 payment in single click from our sample SDK application to Clover. How can i do that?

For example the total amount is $10, customer like to pay the amount using 2 cards like 7$ and 3$. i have to pass these 2 values in single click

payment()

{

     Card1payment(string amount1);
     Card2payment(string amount2);

}

I have 2 methods

Card1payment(string amount1)

{

     Auth(null, Convert.ToInt64(amount1));

}

Card2payment(string amount2)

{

   Auth(null, Convert.ToInt64(amount2));

}

If i pass the value in above methods it will work for card1payment only.Please help me to fix the issue.

I hope you understand my problem.

Thanks Guna

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.

Vishal avatar image Vishal commented ·

Yes. you correct. I need to finish first payment after that only second payment. Please help me..

0 Likes 0 ·
Vishal avatar image Vishal commented ·

Thanks for your information. I will check and update you.

0 Likes 0 ·
Vishal avatar image Vishal commented ·

Hi Miguel

Its working fine for 2 consecutive payments based on sale response. Many thanks.

0 Likes 0 ·

0 Answers

Welcome to the
Clover Developer Community