Applying Discount to a PayPal Buy Button in WordPress

Buy Now Discount is an extension of the WordPress PayPal plugin that allows you to add automatic discount functionality to a PayPal Buy Now button. When this is installed, you can apply a flat discount amount, multiple discount amounts, discount percentage and buy one, get one free discount.

Buy Now Button with a Flat Discount Amount

In order to provide a flat discount on the PayPal Buy Button simply specify the “discount_amount” parameter in the shortcode.

[wp_paypal button="buynow" name="My product" amount="4.99" discount_amount="1.00"]

Buy Now Button with a Multiple Discount Amounts

In order to apply a certain discount on the first item and a different one on the next items add “discount_amount” and “discount_amount2” parameters. In that case you might also want to allow users to specify the number of items they want to order (Since a Buy button only allows one item by default). You can do it easily by using the “undefined_quantity” parameter.

[wp_paypal button="buynow" name="My product" amount="4.99" discount_amount="1.00" discount_amount2="2.00" undefined_quantity="1"]

When you specify “undefined_quantity” in the shortcode it will prompt buyers to enter their desired quantities on the PayPal payment page.

screenshot showing how to apply a discount on a paypal buy now button in wordpress

Apply Discount Amounts on a Certain Number of Items

If you want to provide a $1.00 discount on the first item ordered and a $2.00 discount on the next 3 items, add the “discount_num” parameter.

[wp_paypal button="buynow" name="My product" amount="4.99" discount_amount="1.00" discount_amount2="2.00" discount_num="3" undefined_quantity="1"]

Buy Now Button with Discount Percentages

In order to provide a 20% discount on the first item ordered and a 30% discount on the next 2 items, use the “discount_rate” parameter instead.

[wp_paypal button="buynow" name="My product" amount="4.99" discount_rate="20" discount_rate2="30" discount_num="2" undefined_quantity="1"]

Buy Now Button with a Buy One, Get One Free Discount

You can set a 100% discount on the second item ordered, so the buyer can get one for free.

[wp_paypal button="buynow" name="My product" amount="4.99" discount_rate="0" discount_rate2="100" discount_num="1" undefined_quantity="1"]

In order to receive this discount the buyer will need to buy at least one item.

WP PayPal Buy Now Discount
WP PayPal Buy Now Discount
Set up automatic discounts for your WP PayPal Buy Now buttons
Price: $49.99
Price: $29.99

Disclosure: This page may contain affiliate links. If you follow one of those affiliate links and purchase something it will provide me with a little bit of a commission. This costs you nothing extra but helps maintain my site, free plugins, and themes. So I thank you for your support.

15 thoughts on “Applying Discount to a PayPal Buy Button in WordPress”

  1. How do you do a discount code?

    Reply
    • @Jim, These are just automatic discount options. There is no discount code feature unfortunately.

      Reply
      • Your description on the WordPress Plugin site is a bit misleading. It specifically says “Coupon/discount functionality”

        I’m glad I checked the documentation before downloading, since I specifically need coupon code functionality. Would love to see that update applied in the near future.

        Reply
  2. Is there any way of assigning a price to each of three variations, for example the cost of item inc postage to three postal zones? I can do three buttons – one each for the three zones, and use custom buttons to make it more obvious – but I’m looking for a more elegant solution. Have previously used the PayPal button, but that doesn’t seem to work on mobiles.

    Reply
  3. Does it work with Add to Cart button?

    Reply
    • @T, This feature only works with a buy button.

      Reply
  4. I have installed the WP Papal plugin. I appears to do exactly what I want. I cannot locate the Custom Amount extension. Where may I find it?

    Reply
    • @Norman, It’s on this page.

      Reply
      • I’m sorry but like Norman, i cannot locate the Custom Amount Extension

        Reply
        • It is there – I finally figured it out. You need to buy the extension on this page, There is a box around the extension with the title: WP PayPal Buy Now Custom Amount. Click on the Buy Now button.

          Reply
  5. I am trying to create a custom buy now amount button, but it looks like I need the extension “wppaypal-buy-now-custom-amount”. Where is that extension to your “WP PayPal” plugin?
    Thanks,
    Ruben

    Reply
  6. OK, so I downloaded the extension, install and activated.
    Still when I use the shortcode [wp_paypal button="buynow" name="My product" amount=""] I am getting “Amount cannot be empty”.
    Also, in your video describing the process, it appears that under the menu in WP dashboard “WP PayPal” there is also an entry “Buy Now Amount”. I don’t see it in my dashboard.
    Please help,
    Thanks,
    Ruben

    Reply
    • @Ruben, What extension did you download?

      Reply
    • @Ruben, It seems you have purchased the extension. Please use the contact form on the site so we can investigate this issue.

      Reply

Leave a Comment