Hi,
I am able to apply a discount on an order but when we make payment its takes full payment of the order, not the remaining amount.
Also when we are adding the remaining amount in pay API then able to pay the pending amount but the order status shows partially_paid.
Please refer to this screenshot:- https://prnt.sc/245regu
ex.
If a Line item's price is $15 and applied a discount coupon of $5 then the user should pay only $10.
But order-pay API charges the user $15.
Thanks