How to add discount price in paypal standard payment in android

Updated 22 December 2016

Save

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,

 

 

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home