Results 1 to 12 of 12

Thread: Paypal Discount Code
      
   

  1. #1
    MrMarkess is offline Private
    Join Date
    Apr 2008
    Posts
    2

    Question Paypal Discount Code

    I have a question I'm doing some promotional flyer's for my CD project and i would like to put a discount code on the flyer for people to receive $2 off my $8 CD thus making it $6 for the people who get the code from the flyer and use paypal...

    Is there a way of doing that (USING A PAYPAL BUTTON) so as they fill out the form it gives them and options to put in my specified code and get the $2 off and them continue on using paypal???

    I tried the calculation script thing it would have been great but I could not get it to work when I edited it down to just one item...

    Thank you in advance,
    MrMarkess

  2. #2
    Deriksen is offline Corporal
    Join Date
    May 2008
    Posts
    12

    Default Re: Paypal Discount Code

    I have the same question/issue!! I have noticed that you have not recieved a reply and neither have I... hmmm does this mean there is no way to do a discount on BV pages with PayPayl???????
    Very Frustrating!!!

  3. #3
    judavvforum is offline Major
    Join Date
    Nov 2007
    Location
    Arizona
    Posts
    389

    Default Re: Paypal Discount Code

    I have searched all over PayPal as far as the FREE account goes, (Premier) and I can find no way to do discount. You probably can set up a discount situation in the "Paid account" (Pro).

  4. #4
    Deriksen is offline Corporal
    Join Date
    May 2008
    Posts
    12

    Default Re: Paypal Discount Code

    judavvforum - thank for this insight, I appreciate it...
    I am assuming 'pro' costs something extra, hmmmm
    I will keep looking

    Thank you again and if anyone else out there has ANY information it would be greatly appreciated!!

  5. #5
    karenwms63's Avatar
    karenwms63 is offline Colonel
    Join Date
    Feb 2008
    Location
    Poplar Bluff, MO
    Posts
    865

    Default Re: Paypal Discount Code

    It is all in the mechanics. Make yourself a paypal button that reflects the discounted price as if it were a new product. Make your page that links only FROM the flyer (not your website navigation) and include the form. On the form confirmation page, include this dedicated paypal button.

    NOTICE: I can't confirm that this will solve the problem, but you were asking for suggestions. :)
    Last edited by karenwms63; 06-02-2008 at 07:16 AM. Reason: added more info
    Karen Williams
    Your Belief is Your Reality

  6. #6
    CarbonTerry's Avatar
    CarbonTerry is offline Major General
    Join Date
    Oct 2005
    Location
    St L MO
    Posts
    2,605

    Default Re: Paypal Discount Code

    K.,
    You should set up a "Premier PayPal Acct" As far as I can remember there are no extra charges and by going thru the PayPal site to make your buttons there are many additional options for the buttons. The PP buttons in BV are great but they are for "simple" purchases.
    I would try judavvforums advice also.
    CarbonTerry
    Semper Fi
    Still green...still mean......just not as lean

    Red Hawk Archery
    Zone 5 Photo
    My USMC

  7. #7
    karenwms63's Avatar
    karenwms63 is offline Colonel
    Join Date
    Feb 2008
    Location
    Poplar Bluff, MO
    Posts
    865

    Default Re: Paypal Discount Code

    Ooops, yep, getting tired...misunderstood...thought they wanted customers to opt-in to mailing list and get discount for it. Thanks, CarbonTerry, for keeping me straight. :)
    Karen Williams
    Your Belief is Your Reality

  8. #8
    judavvforum is offline Major
    Join Date
    Nov 2007
    Location
    Arizona
    Posts
    389

    Default Re: Paypal Discount Code

    Terry
    I made my PayPal buttons at PaPal and have looked for the discount option. I don't think it exists. (I also have the Premier account AND there is no extra charge. You just have to let them "verify" your emails and bank account, But that's no big deal!)

    Actuall, it sounds like Karen's idea will work for Mr. Markess. It sounds like he is wanting to do a test market. It's kind of like having a password protected page that you get the password from the flyer.

  9. #9
    Dream Lady's Avatar
    Dream Lady is offline Major General
    Join Date
    Feb 2006
    Location
    Colorado, USA
    Posts
    2,037

    Default Re: Paypal Discount Code

    Paypal has a good discussion forum for questions. I accessed it and did a search for discount codes. Here is a link on how to do it according to paypal: http://www.pdncommunity.com/pdn/boar...id=59318#M3061

    Hope this helps.
    Cindy Smentowski

  10. #10
    judavvforum is offline Major
    Join Date
    Nov 2007
    Location
    Arizona
    Posts
    389

    Default Re: Paypal Discount Code

    Thanks, Cindy
    I'll remember that forum for future questions!

  11. #11
    npbenigni is offline Private
    Join Date
    May 2009
    Posts
    1

    Default Re: Paypal Discount Code

    You will need to add this code between
    <html>
    <head>

    Place code here

    </body>
    </html>
    </body>
    </html>:

    The code is...

    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>My Golf Stat Calculator</title>
    <meta name="Microsoft Theme" content="evrgreen 1011, default">
    </head>
    <body>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>

    <head>
    <title></title>
    <script type="text/javascript">
    <!--
    var discnt = 0; // no default percent discount
    var coupons = new Array ( // place to put coupon codes
    "coup1", // 1st coupon value - comma seperated
    "coup2", // 2nd coupon value - add all you want
    "coup3" // 3rd coupon value
    );
    var coupdc = new Array ( // place to put discounts for coupon vals
    33.45,
    33.35,
    33.35
    );
    var coupval = "(blanket)"; // what user entered as coupon code
    function ChkCoup () { // check user coupon entry
    var i;
    discnt = 0; // assume the worst
    for (i=0; i<coupons.length; i++) {
    if (coupval == coupons[i]) {
    discnt = coupdc[i]; // remember the discount amt
    alert ("Valid coupon number! \n\n" + discnt +
    "% discount now in effect.");
    return;
    }
    }
    alert ("'" + coupval + "' is not a valid code!");
    }
    function Dollar (val) { // force to valid dollar amount
    var str,pos,rnd=0;
    if (val < .995) rnd = 1; // for old Netscape browsers
    str = escape (val*1.0 + 0.005001 + rnd); // float, round, escape
    pos = str.indexOf (".");
    if (pos > 0) str = str.substring (rnd, pos + 3);
    return str;
    }
    function ReadForm (obj1) { // apply the discount
    var amt,des;
    amt = obj1.baseamt.value*1.0; // base amount
    des = obj1.basedes.value; // base description
    if (discnt > 0) { // only if discount is active
    amt = Dollar (amt - (amt * discnt/100.0));
    des = des + ", " + discnt + "% dis, COUP = " + coupval;
    }
    obj1.amount.value = Dollar (amt);
    obj1.item_name.value = des;
    }
    //-->
    </script>
    </head>
    <body>
    <form>
    <input type = "text"
    size = "10"
    name = "coupcode"; />
    &nbsp;&nbsp;&nbsp;&nbsp;
    <input type="button" value="Activate Coupon"
    onclick="coupval = this.form.coupcode.value;
    ChkCoup();" />
    </form>

    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = 'paypal'; return ReadForm (this);">
    <input type="image" src="images/btn_cart_**.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
    <img alt="" border="0" src="images/pixel.gif" width="1" height="1">
    <input type="hidden" name="add" value="1">
    <input type="hidden" name="cmd" value="_cart">
    <input type="hidden" name="business" value="yourname@yoursite">
    <input type="hidden" name="item_name" value="Your Business Name">
    <input type="hidden" name="item_number" value="Product number">
    <input type="hidden" name="amount" value="14.95">
    <input type="hidden" name="no_shipping" value="2">
    <input type="hidden" name="return" value="http://www.yourreturnsite.com">
    <input type="hidden" name="cancel_return" value="http://www.yourcancelsite.com">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="lc" value="US">
    <input type="hidden" name="bn" value="PP-ShopCartBF">
    <input type="hidden" name="baseamt" value="14.95" />
    <input type="hidden" name="basedes" value="Your product name@14.95" />
    </form>

    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_cart">
    <input type="hidden" name="business" value="youremail@youremail.com">
    <input type="image" src="images/view_cart_02.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
    <input type="hidden" name="display" value="1">
    <input type="hidden" name="page_style" value="Primary">
    </form>


    This is not my code, as I pulled this off of the internet. You will need to edit it to for your personal use. Tip 1. Do not add lines to the code or the amount. Simply add to the existing line. Remember the discounts are in % format so simple math skills will help. For example:

    "coup1", "Coup4", These are the names of your coupons. You will need to
    "coup2", change the names.
    "coup3"

    33.45, 50, You will need to add a corresponding discount.
    33.45,
    33.45

  12. #12
    djcottrell is offline Private
    Join Date
    Aug 2009
    Posts
    1

    Default Re: Paypal Discount Code

    That is a great script but it is not very secure. I use a package from www.demonwares.com that allows me to edit the codes in an admin center with all kinds of options.

    The package is at www.demonwares.com/store/promodemon.php

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49