Start a Project

How to add discount price in paypal standard payment in android

In this blog,

I have shown where to add the discount price in PayPal standard payment android SDK.

There is a method called getStuffToBuy to add the item calculating the total amount to pay with PayPal.

And the product items are added like this,

And if you want to simply add the discount then simply add the discount also like item with the negative price(that will be the discounted price).

So the final code,

 

 

Exit mobile version