Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2005
    Posts
    25
    Plugin Contributions
    0

    Where do I find the actual Paypal Buttons?

    I need to add some coding to the paypal button for our affiliates program and I can't find it anywhere.

    This is what I need to add:

    <INPUT TYPE="hidden" NAME="custom" VALUE="<?php echo $_SERVER[REMOTE_ADDR]; ?>">
    <INPUT TYPE="hidden" NAME="notify_url" VALUE="http://www.theeclecticgourmet.net/NixieAffiliate/nixie/affiliate.php">


    I hope you can help,
    thanks
    amy Bryant

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Where do I find the actual Paypal Buttons?

    The PayPal button? Zen Cart doesn't use PayPal buttons to checkout. More details of what you are wanting to do?

  3. #3
    Join Date
    Jun 2005
    Posts
    25
    Plugin Contributions
    0

    Default Re: Where do I find the actual Paypal Buttons?

    This code needs to be placed within my Paypal button form code . This is for an affiliate program.


    <INPUT TYPE="hidden" NAME="custom" VALUE="<?php echo $_SERVER[REMOTE_ADDR]; ?>">
    <INPUT TYPE="hidden" NAME="notify_url" VALUE="http://www.theeclecticgourmet.net/NixieAffiliate/nixie/affiliate.php">


    Possibly in the module

    Amy B

  4. #4
    Join Date
    Jun 2005
    Posts
    25
    Plugin Contributions
    0

    Default Re: Where do I find the actual Paypal Buttons?

    Should I be using this since there are no actual paypal buttons?

    Integration With Other IPN Scripts

    (1) Open NixieAffiliate/nixie/affiliate.php and FIND near line 5 :
    include '../nixie-agent/ipn.php';
    include '../nixie-agent/sqlinf.php';
    Replace with :
    include "/home/krisinva/public_html/NixieAffiliate/nixie-agent/ipn.php";
    include "/home/krisinva/public_html/NixieAffiliate/nixie-agent/sqlinf.php";


    (2) Open your other (not NixieAffiliate) IPN script in a plain text editor such as notepad and add the following line to the bottom line just before the PHP closing tag : ?>
    include "/home/krisinva/public_html/NixieAffiliate/nixie/affiliate.php";


    (3) Edit the notify_url field in your Paypal button form code. You must add the following line to the end of your notify URL.
    ?custom=<?php echo "$_SERVER[REMOTE_ADDR]"; ?>
    An example complete notify_url field would appear like this :
    <INPUT TYPE="hidden" NAME="notify_url" VALUE="http://www.yourdomain.com/ipnscript.php?custom=<?php echo $_SERVER[REMOTE_ADDR]; ?>">

    NOTE : If your IPN script already passes a variable in its IPN URL, then use & instead of ?.

  5. #5
    Join Date
    Mar 2005
    Posts
    16
    Plugin Contributions
    0

    Default Re: Where do I find the actual Paypal Buttons?

    Hello Amy,

    I think what you're looking for is located in your paypal setting over at paypal.com and not within ZenCart itself.

    Log in to your paypal account and go to Profile.

    From there, go to Instant Payment Notification Preferences where you can edit your IPN notify url.

    Mine ends in "ipn_main_handler.php"

    I guess I would whack "?custom=<?php echo "$_SERVER[REMOTE_ADDR]"; ?> " after it making "ipn_main_handler.php?custom=<?php echo "$_SERVER[REMOTE_ADDR]"; ?> " (but without the " " )

    I would assume that you've gotta change SERVER[REMOTE_ADDR] to whatever your server and remote address is, but I'm just guessing.

    Good luck,

    Josef.

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Where do I find the actual Paypal Buttons?

    if you change the IPN address then your zen cart wont get the order,
    try asking them about a script to use on the checkout success page
    Zen cart PCI compliant Hosting

 

 

Similar Threads

  1. Where do I find the "PDT Token" on my PayPal account?
    By CookieMonster in forum General Questions
    Replies: 4
    Last Post: 27 Apr 2013, 04:56 AM
  2. PayPal Account? (Where to find IPN...)
    By MegamanX in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Mar 2010, 11:46 AM
  3. can't find the actual Wish List Module
    By jh79 in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 19 Aug 2007, 08:32 PM
  4. css buttons width - can't find where to adjust
    By cupcake in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 May 2007, 12:21 PM
  5. where is located the buttons folder where the buttons images is stored
    By maci in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Jul 2006, 07:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR