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

We've bought a Shopware Extension which is a hybrid App, which we can now offer in the Google Play Store and the IOS App Store. I'am still impressed how fast and how sharp the support team leads us through every process of the App-Store clarification. Very fast and useful response.

Markus Walter

Markus Walter

Founder, Das Apartment Living

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