Shareasale Merchant account Help!

Discussion in 'Affiliate Programs' started by dannbkk, Apr 29, 2009.

  1. #1
    We are running Paypal website standard and we have an option for members to upgrade to gold membership package from our site. when they upgrade they recieve more benefits.

    The promotion pages we have set up are :
    www.website.com/affiliate (outlines the benefits of being an affiliate)

    and

    www.website.com/gold-membership (outlines the benefits of being a paid member)

    If you are a free user in our site and you then click www.website.com/upgrade-account you will be taken to our upgrade via paypal link, and upon checkout get directed back to home page of website.com

    Thats all we have.

    In Shareasale - Step 4 for with paypal.this is what they have said to do to add the following:

    PHP:
    echo ("<img src=\"https://shareasale.com/sale.cfm?amount=$amount&tracking=$tx_token&transtype=SALE&merchantID=XXXX\" width=\"1\" height=\"1\">");Where you replace XXXX with your ShareASale merchant ID number.

    Please note there is currently a bug in the PayPal sample code for PHP. If you are running PHP, you will need to change the line that reads:

    $amount = $keyarray['payment_gross'];

    to this:

    $amount = $keyarray['mc_gross'];

    Where do we add this code? to which page? and techcnically im a bit unsure of what is involved here?
     
    dannbkk, Apr 29, 2009 IP
  2. dannbkk

    dannbkk Well-Known Member

    Messages:
    1,403
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    120
    #2
    any help would be much appreciated
     
    dannbkk, Apr 29, 2009 IP