paypal / here-sideloader-api-samples

Sideloader API samples that enable to integrate PayPal Here into other apps
Other
24 stars 32 forks source link

Invoice line item discount #19

Open Mek0n opened 9 years ago

Mek0n commented 9 years ago

While overall discount works great, we have a situation in our android app that necessitates that certain invoice line items receive a percentage or amount discount.

Is this feature likely to be introduced?

Many thanks

jaredegan commented 9 years ago

@Mek0n I'll take your request to our product owner. The math on the PayPal invoice wouldn't match your order details or backend, but currently, you could edit the invoice you send to the sideloader "just in time" and make the math equal with the one discount field.

Mek0n commented 9 years ago

@jaredegan Thanks for the reply, the problem I see with your suggestion is the penny rounding situation where VAT is calculated line by line and half penny round up is used according to HMRC. We may get a few discrepancies here and there which I don't believe our end users should have to explain to their customers.

For the mean time we will give the ability to add a descriptive line that indicates that a line discount is applied manually.

Many thanks