Check Mobile App
Read now
Start a Project

How to add discount price in paypal standard payment in android

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,

 

 

. . .

Leave a Comment

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


Be the first to comment.

css.php

Great Product, Great Team, and Great Support Service. And if you want to add more features to the product, they can submit any idea that comes to your mind. They really care about their clients and we are really happy and honored to deal with Webkul.

Osama
Talk to Sales

Global

Live Chat
Start a Project

    Message Sent!

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

    Back to Home