Check Mobile App
Read now

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

Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!

Deniel Kerr

Owner and Founder. Opencart

Talk to Sales
Start a Project

    Message Sent!

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

    Back to Home