Integration with FusionQuest

Discussion in 'Integration' started by biokinet, Nov 13, 2008.

  1. biokinet

    biokinet New Member

    Joined:
    Oct 30, 2008
    Messages:
    5
    Hello,

    I am using the FusionQuest Affiliate Management System - www.fusionquest.com and I need to integrate their code with paypal and amember.

    According to FusionQuest the following is required to integrate with your forms (amember). Could someone tell me which pages in amember have the paypal web accept code in them.

    Also I wanted to ask if someone can let me know which pages exactly in amember do I need to modify or is there an easier way of integrating fusionquest with amember?

    Quote from FusionQuest Website:

    Along with activating PayPal IPN, you will need to add the following code in the HEAD area of each page of your website that has PayPal Web Accept code on it:

    <script language="JavaScript" src="http://www.fusionquest.com/cgi-bin/main/printafltjs.js?user=biokinet"></script>

    <script language="JavaScript">
    function setfq(form){
    form.custom.value="biokinet_fq_"+aflt+"_fq_~~"+form.custom.value+"_fqend_"
    return true
    }
    </script>

    Next, you will need to modify all PayPal Web Accept codes on your website. Each Buy Now button, Add To Cart and Subscription payment form code will need to be modified as follows.

    Insert the following line into the form code for each button:

    <input type="hidden" name="custom">

    Note: These instructions instruct you to insert the custom field in the form code. HOWEVER, that field may already be present and may already be in use. If the field is already present, do not insert this line. If it is already in use, the FusionQuest system will forward the value on to your script automatically.

    Finally, you will need to modify the <FORM> tag for each button. The following code must be entered into each <FORM> tag:

    onsubmit="return setfq(this)"

    The resulting <FORM> tag will look like this for each button:
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="return setfq(this)">

Share This Page